tom_reflection_generator 1.2.0 copy "tom_reflection_generator: ^1.2.0" to clipboard
tom_reflection_generator: ^1.2.0 copied to clipboard

Standalone reflection generator (builder + CLI) for the Tom framework.

Changelog #

1.2.0 #

  • Analyzer 10 migration: widened the analyzer constraint from ^8.0.0 to ^10.0.0 and bumped tom_analyzer_shared to ^0.4.0 (analyzer-10 build). The generator's package:analyzer/src/dart/constant/* and element/type imports resolve unchanged on analyzer 10.
  • The 20 Element.isSynthetic call sites (deprecated in analyzer 10 in favour of the isOriginX flag family) are now routed through a single _elementIsSynthetic helper. This preserves exact behaviour — including the local MixinApplication shim's isSynthetic override (which is relied upon at real call sites and would route through noSuchMethod if migrated to isOriginDeclaration) — and confines the deprecation suppression to one documented place. isOriginDeclaration is not a drop-in replacement because it is not declared on the base Element type.
  • No behavioural change; supersedes the out-of-band 1.1.2 (identical source).

1.1.1 #

  • Bug fix: Fixed incorrect prefix assignment for mixin-variant types in NonGenericClassMirrorImpl generation. When a type is a synthetic mixin application (e.g. TomFormStringField with TomGenericFieldDecorationMixin), the generic type parameter now uses the prefix for the superclass's library rather than the synthetic MixinApplication's library. Previously this caused 'SomeType' isn't a type compile errors after regeneration.

1.1.0 #

  • Standalone CLI: Added analyzer summary caching for 26x faster generation (38s vs 1269s on a Flutter project with 75 dependencies)
  • Summary cache stored in .tom/analyzer-cache/ with per-package versioned .sum files
  • SDK summary self-generation with Flutter embedder support
  • Topological dependency ordering for correct cross-package type resolution
  • Fixed default parameter value extraction from summary-backed elements
  • Fixed metadata annotation extraction from summary-backed elements
  • CLI output now matches build_runner output byte-for-byte

1.0.2 #

  • Bug fixes and internal improvements

1.0.1 #

  • Repository reorganization: Moved to tom_module_reflection repository
  • Changed tom_reflection dependency to pub.dev version

1.0.0 #

  • Extracted the reflection builder/CLI from tom_build and tom_build_tools.
  • Added reusable CLI runner (runReflectionGeneratorCli).
  • Published documentation and tests within the new package.
0
likes
0
points
123
downloads

Publisher

unverified uploader

Weekly Downloads

Standalone reflection generator (builder + CLI) for the Tom framework.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, build, dart_style, glob, logging, path, pub_semver, tom_analyzer_shared, tom_build_base, tom_reflection, yaml

More

Packages that depend on tom_reflection_generator