Skip to content

Releases: mintware-de/catalyst_builder

v3.2.0

29 Dec 15:27
d8b605e
Compare
Choose a tag to compare

Features:

  • Introducing the new @Inject annotation. This annotation works like the @Parameter Annotation but is more flexible.
    You can use it to inject a list of tagged services and also to inject parameters. The example code contains a
    example for this feature.

Deprecations:

  • The @Parameter annotation was marked as deprecated and will be removed in the next major release.
    See UPGRADE.md for upgrade instructions.

Changes:

  • Updated the minimum analyzer version to ^5.0.0

Internal:

  • Updated the usages of deprecated properties. Using
    • element instead of element2
    • enclosingElement instead of enclosingElement3
  • Preflight logic refactored

v3.1.0

29 Dec 15:26
fb45d8e
Compare
Choose a tag to compare

Maintenance Release

  • Replaced a deprecated function call (assignVar)

v3.0.0

07 Aug 16:49
08b51ce
Compare
Choose a tag to compare

Features:

  • Added the GenerateServiceProvider annotation

Changes:

  • Updated the minimum Dart SDK version to 2.17.0

Breaking Changes:

  • build.yaml
    • Removed the option outputName
      This change was necessary since the build_runner does not recognize changes correctly with runtime file names.
    • Removed the option preflightExtension.

v2.3.1

24 Jul 13:13
f414f15
Compare
Choose a tag to compare

Changes:

  • Dependencies updated
    • analyzer: >=3.2.0 <5.0.0 -> >=4.3.0 <5.0.0
    • build_runner: ^2.0.4 -> ^2.2.0
  • Using enclosingElement2 instead of enclosingElement (pub.dev score)
  • Added ignore rules for generated files
    • implementation_imports
    • no_leading_underscores_for_library_prefixes

v2.3.0

21 Jul 14:50
aa62e88
Compare
Choose a tag to compare

Features:

  • Added tags to the Service annotation
  • Added ServiceProvider.resolveByTag(#tag) to resolve a list of services by a tag.

Take a look in the README.md for example usage.

Changes:

  • Dependencies updated
    • glob: ^2.0.1 -> ^2.1.0
  • Dev Dependencies updated
    • lints: ^1.0.1 -> ^2.0.0

Internal:

  • TryCatchBuilder removed.

v2.2.3

07 May 11:32
e5c521a
Compare
Choose a tag to compare

Changes:

  • Added shields to the README.md
  • Added more unit tests and increased the code coverage. PR#8

Bugfixes:

  • Add the parameters of the parent service provider to the enhanced service provider.
    PR#7

v2.2.2

25 Apr 16:14
f193bee
Compare
Choose a tag to compare

Changes:

  • README.md updated

v2.2.1

23 Apr 09:02
7cdcde1
Compare
Choose a tag to compare

Changes:

  • Dependencies updated
    • analyzer: ^3.2.0 -> >=3.2.0 <5.0.0
    • test: ^1.20.1 -> `any´
    • source_gen -> removed

v2.2.0

20 Apr 14:37
a381834
Compare
Choose a tag to compare

Features

  • Added the EnhanceableProvider class and implemented it in the generated ServiceProvider.
    This class allows you to create sub-providers. PR#5

v2.1.0

20 Apr 14:29
ed7ab77
Compare
Choose a tag to compare

Features

  • Added the ServiceRegistry class and implemented it in the generated ServiceProvider.
    This class allows you to register services at runtime. PR#4

Changes:

  • Optimized the code generation PR#3