Skip to content

revert: keep release/2.0 on stable Dart; augmentations continue on release/2.0-augmentations - #227

Merged
leoafarias merged 1 commit into
release/2.0from
leoafarias/revert-augmentations
Oct 21, 2026
Merged

leoafarias merged 1 commit into
release/2.0from
leoafarias/revert-augmentations

Conversation

@leoafarias

Copy link
Copy Markdown
Collaborator

Summary

Reverts #225 (da560a0, "refactor!: migrate Ack 2.0 to Dart 3.14 augmentations") from release/2.0.

release/2.0 stays on stable Dart (SDK floor >=3.11.0, Flutter 3.47.5 in .fvmrc) so stable-Dart consumers can use 2.0.0-alpha.1. #225 moved the floor to a Dart 3.14 beta with experiment flags. The augmentations work is preserved unchanged on release/2.0-augmentations (at da560a0) and continues there until Dart 3.14 is stable.

The resulting tree is identical to 7aef299, the last release/2.0 commit before #225: git diff 7aef299 HEAD --stat is empty.

Validation

Run locally on Dart 3.13.4 stable (Flutter 3.47.5 via fvm):

  • git diff 7aef299 HEAD --stat: empty
  • dart pub get: resolved
  • dart scripts/verify_release_tag.dart v2.0.0-alpha.1 --skip-ancestry: v2.0.0-alpha.1 is releasable.
  • dart scripts/api_check.dart 1.7.0: completed for all five packages (exit 0)
  • dart scripts/publish_dry_run.dart: All 5 packages publish cleanly. (0 warnings each)

The full test suite was not run locally; CI covers it.

https://claude.ai/code/session_012Enp61FP6np18JLtz1ZaqK

This reverts commit da560a0.

release/2.0 stays on stable Dart (SDK floor >=3.11.0) so stable-Dart
consumers can use 2.0.0-alpha.1. The augmentations work continues on
release/2.0-augmentations until Dart 3.14 is stable.

Claude-Session: https://claude.ai/code/session_012Enp61FP6np18JLtz1ZaqK
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T17:25:43.116757Z 62b7c38 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 62b7c38442

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

## Requirements

- Dart SDK: `>=3.14.0-315.1.beta <4.0.0` for `ack` and `ack_generator`
- Dart SDK: `>=3.9.0 <4.0.0` for `ack` and `ack_generator`

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Align the documented Dart SDK floor with the manifests

This restored requirement promises support for Dart 3.9, but both packages/ack/pubspec.yaml and packages/ack_generator/pubspec.yaml now declare >=3.11.0; consequently, a user following this installation guide on Dart 3.9 cannot resolve either package. Update the restored compatibility documentation to the actual 3.11 floor, including the other reverted 3.9/Flutter 3.35 references.

Useful? React with 👍 / 👎.

Comment on lines 182 to +185
@Validate.minLength(2) required final String displayName,
@Validate.email() required final String email,
final String role = 'member',
});
}) with _$ProfileAck {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Make the primary-constructor example runnable on the pinned SDK

On the restored Dart 3.13.4 toolchain, this primary-constructor syntax is still experimental—the repository's own class_model_emitter_test.dart enables primary-constructors specifically for its Dart 3.13 fixture—but the documented generation command is now just dart run build_runner build. Users copying this example therefore fail before generation; use a conventional constructor in the default guide or document and pass the required analyzer/build experiment flags.

Useful? React with 👍 / 👎.

@leoafarias
leoafarias merged commit f481447 into release/2.0 Oct 21, 2026
8 checks passed
@leoafarias
leoafarias deleted the leoafarias/revert-augmentations branch October 21, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant