Skip to content

v3.0.0-dev.1 — target solidart v3, upgrade deps, migrate to analyzer 12#100

Merged
nank1ro merged 1 commit into
mainfrom
v3-dev-bump
Jul 1, 2026
Merged

v3.0.0-dev.1 — target solidart v3, upgrade deps, migrate to analyzer 12#100
nank1ro merged 1 commit into
mainfrom
v3-dev-bump

Conversation

@nank1ro

@nank1ro nank1ro commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Companion release for solidart / flutter_solidart v3.0.0-dev.1. Bumps this repo's packages to a matching dev, points everything at the v3 dev line, upgrades the rest of the pub.dev deps, and drops the now-redundant auto-dispose opt-out.

Changes

Version

  • solid_annotations & solid_generator: 2.0.0+13.0.0-dev.1 (+ CHANGELOG entries)

Point at solidart v3

  • flutter_solidart^3.0.0-dev.1 across integration_tests + all 5 examples (solidart 3.0.0-dev.1 follows transitively)
  • solid_annotations dep in solid_generator^3.0.0-dev.1
  • Workspace Dart SDK floor ^3.9.2^3.10.0 (required by solidart v3)

Dependency upgrades

  • analyzer ^12.0.0, dart_style ^3.1.8, build ^4.0.6, build_runner ^2.15.0, build_test ^3.5.15, meta ^1.18.0, test ^1.31.0, provider ^6.1.5, very_good_analysis ^10.3.0, http ^1.6.0, uuid ^4.5.3

Generator: analyzer 12 migration

  • analyzer 12 reshaped the class/enum AST for primary constructors (name/members/leftBracket/typeParameters moved onto namePart/body). Adapted via a single compat extension — packages/solid_generator/lib/src/ast_compat.dart — wired into the 6 affected files, so the 30+ offset-sensitive call sites and their behavior stay unchanged.

Remove redundant SolidartConfig.autoDispose = false

  • v3 defaults autoDispose to false, so the manual opt-out is a no-op. Removed from the 4 example source/main.dart (+ now-unused flutter_solidart import; lib/ regenerated) and the skill docs (SKILL.md, AGENTS.md, third-party-packages.md, troubleshooting.md). Kept in the v2-pinned eval fixtures.

CI/publish

  • publish.yml: also match prerelease -dev.N tags so a …-v3.0.0-dev.1 tag triggers publish.

Notable constraints

  • analyzer capped at 12.x here: the Flutter SDK's flutter_test pins test_api, capping test at 1.31.0, which requires analyzer <13. So 13/14 are unreachable in this workspace until Flutter bundles a newer test_api. 12.1.0 is the true latest.

Verification

All ci.yml steps pass locally: dart format · dart analyze --fatal-infos · golden-outputs analyze · solid_annotations analyze · solid_generator tests (281) · integration tests (11, against flutter_solidart v3).

Regenerating all 5 examples from source under the new toolchain produces output byte-identical to main except the SolidartConfig.autoDispose removal — every .g.dart/controller/page is unchanged, and solidart_example (no autoDispose) regenerates with a zero-line diff.

…alyzer 12

- Bump solid_annotations & solid_generator to 3.0.0-dev.1
- Point flutter_solidart at ^3.0.0-dev.1 (examples + integration_tests);
  raise the workspace Dart SDK floor to ^3.10.0
- Upgrade analyzer ^12.0.0 (+ dart_style ^3.1.8, build ^4.0.6,
  build_runner ^2.15.0, build_test ^3.5.15, meta ^1.18.0, test ^1.31.0,
  provider ^6.1.5, very_good_analysis ^10.3.0, http ^1.6.0, uuid ^4.5.3)
- Adapt the generator to analyzer 12's primary-constructor AST reshape
  (name/members/leftBracket/typeParameters moved onto namePart/body) via
  a single compat extension in lib/src/ast_compat.dart
- Remove now-redundant `SolidartConfig.autoDispose = false` — v3 defaults
  it to false; dropped from example sources and skill docs
- publish.yml: also match prerelease (-dev.N) tags
@nank1ro nank1ro merged commit 14206de into main Jul 1, 2026
1 check passed
@nank1ro nank1ro deleted the v3-dev-bump branch July 1, 2026 14:07
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