Skip to content

Releases: gmpassos/reflection_factory

v2.4.8

16 Dec 06:09
Compare
Choose a tag to compare
  • TypeParser:

    • _parserForTypeInfo: handle casting of collections.
  • sdk: '>=3.4.0 <4.0.0'

  • analyzer: ^6.11.0

  • pub_semver: ^2.1.5

  • source_span: ^1.10.1

  • build_runner: ^2.4.13

  • test: ^1.25.12

  • coverage: ^1.11.1

v2.4.7

24 Nov 09:51
cb5cc6c
Compare
Choose a tag to compare
  • JsonDecoder:
    • _fromJsonImpl: try to parse primitives to typeInfo definition (Allow Map String keys to be parsed as int).
    • _fromJsonMapImpl: fix for when typeInfo is for a Map<K,V>.

v2.4.6

17 Nov 19:01
d8cb6bc
Compare
Choose a tag to compare
  • TypeInfo:
    • isValidGenericType: fix for Map, MapEntry, List and Set.
    • Added toMapType, toMapEntryValueType, toMapEntryKeyType, toMapEntryType and isCastedMapEntry.

v2.4.5

08 Nov 06:27
Compare
Choose a tag to compare
  • _TypeWrapperList, _TypeWrapperMap, _TypeWrapperSet, _TypeWrapperIterable:

    • Improve parse, handling generic types of constructed collections.
  • analyzer: ^6.8.0

  • dart_style: ^2.3.7

  • meta: ^1.16.0

  • mime: ^1.0.6

  • path: ^1.9.1

  • data_serializer: ^1.2.1

  • coverage: ^1.10.0

v2.4.4

27 Jul 18:03
Compare
Choose a tag to compare
  • 🐛 fix(builder):

    • Use raw strings on class names.
    • ignore_for_file: added deprecated_member_use and deprecated_member_use_from_same_package.
  • Change package pubspec to pubspec_parse.

  • pubspec_parse: ^1.3.0

v2.4.3

10 Jul 08:27
Compare
Choose a tag to compare
  • ClassReflection: optimize createInstanceWithConstructors.

v2.4.2

05 Jul 19:04
Compare
Choose a tag to compare
  • JsonDecoder:

    • decode: optimize resolution for T/type dynamic/Object (any type).
  • JsonConverter (JsonEncoder & JsonDecoder):

    • Added isStandard.

v2.4.1

05 Jul 06:35
109e080
Compare
Choose a tag to compare
  • JsonEntityCache:
    • Added isCachedEntityByID and cacheEntityInstantiator.
    • JsonEntityCacheSimple: implement new methods.
    • Added to interface (from JsonEntityCacheSimple):
      cachedEntities, allCachedEntities, instantiateAllCachedEntities, cachedEntitiesLength,
      cachedEntitiesInstantiatorsLength, totalCachedEntities.

v2.4.0

15 May 07:29
96ce353
Compare
Choose a tag to compare
  • sdk: '>=3.3.0 <4.0.0'

  • analyzer: ^6.5.0

  • meta: ^1.15.0

  • lints: ^4.0.0

  • test: ^1.25.5

  • coverage: ^1.8.0

v2.3.4

06 Apr 06:27
b7a2cde
Compare
Choose a tag to compare
  • Fix handling og record types with named parameters.
  • Fix type argument resolution.