platform/packages/container/angel_container/CHANGELOG.md

136 lines
2.3 KiB
Markdown
Raw Normal View History

# Change Log
2023-03-11 04:44:22 +00:00
## 7.1.1
* Moved `defaultErrorMessage` to `ContainerConst` class to resolve reflectatable issue.
2022-12-27 22:59:40 +00:00
## 7.1.0
* Require Dart >= 2.18
2022-08-16 11:19:04 +00:00
## 7.0.0
* Require Dart >= 2.17
2022-02-13 16:48:37 +00:00
## 6.0.0
2022-08-16 11:19:04 +00:00
* Require Dart >= 2.16
2022-02-13 16:48:37 +00:00
* Removed `error`
## 5.0.0
* Skipped release
## 4.0.0
* Skipped release
2021-09-27 13:55:04 +00:00
## 3.1.1
* Updated `_ReflectedMethodMirror` to have optional `returnType` parameter
* Updated `Container` to handle non nullable type
2021-09-27 13:55:04 +00:00
## 3.1.0
* Updated linter to `package:lints`
## 3.0.2
2021-05-18 13:33:20 +00:00
* Resolved static analysis warnings
## 3.0.1
2021-05-15 06:07:19 +00:00
* Updated README
## 3.0.0
2022-08-16 11:19:04 +00:00
* Migrated to support Dart >= 2.12 NNBD
2021-05-02 04:12:43 +00:00
## 2.0.0
2022-08-16 11:19:04 +00:00
* Migrated to work with Dart >= 2.12 Non NNBD
2021-05-02 04:12:43 +00:00
## 1.1.0
2019-10-12 13:39:34 +00:00
* `pedantic` lints.
* Add `ThrowingReflector`, which throws on all operations.
2019-10-12 13:42:56 +00:00
* `EmptyReflector` uses `Object` instead of `dynamic` as its returned
type, as the `dynamic` type is (apparently?) no longer a valid constant value.
2019-10-12 13:46:45 +00:00
* `registerSingleton` now returns the provided `object`.
* `registerFactory` and `registerLazySingleton` now return the provided function `f`.
2019-10-12 13:39:34 +00:00
## 1.0.4
2019-04-17 19:31:58 +00:00
* Slight patch to prevent annoying segfault.
## 1.0.3
2019-04-17 13:24:13 +00:00
* Added `Future` support to `Reflector`.
## 1.0.2
2019-04-17 02:21:51 +00:00
* Added `makeAsync<T>`.
## 1.0.1
2019-04-10 19:20:02 +00:00
* Added `hasNamed`.
## 1.0.0
2018-11-30 05:32:49 +00:00
* Removed `@GenerateReflector`.
## 1.0.0-alpha.12
2018-11-08 16:54:14 +00:00
* `StaticReflector` now defaults to empty arguments.
## 1.0.0-alpha.11
2018-11-08 16:54:14 +00:00
* Added `StaticReflector`.
## 1.0.0-alpha.10
2018-10-22 15:23:46 +00:00
* Added `Container.registerLazySingleton<T>`.
2018-10-22 15:35:35 +00:00
* Added named singleton support.
2018-10-22 15:23:46 +00:00
## 1.0.0-alpha.9
2018-08-26 22:55:21 +00:00
* Added `Container.has<T>`.
## 1.0.0-alpha.8
2018-08-21 14:48:08 +00:00
* Fixed a bug where `_ReflectedTypeInstance.isAssignableTo` always failed.
* Added `@GenerateReflector` annotation.
## 1.0.0-alpha.7
* Add `EmptyReflector`.
* `ReflectedType.newInstance` now returns a `ReflectedInstance`.
* Moved `ReflectedInstance.invoke` to `ReflectedFunction.invoke`.
## 1.0.0-alpha.6
2018-08-21 13:36:52 +00:00
* Add `getField` to `ReflectedInstance`.
## 1.0.0-alpha.5
* Remove concrete type from `ReflectedTypeParameter`.
## 1.0.0-alpha.4
* Safely handle `void` return types of methods.
## 1.0.0-alpha.3
* Reflecting `void` in `MirrorsReflector` now forwards to `dynamic`.
## 1.0.0-alpha.2
2018-08-21 02:19:48 +00:00
* Added `ReflectedInstance.reflectee`.
## 1.0.0-alpha.1
2018-08-20 04:40:30 +00:00
* Allow omission of the first argument of `Container.make`, to use
a generic type argument instead.
* `singleton` -> `registerSingleton`
* Add `createChild`, and support hierarchical containers.