2021-09-26 06:53:42 +00:00
|
|
|
# Change Log
|
|
|
|
|
2023-12-24 01:52:57 +00:00
|
|
|
## 8.1.0
|
|
|
|
|
|
|
|
* Updated `lints` to 3.0.0
|
|
|
|
* Fixed analyser warnings
|
|
|
|
|
2023-05-21 00:57:13 +00:00
|
|
|
## 8.0.0
|
|
|
|
|
|
|
|
* Require Dart >= 3.0
|
|
|
|
|
2023-04-15 03:05:33 +00:00
|
|
|
## 7.1.0-beta.2
|
|
|
|
|
|
|
|
* Require Dart >= 2.19
|
|
|
|
* Refactored `EmptyReflector`
|
|
|
|
|
2023-04-15 01:07:24 +00:00
|
|
|
## 7.1.0-beta.1
|
2022-12-27 22:59:40 +00:00
|
|
|
|
|
|
|
* Require Dart >= 2.18
|
2023-04-15 01:07:24 +00:00
|
|
|
* Moved `defaultErrorMessage` to `ContainerConst` class to resolve reflectatable issue.
|
|
|
|
* Added `hashCode`
|
2022-12-27 22:59:40 +00:00
|
|
|
|
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
|
2021-10-04 06:00:17 +00:00
|
|
|
* Updated `Container` to handle non nullable type
|
2021-09-27 13:55:04 +00:00
|
|
|
|
2021-09-26 06:53:42 +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
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 3.0.1
|
|
|
|
|
2021-05-15 06:07:19 +00:00
|
|
|
* Updated README
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 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
|
|
|
|
2021-09-26 06:53:42 +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
|
|
|
|
2021-09-26 06:53:42 +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
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.4
|
|
|
|
|
2019-04-17 19:31:58 +00:00
|
|
|
* Slight patch to prevent annoying segfault.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.3
|
|
|
|
|
2019-04-17 13:24:13 +00:00
|
|
|
* Added `Future` support to `Reflector`.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.2
|
|
|
|
|
2019-04-17 02:21:51 +00:00
|
|
|
* Added `makeAsync<T>`.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.1
|
|
|
|
|
2019-04-10 19:20:02 +00:00
|
|
|
* Added `hasNamed`.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.0
|
|
|
|
|
2018-11-30 05:32:49 +00:00
|
|
|
* Removed `@GenerateReflector`.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.0-alpha.12
|
|
|
|
|
2018-11-08 16:54:14 +00:00
|
|
|
* `StaticReflector` now defaults to empty arguments.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.0-alpha.11
|
|
|
|
|
2018-11-08 16:54:14 +00:00
|
|
|
* Added `StaticReflector`.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 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
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.0-alpha.9
|
|
|
|
|
2018-08-26 22:55:21 +00:00
|
|
|
* Added `Container.has<T>`.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.0-alpha.8
|
|
|
|
|
2018-08-21 14:48:08 +00:00
|
|
|
* Fixed a bug where `_ReflectedTypeInstance.isAssignableTo` always failed.
|
|
|
|
* Added `@GenerateReflector` annotation.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.0-alpha.7
|
|
|
|
|
2018-08-21 14:18:11 +00:00
|
|
|
* Add `EmptyReflector`.
|
|
|
|
* `ReflectedType.newInstance` now returns a `ReflectedInstance`.
|
|
|
|
* Moved `ReflectedInstance.invoke` to `ReflectedFunction.invoke`.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.0-alpha.6
|
|
|
|
|
2018-08-21 13:36:52 +00:00
|
|
|
* Add `getField` to `ReflectedInstance`.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.0-alpha.5
|
|
|
|
|
2018-08-21 02:35:10 +00:00
|
|
|
* Remove concrete type from `ReflectedTypeParameter`.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.0-alpha.4
|
|
|
|
|
2018-08-21 02:32:06 +00:00
|
|
|
* Safely handle `void` return types of methods.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.0-alpha.3
|
|
|
|
|
2018-08-21 02:28:48 +00:00
|
|
|
* Reflecting `void` in `MirrorsReflector` now forwards to `dynamic`.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 1.0.0-alpha.2
|
|
|
|
|
2018-08-21 02:19:48 +00:00
|
|
|
* Added `ReflectedInstance.reflectee`.
|
|
|
|
|
2021-09-26 06:53:42 +00:00
|
|
|
## 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`
|
2021-09-26 06:53:42 +00:00
|
|
|
* Add `createChild`, and support hierarchical containers.
|