Skip to content

Releases: mintware-de/catalyst_builder

v6.0.0

19 Oct 09:00
67552fb

Choose a tag to compare

Changes

Removed unused packages

  • path
  • yaml

Breaking Changes

  • To support the latest version of build and analyzer we switched to the new element model api.
  • Upgraded the versions of this packages:
build: ^4.0.0
analyzer: ^8.1.0

dart_style: ^3.1.2
lints: '>=2.0.0'

v6.0.0-rc.1

19 Oct 08:55
907b50a

Choose a tag to compare

v6.0.0-rc.1 Pre-release
Pre-release

Removed unused packages

  • path
  • yaml

Updated package version

  • dart_style: ^3.1.2

v6.0.0-dev.3

19 Oct 08:55
93cf8de

Choose a tag to compare

v6.0.0-dev.3 Pre-release
Pre-release

Fix downgrade issues by updating package version

analyzer: ^8.1.0
lints: '>=2.0.0'

v6.0.0-dev.2

12 Oct 08:42

Choose a tag to compare

v6.0.0-dev.2 Pre-release
Pre-release

BREAKING CHANGE: Upgraded the versions of this packages:

build: ^4.0.0
analyzer: ^8.0.0

v4.1.0

08 Feb 12:30

Choose a tag to compare

Features

Cache location

You're now able to set a custom cache location by setting catalyst_builder: { cacheDir: 'a/cache/path' } property in the pubspec.yaml

Take a look in pubspec.yaml for an example.

Internal

  • The CacheHelper is no longer static.

v4.0.0

08 Feb 12:23
febe972

Choose a tag to compare

This major update has breaking changes.
Check the UPGRADE.md for guidance.

Features

Caching system

This release contains a new caching system for intermediates. Those are stored in a .catalyst_builder_cache directory.
Don't forget to exclude this from the VCS.

Changes

Dependency updates

  • build_runner_core: Removed

Breaking Changes:

Dart SDK

Bump the minimum Dart SDK version to 3.5.0

Dependency updates

  • dart_style: ^2.0.1 => ^3.0.1
  • analyzer: '>=5.2.0 <7.0.0' => '>=5.2.0 <8.0.0'

Annotations

Removed the deprecated @Parameter annotation. Use @Inject instead.

Build customization

Moved the providerClassName and includePackageDependencies option to the @GenerateServiceProvider annotation

v3.6.0

17 Aug 22:46

Choose a tag to compare

Fixed updating the generated provider file

In this release we hopefully fixed the old problem with outdated *.catalyst_builder.g.dart files.

Cause

The ServiceProviderBuilder did not emit an updated version since the @GenerateServiceProvider annotation
doesn't exist in the most files.

Solution

We added a new generatedProviderFile option to the preflightBuilder configuration. You need to put the relative path
to the generated provider file (*.catalyst_builder.g.dart) in this option.
The PreflightBuilder will automatically delete the file if it exists. This lead to a full regeneration of the service
provider file. 🙌

v3.5.2

17 Aug 21:20
4da261f

Choose a tag to compare

Fix downgrade error

In version 5.0.0 of the analyzer Package was DartType.element removed.
It was added again in 5.2.0 so we updated the version constraint to >=5.2.0 <7.0.0 to fix that downgrade error.

v3.5.1

17 Aug 21:18
91b1b99

Choose a tag to compare

Singleton instances on enhanced providers

Previously each ServiceProvider had a map of service instances. If a singleton was created, the provider stored the
instance in the map and returned the instance the next time it is requested.

If you're working with enhanced providers (ServiceProvider.enhance), the singletons created in the EnhancedProvider
wasn't stored in the root provider which causes that a singleton will be created again if it's resolved in the root
provider.

To solve this problem, the instances of the map is now a reference to the original instances map of the parent provider.

Dependency updates

Moved the lints to dev_dependencies and set the version constraint to any

v3.5.0

15 Aug 21:51

Choose a tag to compare

Updated the version constraint of the analyzer package.