Skip to content

Latest commit

 

History

History
74 lines (48 loc) · 4.48 KB

CHANGELOG.md

File metadata and controls

74 lines (48 loc) · 4.48 KB

Change log

Versions

v0.next

v0.4.0

Breaking changes around path-variable replacement and pathBuilder (previously undocumented, #132).

  • Breaking Change: paths now have a new style for variable replacement. (Old style is marked as deprecated, but will still work until v0.5.0). The migration should be easy in most cases /path/:foo => /path/{args.foo}
  • Breaking Change: pathBuilder signature changes to give them access to context & other data #131 and support optional Values #130
  • Breaking Change: BodyBuilder signature changes to give them access to context & other data (for consistency with pathBuilder)
  • Fix/Feature: Queries that fetch Scalar values or Arrays of scalar values should now work! #129

v0.3.1

  • Fix: Fetch Response bodies can only be "read" once after which they throw "Already Read" -- this prevented us from properly speculatively parsing the error bodies outside of a test environment. #122
  • Fix: Some browsers explode when you send null to them! #121

v0.3.0

  • Feature: Expose Headers from REST responses to the apollo-link chain via context. #106
  • Feature: Expose HTTP-error REST responses as JSON if available! #94
  • Feature: Add @type(name: ) as an alternative, lighter-weight system for tagging Nested objects with __typenames! #72
  • Feature: Support "No-Content" responses! #107 #111
  • Feature: Support serializing the body of REST calls with formats other than JSON #103
  • Fix: Bundle-size / Tree Shaking issues #99
  • Fix: Dependency tweaks to prevent multiple versions of deps #105
  • Fix: GraphQL Nested Aliases - #113 #7

v0.2.4

  • Enable JSDoc comments for TypeScript!
  • Add in-repo copy of docs so PRs can make changes to docs in sync with implementation changes.
  • Fixed a bug with recursive type-patching around arrays.
  • Fixed a bug in default URI assignment! #91

v0.2.3

  • Fix: react-native: Android boolean responses being iterated by fieldNameNormalizer throws an error #89

v0.2.2

  • Fix: Queries with Arrays & omitted fields would treat those fields as required (and fail) #85

v0.2.1

  • Fix: Query throws an error when path-parameter is falsy #82
  • Fix: Concurrency bug when multiple requests are in flight and both use @export(as:) #81
  • Fix: fieldNameNormalizer/fieldNameDenormalizer should now be working! #80
  • Improvement: Jest should now report code-coverage correctly for Unit Tests on PRs!

v0.2.0

  • Feature: Support Handling Non-success HTTP Status Codes
  • Feature: Dynamic Paths & Query building using pathBuilder
  • Improvement: Sourcemaps should now be more TypeScript aware (via rollup changes) see #76 for more up-to-date info.

v0.1.0

Dropping the alpha tag, but keeping the pre-1.0 nature of this project!

Recent changes:

  • Fix/Feature: Ability to have deeply nested responses that have __typename set correctly. See typePatcher for more details
  • Fix: Real-world mutations need their bodies serialized. Mock-fetch allowed incorrect tests to be written. thanks @fabien0102
  • Feature: Bodies for mutations can be custom-built.

v0.0.1-alpha.1

v0.0.1-alpha.0

  • First publish