Releases: apollographql/apollo-link-rest
v0.4.4
New in v0.4.4
- Expose an internal helper class (PathBuilder) for experimentation
v0.4.x
- Fix: Bad regexp causes path-replacements with multiple replacement slots to fail #135
- Fix: Correctly slicing nested key-paths #134
- Fix: Improve Types for ServerError #133
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 withpathBuilder
) - Fix/Feature: Queries that fetch Scalar values or Arrays of scalar values should now work! #129
Tickets from this milestone: https://github.com/apollographql/apollo-link-rest/milestone/4
v0.4.3
New in v0.4.3
- Expose an internal helper class (PathBuilder) for experimentation
v0.4.x
- Fix: Bad regexp causes path-replacements with multiple replacement slots to fail #135
- Fix: Correctly slicing nested key-paths #134
- Fix: Improve Types for ServerError #133
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 withpathBuilder
) - Fix/Feature: Queries that fetch Scalar values or Arrays of scalar values should now work! #129
Tickets from this milestone: https://github.com/apollographql/apollo-link-rest/milestone/4
v0.4.2
New in v0.4.2
- Fix: Bad regexp causes path-replacements with multiple replacement slots to fail #135
v0.4.x
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 withpathBuilder
) - Fix/Feature: Queries that fetch Scalar values or Arrays of scalar values should now work! #129
Tickets from this milestone: https://github.com/apollographql/apollo-link-rest/milestone/4
v0.4.1
New in v0.4.1
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 withpathBuilder
) - Fix/Feature: Queries that fetch Scalar values or Arrays of scalar values should now work! #129
Tickets from this milestone: https://github.com/apollographql/apollo-link-rest/milestone/4
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 withpathBuilder
) - Fix/Feature: Queries that fetch Scalar values or Arrays of scalar values should now work! #129
Tickets from this milestone: https://github.com/apollographql/apollo-link-rest/milestone/4
v0.3.1
New
- 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.x
- 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.3.0
New
- 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
New
- 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.x Improvements
- Fix: react-native: Android boolean responses being iterated by fieldNameNormalizer throws an error #89
- Fix: Queries with Arrays & omitted fields would treat those fields as required (and fail) #85
- 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!
- 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.2.3
New
- Fix: react-native: Android boolean responses being iterated by fieldNameNormalizer throws an error #89
v0.2.x Improvements
- Fix: Queries with Arrays & omitted fields would treat those fields as required (and fail) #85
- 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!
- 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.2.2
New
- Fix: Queries with Arrays & omitted fields would treat those fields as required (and fail) #85
v0.2.x - Other Changes
- 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!
- 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.