angel3_container 8.0.0 angel3_container: ^8.0.0 copied to clipboard
Angel3 hierarchical DI container, and pluggable backends for reflection.
Change Log #
8.0.0 #
- Require Dart >= 3.0
7.1.0-beta.2 #
- Require Dart >= 2.19
- Refactored
EmptyReflector
7.1.0-beta.1 #
- Require Dart >= 2.18
- Moved
defaultErrorMessage
toContainerConst
class to resolve reflectatable issue. - Added
hashCode
7.0.0 #
- Require Dart >= 2.17
6.0.0 #
- Require Dart >= 2.16
- Removed
error
5.0.0 #
- Skipped release
4.0.0 #
- Skipped release
3.1.1 #
- Updated
_ReflectedMethodMirror
to have optionalreturnType
parameter - Updated
Container
to handle non nullable type
3.1.0 #
- Updated linter to
package:lints
3.0.2 #
- Resolved static analysis warnings
3.0.1 #
- Updated README
3.0.0 #
- Migrated to support Dart >= 2.12 NNBD
2.0.0 #
- Migrated to work with Dart >= 2.12 Non NNBD
1.1.0 #
pedantic
lints.- Add
ThrowingReflector
, which throws on all operations. EmptyReflector
usesObject
instead ofdynamic
as its returned type, as thedynamic
type is (apparently?) no longer a valid constant value.registerSingleton
now returns the providedobject
.registerFactory
andregisterLazySingleton
now return the provided functionf
.
1.0.4 #
- Slight patch to prevent annoying segfault.
1.0.3 #
- Added
Future
support toReflector
.
1.0.2 #
- Added
makeAsync<T>
.
1.0.1 #
- Added
hasNamed
.
1.0.0 #
- Removed
@GenerateReflector
.
1.0.0-alpha.12 #
StaticReflector
now defaults to empty arguments.
1.0.0-alpha.11 #
- Added
StaticReflector
.
1.0.0-alpha.10 #
- Added
Container.registerLazySingleton<T>
. - Added named singleton support.
1.0.0-alpha.9 #
- Added
Container.has<T>
.
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 aReflectedInstance
.- Moved
ReflectedInstance.invoke
toReflectedFunction.invoke
.
1.0.0-alpha.6 #
- Add
getField
toReflectedInstance
.
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
inMirrorsReflector
now forwards todynamic
.
1.0.0-alpha.2 #
- Added
ReflectedInstance.reflectee
.
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.