platform/packages/container/angel_container/CHANGELOG.md

71 lines
1.8 KiB
Markdown
Raw Normal View History

2021-05-02 04:12:43 +00:00
# 3.0.0
* Migrated to support Dart SDK 2.12.x NNBD
# 2.0.0
* Migrated to work with Dart SDK 2.12.x Non NNBD
2019-10-12 13:39:34 +00:00
# 1.1.0
* `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
2019-04-17 19:31:58 +00:00
# 1.0.4
* Slight patch to prevent annoying segfault.
2019-04-17 13:24:13 +00:00
# 1.0.3
* Added `Future` support to `Reflector`.
2019-04-17 02:21:51 +00:00
# 1.0.2
* Added `makeAsync<T>`.
2019-04-10 19:20:02 +00:00
# 1.0.1
* Added `hasNamed`.
2018-11-30 05:32:49 +00:00
# 1.0.0
* Removed `@GenerateReflector`.
2018-11-08 16:54:14 +00:00
# 1.0.0-alpha.12
* `StaticReflector` now defaults to empty arguments.
# 1.0.0-alpha.11
* Added `StaticReflector`.
2018-10-22 15:23:46 +00:00
# 1.0.0-alpha.10
* Added `Container.registerLazySingleton<T>`.
2018-10-22 15:35:35 +00:00
* Added named singleton support.
2018-10-22 15:23:46 +00:00
2018-08-26 22:55:21 +00:00
# 1.0.0-alpha.9
* Added `Container.has<T>`.
2018-08-21 14:48:08 +00:00
# 1.0.0-alpha.8
* 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`.
2018-08-21 13:36:52 +00:00
# 1.0.0-alpha.6
* 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`.
2018-08-21 02:19:48 +00:00
# 1.0.0-alpha.2
* Added `ReflectedInstance.reflectee`.
2018-08-20 04:40:30 +00:00
# 1.0.0-alpha.1
* Allow omission of the first argument of `Container.make`, to use
a generic type argument instead.
* `singleton` -> `registerSingleton`
* Add `createChild`, and support hierarchical containers.