Repository navigation
chore(deps): upgrade Ack to 1.6.2 - #130
Merged
Merged
Conversation
Upgrade ack, ack_annotations, ack_generator, and ack_json_schema_builder from 1.2.0 in core, demo, and playground, and move the six AckField(presence:) annotations to @required()/@optional(), which 1.6 deprecates them for. Regeneration changes one line: WidgetBlock.copyWith now treats args like its other nullable fields, so an explicit null clears it. No caller relied on the old behavior.
|
Visit the preview URL for this PR (updated for commit 54a086d): https://superdeck-dev--pr130-chore-ack-1-6-z8x3vzor.web.app (expires Fri, 23 Oct 2026 03:54:22 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: bd68fc230762285849207e7e120aaf87cd4ca2f9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Stack 5/8, based on #129. It upgrades the Ack family from 1.2.0 to 1.6.2 (published 2026-09-23):
ack,ack_annotations,ack_generatorandack_json_schema_builder, in core, demo and playground.Changes
^1.6.2. The workspace resolvesanalyzer10.2 /build4 /source_gen4.2, whichmix_generatoralso accepts.@AckField(presence: AckFieldPresence…). The six uses become@Required()(the fourBlockInsetsedges) and@Optional()(SectionBlock.blocks,ContentBlock.content). Regenerating shows byte-identical output for both files.WidgetBlock.copyWithnow treatsargslike its other nullable fields, so an explicitargs: nullclears it where it used to be ignored. The only callers are tests that pass non-null maps.Serialization and schema checks (the 1.6.1 encoding changes)
melos run contracts:check: the canonical JSON Schema is unchanged.superdeck.jsonandsuperdeck_full.jsonare byte-identical.LIVE_FAKE_CHECKPOINT=true), which exercises the schemas the playground sends to Gemini, passes.Impacted packages
superdeck_core,playground,demo.Commands run
melos run build_runner:build --no-select: only theWidgetBlock.copyWithchange above.dart analyze --fatal-infosin all 7 packages: no issues.