feat(dart): let a project choose its vodozemac release - #64
Open
nikzen wants to merge 1 commit into
Open
Conversation
The version was written into the bindings, so every project that adopts the standards is on the release we happened to pin. Nothing about the build needs that: what belongs here is the recipe — one crate compiled twice, the WebAssembly half through a nightly `std` rebuild with flags read off `flutter_rust_bridge` — not the choice of release. So `famedly.standards.dart.vodozemac` now carries the version and the two hashes, defaulting to what was hardcoded. A project that cannot follow a bump yet sets its own instead of dropping out of the standards, and the hook keeps comparing whatever it set against its `pubspec.yaml`, which is the drift that actually breaks an application. Signed-off-by: Niklas Zender <n.zender@famedly.com> Co-authored-by: Cursor <cursoragent@cursor.com>
nikzen
force-pushed
the
feat/vodozemac-version-option
branch
from
August 4, 2026 07:29
b515322 to
53100fa
Compare
yash-garg
approved these changes
Aug 5, 2026
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.
The release was written into the bindings, so every project adopting the standards is on whichever one we pinned — and a hook fails the project whose
pubspec.yamlsays otherwise. Fair objection raised in review: projects will need different versions at some point.Nothing about the build depends on the choice. What belongs here is the recipe: one crate compiled twice, the WebAssembly half through a nightly
stdrebuild with flags read offflutter_rust_bridge, and the module installed wherevod.initlooks. That is what nobody wants three copies of.So
famedly.standards.dart.vodozemacnow carriesversion,hashandcargoHash, defaulting to the values that were hardcoded. A project that cannot follow a bump sets its own rather than dropping out of the standards. The hook still compares the version againstpubspec.yaml— that drift is what breaks an application at call time, and it is now checked per project against the project's own choice.Stacked on #61, where these files live.
Test
famedly-vodozemacbuilds and the web derivation evaluates, both unchanged by defaultdart.vodozemac.versionin a consuming flake reaches the package: it reports the version the project asked forMade with Cursor
The stack
#63 and #59 stand outside the chain and can land in any order. #59 and #56
both touch the vodozemac module, so whichever goes second wants a rebase.