Skip to content

Release 0.6.1-dev.1: move to Ack 2.0.0-alpha.1 - #72

Open
kauandotnet wants to merge 1 commit into
mainfrom
stargate/ack-2
Open

kauandotnet wants to merge 1 commit into
mainfrom
stargate/ack-2

Conversation

@kauandotnet

@kauandotnet kauandotnet commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Releases 0.6.1-dev.1 on top of 0.6.0, moving okf to Ack 2.

  • Dependencies: ack ^2.0.0-alpha.1, generated with ack_generator 2.0.0-alpha.1 (which needs analyzer 13). ack_annotations is removed.
  • Annotations: @AckModel() and @AckInfer() become @Schemable() from package:ack/ack.dart.
  • Generated files: each annotated library now has one .g.dart part instead of the .ack.dart / .ack.g.dart pair. build.yaml enables the single ack_generator builder, and tool/ci/check_generated.dart lists the new parts.
  • MCP tools' input schemas: unchanged, except that codec fields (concept IDs) no longer carry "x-transformed": true, which Ack 2 doesn't emit.
  • Prerelease version: a package that depends on a prerelease must itself be one, or dart pub publish fails. So this is 0.6.1-dev.1 (pubspec, version.dart, README action tag, CHANGELOG), and the gate test accepts a prerelease suffix on the version.

Still needed before tagging: .github/workflows/release.yml's tag check (^v[0-9]+\.[0-9]+\.[0-9]+$) must also accept the suffix, for example (-[0-9A-Za-z.]+)?. Otherwise the release job refuses v0.6.1-dev.1. That edit is added separately, because this push could not change workflow files.

Stargate and Wayfinder (btwld/wayfinder#159) need this release.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 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-24T15:06:48.496621Z 943f151 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: 943f151398

ℹ️ 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".

Comment thread lib/src/document.dart

part 'document.ack.dart';
part 'document.ack.g.dart';
part 'document.g.dart';

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 Update the generated-file check for the renamed parts

The CI workflow in .github/workflows/test.yml:47–48 still runs tool/ci/check_generated.dart, whose _generatedPaths lists all six deleted .ack.dart/.ack.g.dart files. Its initial tracking check therefore exits with code 1 before regeneration, so this migration prevents CI from reaching formatting, analysis, or tests. Update that list to the three new .g.dart paths so the check both passes and continues verifying the generated output.

Useful? React with 👍 / 👎.

Comment thread CHANGELOG.md Outdated
@@ -1,3 +1,13 @@
## Unreleased

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 Preserve the versioned heading at the start of the changelog

Adding this heading makes the existing the version is declared once and mirrored everywhere test in test/ci/gate_test.dart fail: it explicitly requires CHANGELOG.md to start with ## ${pubspec['version']}\n, currently ## 0.5.1\n. Keep the first heading consistent with the package version, or update the release convention and its test together rather than introducing an unsupported Unreleased section.

Useful? React with 👍 / 👎.

@kauandotnet kauandotnet changed the title Move to Ack 2.0.0-alpha.1 Release 0.6.1: move to Ack 2.0.0-alpha.1 Oct 24, 2026
Depend on ack ^2.0.0-alpha.1 and generate with ack_generator
2.0.0-alpha.1, which needs analyzer 13. ack_annotations is removed:
@AckModel() and @AckInfer() become @Schemable() from package:ack/ack.dart,
and each annotated library declares one generated .g.dart part instead of
the .ack.dart and .ack.g.dart pair. build.yaml enables the single
ack_generator builder for the same three libraries, and
tool/ci/check_generated.dart lists the new parts.

The MCP tools' input schemas are the same except that codec fields (the
concept IDs) no longer carry "x-transformed": true, which Ack 2 no longer
emits.

A package that depends on a prerelease must be one, or pub publish fails,
so this is 0.6.1-dev.1, and the gate test accepts a prerelease suffix on
the version.
@kauandotnet kauandotnet changed the title Release 0.6.1: move to Ack 2.0.0-alpha.1 Release 0.6.1-dev.1: move to Ack 2.0.0-alpha.1 Oct 24, 2026
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