All Versions
32
Latest Version
Avg Release Cycle
112 days
Latest Release
12 days ago

Changelog History
Page 4

  • v1.6.2 Changes

    August 01, 2018

    1.6.2

    ๐Ÿ›  Fixed:

    • ๐Ÿ›  Fix relay-runtime main entry for OSS
    • ๐Ÿ›  Fix documentation page for Mutations
  • v1.6.1 Changes

    July 30, 2018

    Commits: v1.6.0...master

    Potentially Breaking:

    • โฌ†๏ธ Bump graphql peer dependency to ^0.13.0
    • ๐Ÿ‘‰ Use React.forwardRef. This is a breaking change for people relying on the relayContainer.refs.component implementation detail.

    ๐Ÿ†• New:

    • Introduce @relay(mask: false) directive for fragment *definitions: *Applied to a fragment definition, @relay(mask: false) changes the generated Flow types to be more usable when the fragment is spread with the same directive; The Flow types will no longer be exact objects and no longer contain internal marker fields.

    ๐Ÿ›  Fixed:

    • ๐Ÿ›  Fix pagination after using refetchConnection in Pagination Container
    • Use aliases for __typename generated fields in the union (#2465)
    • ๐Ÿ›  Fix issue in React Async mode where container would render inconsistent data if rendering was interrupted.
    • RelayConnectionHandler now properly writes page_info after refetching a connection
    • ๐Ÿ›  Fix issue where RelayContainerUtils didn't recognize React.forwardRef as React.Component
    • โšก๏ธ Properly guard agains errors thrown inside mutation or subscription updater functions

    ๐Ÿ‘Œ Improved:

    • ๐Ÿ“ฆ De-hastify relay-runtime, set main entry in relay-runtime package.json.
    • dedupeJSONStringify is now more effective
    • Speed up relay-compiler by caching client schema extensions.
    • โšก๏ธ Expose applyOptimisticUpdate on RelayModern.
    • relay-compiler can now compile JS files with optionalChaining syntax.
    • relay-compiler can now compile JS files with nullishCoalescingOperator syntax.
    • relay-compiler can now compile JS files with optionalCatchBinding syntax.
    • โš  relay-compiler has better warnings when required variables are not passed in.
    • relay-compiler now generates operation Flow types: 5d83328.
    • โฌ†๏ธ Bump fbjs dependency to 0.8.17.
    • โฌ†๏ธ Bump fast-glob dependency to 2.2.2.
    • ๐Ÿ“š Several documentation improvements.