Releases: gmpassos/reflection_factory
Releases · gmpassos/reflection_factory
v1.0.18
- `EnumReflection`: added `enumName` to extension.
- Fix `siblingEnumReflectionFor` and `siblingEnumReflectionFor`.
v1.0.17
- JSON
- Better JSON handling and reflection integration.
- Encoding/decoding to/from bytes (`Uint8List`).
- `@JsonField`: to hide a field or to force it as a json field.
- Added support for enums: `EnumReflection`
- `ClassReflection`:
- Support for supper classes.
- Added `createInstanceWithNoRequiredArgsConstructor` as another way to create an instance without arguments.
- Added `getBestConstructorFor`, that selects the constructor capable to create an instance with provided parameters.
- Added `fromJson` and `fromJsonEncoded`.
- Added `createInstanceWithBestConstructor` and `createInstanceFromMap`.
- Added `declaringType`.
- Generating `ClassFoo$fromJson` and `ClassFoo$fromJsonEncoded`.
- Optimized some operations.
- Fixed `TypeReflection` for `Function`.
- mime: ^1.0.1
- base_codecs: ^1.0.1
v1.0.16
- `ClassReflection`:
- `withoutObjectInstance`: now always returns the same instance.
- Added `reflectionFactoryVersion`.
v1.0.15
- `ClassReflection`: added `callCasted`.
- `ReflectionInspector`: now checks if a generated file version is the same of the `reflection_factory` package.
v1.0.14
- `ClassReflection`:
- Added `siblingsClassReflection` and `withoutObjectInstance`.
- `register` now triggers registration of all sibling `ClassReflection`.
- Using standard Dart coverage.
- coverage: ^1.0.3
v1.0.13
- Allow call to `field` without an object. Useful to get the field type before instantiate an object.
v1.0.12
- `FieldReflection`: added `hasSetter`.
v1.0.11
- Added support to default values of optional and named parameters.
v1.0.10
- Removed `BUILD TIME` comment in generated files to avoid unnecessary generate file modification/change.
v1.0.9
- Added `ReflectionInspector`.
- Generated files now have the package version in the header comments.
- `toJsonEncodable`: fixed handling of `DateTime`.
- Improved tests.