feature_manager_generator 3.1.2 copy "feature_manager_generator: ^3.1.2" to clipboard
feature_manager_generator: ^3.1.2 copied to clipboard

Feature manager generator for developer preferences and experiments

3.1.2 #

  • Breaking Change: Migrated to analyzer 2.0 API with updated element types and method names
    • Updated imports from package:analyzer/dart/element/element.dart to package:analyzer/dart/element/element2.dart
    • Changed Element to Element2, ClassElement to ClassElement2, FieldElement to FieldElement2
    • Updated method calls: namename3, fieldsfields2, type.elementtype.element3, metadatametadata2.annotations
    • Updated TypeChecker.fromRuntime() to TypeChecker.typeNamed() for better compatibility
  • Dependencies: Updated core dependencies for better compatibility and performance
    • analyzer: ^7.5.2 → ^7.4.0
    • build: ^2.4.2 → ^3.0.0
    • source_gen: ^2.0.0 → ^3.0.0
  • SDK: Updated Dart SDK constraint from ^3.6.0 to '>=3.7.0 <4.0.0' for broader compatibility
  • Code Quality: Improved null safety handling and code formatting throughout the generator

3.1.1 #

  • Maintenance: Transitioned to Melos monorepo tooling
  • Compatibility: Reverted build and lint dependencies to support Dart 3.6

3.1.0 #

  • Updated dependencies:
    • analyzer to ^7.5.2
    • build to ^2.5.4
    • source_gen to ^2.0.0
    • feature_manager to ^3.1.0
    • lints to ^6.0.0
  • Internal maintenance and version bump.

3.0.5 #

  • Update a dependency to the latest release

3.0.4 #

Refactored Feature Type Handling: #

  • Removed FeatureValueType and replaced it with generic type inference for Feature
  • The generator now detects the correct feature type (BooleanFeature, TextFeature, etc.) based on the generic type (Feature<bool>, Feature<String>, etc.).
  • Added better logging for invalid feature fields.

3.0.3 #

  • Replaced PartBuilder with SharedPartBuilder to ensure that generated code is correctly integrated into source files using part directives. This change fixes issues where generated files were not being created or included properly, enhancing compatibility and reliability in code generation workflows.

3.0.2 #

  • Fixed an issue where the remoteSourceKey parameter specified in FeatureOptions was not included in the generated code.
  • Fixed an issue where the type parameter in FeatureOptions, responsible for specifying the FeatureType, was not being generated.

3.0.1 #

  • Fixed: Default Value Extraction Issue

3.0.0 #

  • Initial version.
0
likes
40
points
91
downloads

Publisher

verified publisherbedcode.dev

Weekly Downloads

Feature manager generator for developer preferences and experiments

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analyzer, build, feature_manager, source_gen

More

Packages that depend on feature_manager_generator