Skip to content

chore(release): 0.0.3 — downgrade xml constraint to ^6.5.0 for dusk compat#6

Merged
anilcancakir merged 1 commit into
masterfrom
release/0.0.3
May 20, 2026
Merged

chore(release): 0.0.3 — downgrade xml constraint to ^6.5.0 for dusk compat#6
anilcancakir merged 1 commit into
masterfrom
release/0.0.3

Conversation

@anilcancakir
Copy link
Copy Markdown
Contributor

Release 0.0.3 (xml constraint downgrade for fluttersdk_dusk compat)

Hotfix on top of 0.0.2. Reverts the xml ^7.0.0 bump (commit 34f523c) back to ^6.5.0 so the package resolves alongside fluttersdk_dusk.

Why

fluttersdk_dusk's ext_screenshot.dart depends on image ^4.0.0, which transitively pins xml ^6.0.1. There is no image 5.x release, so image ^4.0.0 + xml ^7.0.0 (artisan 0.0.2's constraint) cannot resolve together. Hosted-dep consumers of both packages hit a pub solver failure.

Diff shape

  • pubspec.yamlxml: ^7.0.0 -> xml: ^6.5.0. Pub resolves to xml 6.6.1, which intersects with dusk's ^6.0.1 cleanly.
  • lib/src/helpers/plist_writer.dart — 8 XmlName.parts('localname') sites reverted to XmlName('localname') so the file compiles on xml 6.x (.parts did not exist until xml 7).
  • CHANGELOG.md — new [0.0.3] - 2026-05-21 block documenting the downgrade + xml 7 migration deferral.
  • example/pubspec.lock — auto-resolved by dart pub get. xml drops to 6.6.1; collateral transitive bumps (meta 1.17 -> 1.18, test 1.30 -> 1.31, test_api 0.7.10 -> 0.7.11) are example-only and not shipped on pub.dev.

Verification

  • dart format --output=none --set-exit-if-changed lib/ test/ bin/ -> zero diff.
  • dart analyze lib/ test/ bin/ -> zero issues.
  • dart test --exclude-tags=integration -> 1116 passing.
  • dart pub publish --dry-run -> 393 KB archive (well under the 500 KB target).

Post-merge action items

  1. git checkout master && git pull
  2. git tag 0.0.3
  3. git push origin 0.0.3 (triggers publish.yml on the [0-9]+.[0-9]+.[0-9]+* tag pattern).

Followup (not in this PR)

xml 7 migration is deferred until image ships a release on the xml 7 line. Track via dependabot once that lands.

…ompat

Cross-repo dependency BLOCKER reported against 0.0.2:
`image ^4.0.0` (used in `fluttersdk_dusk`'s `ext_screenshot.dart`)
transitively pins `xml ^6.0.1`. 0.0.2 pins `xml ^7.0.0` which makes
fluttersdk_dusk unresolvable as a hosted dep alongside
fluttersdk_artisan 0.0.2 — no `image 5.x` release exists to satisfy
the upper bound.

Fix:
- pubspec.yaml: `xml: ^7.0.0` -> `xml: ^6.5.0` (resolves to xml
  6.6.1 in pub get, intersects cleanly with dusk's `^6.0.1`).
- lib/src/helpers/plist_writer.dart: 8 sites reverted from
  `XmlName.parts('localname')` -> `XmlName('localname')` so the file
  compiles on xml 6 (where `.parts` did not yet exist).
- CHANGELOG.md: 0.0.3 entry under [0.0.3] - 2026-05-21 documenting
  the downgrade + deferred xml 7 migration (tracking image's xml 7
  bump for a future patch release).
- example/pubspec.lock: auto-resolved to xml 6.6.1; bundled
  transitive bumps (meta 1.18, test 1.31) are routine drift from
  `dart pub get` and example-only (not shipped to pub.dev).

Full preflight green: dart format zero diff, dart analyze zero issues,
1116 tests pass --exclude-tags=integration, dart pub publish --dry-run
produces a 393 KB archive.
Copilot AI review requested due to automatic review settings May 20, 2026 21:39
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Release hotfix for fluttersdk_artisan 0.0.3 to restore compatibility with consumers that depend on image ^4.x (and therefore xml ^6.x) by downgrading the xml constraint and reverting xml-7-only API usage.

Changes:

  • Bump package version to 0.0.3 and downgrade xml dependency from ^7.0.0 to ^6.5.0.
  • Revert XmlName.parts(...) usages back to XmlName(...) for xml 6.x compatibility.
  • Add a 0.0.3 changelog entry and refresh the example app lockfile after dependency resolution.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
pubspec.yaml Version bump to 0.0.3 and xml constraint downgrade to ^6.5.0.
lib/src/helpers/plist_writer.dart Reverts xml-7-only XmlName.parts calls to xml-6-compatible XmlName(...).
CHANGELOG.md Adds release notes for 0.0.3 documenting the downgrade and rationale.
example/pubspec.lock Updates resolved versions (including xml 6.6.1) after running pub get in the example.

@anilcancakir anilcancakir merged commit 831910f into master May 20, 2026
2 checks passed
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.

2 participants