Skip to content

chore: release 1.2.0 - #178

Open
mortenboye wants to merge 1 commit into
masterfrom
release/1.2.0
Open

chore: release 1.2.0#178
mortenboye wants to merge 1 commit into
masterfrom
release/1.2.0

Conversation

@mortenboye

Copy link
Copy Markdown
Contributor

Versions all eight packages at 1.2.0 with changelogs. Prepared on top of master at c90f5de; #168 is deliberately not included and will land in the next release.

What's in it

Why minor, not patch

The three signature changes are source-compatible for callers that ignore the result, but anyone implementing MidiCommandPlatform must widen those overrides from void. That is more than a patch communicates, so 1.1.2 → 1.2.0.

Also fixed here: a publish blocker

While verifying, publish:dry-run measured the darwin package at 273 MB instead of 18 KB. Its .pubignore still excluded the pre-federation ios/.build/ path, so the Swift build output that tool/darwin_native_checks.sh now produces was being packaged. pub.dev's limit is 100 MB, so a publish from any machine that had run the darwin checks would have failed — including the local publish flow this repo uses. The .gitignore entries added in #176 do not help, because a parent .gitignore does not apply to a package in a subdirectory; the paths have to be in .pubignore. Verified: with 252 MB of .build present, the archive is back to 19 KB.

Verification

On the committed release branch: melos bootstrap (9 packages), format:check, analyze, analyze:example, test (6 packages), test:web:chrome, tool/darwin_native_checks.sh (5 Swift tests) and publish:dry-run all pass — the last reporting 0 warnings for all eight packages.

Before publishing

  • There is no v1.1.2 tag — the tag series stops at v1.1.1, so 1.1.2 shipped untagged. Worth creating it retroactively at e1e988c alongside v1.2.0, otherwise any future melos version run computes its commit range from v1.1.1.
  • Publish order still matters, since the ^1.2.0 constraints are not on pub.dev yet: flutter_midi_command_platform_interface first, then the six implementation packages, then flutter_midi_command.

Versions all eight packages at 1.2.0 with the internal constraints, and
writes the changelogs for the release: the virtual-device and network
session APIs now return futures (#173/#174), and iOS no longer shows the
local-network permission prompt at app startup (#175).

Minor rather than patch: `addVirtualDevice`, `removeVirtualDevice` and
`setNetworkSessionEnabled` changed from `void` to `Future<void>`. Callers
that ignore the result are unaffected, but anyone implementing
`MidiCommandPlatform` has to widen those overrides.

Also fixes the darwin package's `.pubignore`, whose Darwin build-products
rule still pointed at the pre-federation `ios/.build/`. With the Swift
build output from tool/darwin_native_checks.sh present, the published
archive measured 273 MB instead of 18 KB — past pub.dev's 100 MB limit,
so a publish from a machine that had run the darwin checks would have
failed. A parent .gitignore does not apply to a package in a
subdirectory, so the paths are listed in .pubignore.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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