normalize 0.5.5-dev.1
normalize: ^0.5.5-dev.1 copied to clipboard
Normalization and denormalization of GraphQL responses in Dart
0.5.5-dev.1 #
Note: This release has breaking changes.
- BREAKING FEAT: build generated files to generated subdirectory.
0.5.5-dev.0+1 #
- FIX: move pedantic to dependency (#257).
0.5.5 #
- FIX: allow inline fragments for subtypes without passing possibleTypes.
- FEAT: update dependences.
- FEAT: update dependences.
- CHORE: publish packages.
- CHORE: publish packages.
0.5.4 #
- FEAT: update dependences.
- CHORE: publish packages.
- CHORE: publish packages.
0.5.3 #
- FEAT: Add support for better fragment type resolution.
- CHORE: publish packages.
- CHORE: publish packages.
0.5.2 #
- allow overriding of
__typename
when reading fragments
0.5.1 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
0.5.1-0.1.nullsafety.0 #
- FEAT: migrate to null safety.
- CHORE: bump versions to match melos style.
- CHORE: publish packages.
- CHORE: prepare changelogs for melos.
0.5.0-1.0.nullsafety.0 #
- FEAT: migrate to null safety.
- CHORE: prepare changelogs for melos.
[0.4.7] #
- add
reachableIdsFromDataId
util
[0.4.6] #
- handle type mismatch in
identify
util
[0.4.5] #
- update dependencies
[0.4.3] - 2020-11-09 #
Added #
- add
deepMerge
method - add a
path
toPartialDataException
to surface invalid paths - add
acceptPartialData
option tonormalizeFragment
andnormalizeOperation
for rejecting partialdata
- add
handleException
option todenormalizeFragment
anddenormalizeOperation
for throwing aPartialDataException
instead of returningnull
on partialdata
- add a
validateOperationDataStructure
utility for validating structure against a document
Changed #
- fix: merge existing data before writing
[0.4.3-alpha] - 2020-11-06 #
Added #
- add a
path
toPartialDataException
to surface invalid paths - add
acceptPartialData
option tonormalizeFragment
andnormalizeOperation
for rejecting partialdata
- add
handleException
option todenormalizeFragment
anddenormalizeOperation
for throwing aPartialDataException
instead of returningnull
on partialdata
- add a
validateOperationDataStructure
utility for validating structure against a document
[0.4.2] - 2020-10-07 #
[0.3.3] - 2020-09-09 #
[0.3.0] - 2020-09-05 #
Changed #
- rename
normalize
tonormalizeOperation
- rename
denormalize
todenormalizeOperation
- rename
query
todocument
innormalizeOperation
anddenormalizeOperation
- rename
fragment
todocument
innormalizeFragment
anddenormalizeFragment
- rename
reader
toread
in denormalize functions - rename
writer
withwrite
in normalize functions - require
read
callback in normalize functions - denormalize methods now filter out dangling references
[0.2.1] - 2020-06-15 #
Changed #
- fix bug with fragments on same object with different fields
- fix issue when using a fragment spread on an interface type
[0.0.7] - 2020-01-25 #
Added #
- allow user to specify whether partial data should be returned (defaults to false)