normalize 0.9.1 normalize: ^0.9.1 copied to clipboard
Normalization and denormalization of GraphQL responses in Dart
0.9.1 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
0.9.1-dev.0 #
- Bump "normalize" to
0.9.1-dev.0
.
0.9.1 #
0.9.0-dev.0+1 #
- DOCS: add topics (#548).
0.9.0 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
0.9.0-dev.2 #
Note: This release has breaking changes.
- BREAKING REFACTOR(normalize): Add const constructors to
FieldPolicy
andTypePolicy
(#526).
0.9.0-dev.1 #
Note: This release has breaking changes.
- DOCS: cleanup buggy autogenerated CHANGELOG from melos (#523).
- BREAKING REFACTOR(normalize): Add const constructors to
FieldPolicy
andTypePolicy
(#526).
0.8.2+1 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
0.8.2-dev.0+1 #
- DOCS: cleanup buggy autogenerated CHANGELOG from melos (#523).
0.8.2 #
- Bump "normalize" to
0.8.2
.
0.8.1 #
- Bump "normalize" to
0.8.1
.
0.8.0-dev.1 #
- FIX: When there are dangling references in child objects of a list, by default do not treat the whole entity as partial data, but remove it from the list. This can be configured using the allowDanglingReference parameter.
0.8.0-dev.0+2 #
- DOCS: add basic documentation for field policy (#494).
0.8.0+1 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
0.8.0-dev.0+1 #
- REFACTOR: apply lints fixes (#479).
0.8.0 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
0.8.0-dev.1 #
Note: This release has breaking changes.
- BREAKING FIX: properly generate nullable types for nullable elements in Lists (#445).
0.8.0-dev.0 #
Note: This release has breaking changes.
- BREAKING FEAT: respect skip/include directives when checking for partial data (#433).
0.7.2 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
0.7.2-dev.0 #
- FEAT: generate possibleTypesMap in ferry_generator (#371).
0.7.1 #
- FEAT: generate possibleTypesMap in ferry_generator (#371).
0.7.0 #
- FIX: Streamline typename handling #359
0.6.1 #
- FIX: Preserve backwards compatibility with dataIdFromObject (#368).
- FIX: Streamline typename handling (#359).
- FIX: Streamline typename handling.
0.7.0-dev.1 #
- FIX: Streamline typename handling (#359).
- FIX: Streamline typename handling.
0.6.0+1 #
- TEST: add fragment variable test.
- FIX: Broken fragment spreads.
- CHORE: publish packages.
- CHORE: publish packages.
0.6.0 #
- Require possible types map to correctly disambiguate fragments
0.5.6-dev.1 #
- FIX: add dispose method to TypedLinks (#272).
- FEAT: add Reviews subscription to test graphql.
- CHORE: publish packages.
- CHORE: publish packages.
- CHORE: restructure repo (#269).
0.5.5-dev.8 #
- DOCS: remove stale code (#271).
0.5.5-dev.7 #
- FIX: add dispose method to TypedLinks (#272).
0.5.5-dev.6 #
- FIX: add missing dependencies (#268).
0.5.5-dev.5 #
- FIX: add missing dependencies (#267).
0.5.5-dev.4 #
- FIX: add missing override annotations (#261).
0.5.5-dev.3 #
- FEAT: add github action for validating formatting (#260).
0.5.5-dev.2 #
- FEAT: add extensions to response (#259).
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)