Skip to content

Releases: jaydenseric/apollo-upload-client

Version 6.0.1

13 Nov 01:52
Compare
Choose a tag to compare
  • Updated dependencies. Fixes broken core-js imports due to @babel/polyfill@7.0.0-beta.32.
  • Configured prettier to no longer hard wrap markdown prose.
  • Fixed an Apollo link in the readme.
  • Misc. readme and changelog typo fixes.
  • Externally host the readme logo again to fix display in npm. See npm/www#272.

Version 6.0.0

10 Nov 01:31
Compare
Choose a tag to compare
  • Updated prettier.
  • No longer publish the src directory.
  • Readme API documentation fixes:
    • Corrected React Native example code import via #39.
    • Updated createUploadLink options.
  • Includes the pre-release changes:

Version 6.0.0-beta.3

09 Nov 06:56
Compare
Choose a tag to compare
Version 6.0.0-beta.3 Pre-release
Pre-release
  • Corrected network error handling, fixing #38.

Version 6.0.0-beta.2

09 Nov 02:29
Compare
Choose a tag to compare
Version 6.0.0-beta.2 Pre-release
Pre-release
  • Match the apollo-link-http API and support setting credentials and headers directly on the link and via context, fixing #36.
  • Fixed a bug that can cause the wrong content-type: application/json header to be used when uploading.
  • Updated change log Apollo documentation links.
  • Change log is now prettier.

Version 6.0.0-beta.1

08 Nov 02:41
Compare
Choose a tag to compare
Version 6.0.0-beta.1 Pre-release
Pre-release
  • Updated dependencies.
  • Apollo Client v2 compatibility:
    • Export a terminating Apollo Link instead of custom network interfaces.
    • New apollo-link and graphql peer dependencies.
  • Rejigged package scripts.
  • Updated Prettier and ESLint config.
  • Lint errors when attempting to commit partially staged files no longer commits the whole file.
  • Using Babel v7 directly instead of Rollup.
  • Using babel-preset-env to handle polyfills so only required ones are included for our level of browser support.
  • Using prettier to format distribution code as well as source code.
  • No more source maps, as Prettier does not support them.
  • Renamed dist directory to lib.
  • Module files now have .mjs extension.
  • Removed babel-eslint as the vanilla parser works fine.
  • Readme improvements:
    • Relative logo path.
    • Added links to badges.
    • Simplified code examples.
    • Mark relevant example code blocks as JSX instead of JS.
    • Removed the inspiration links; they are less relevant to the evolved codebase.

Version 5.1.1

11 Aug 05:08
Compare
Choose a tag to compare
  • Updated dependencies.
  • Readme fixes:
    • Fixed usage example code for ReactNativeFile.list.
    • Fixed capitalization of ‘npm’.

Version 5.1.0

13 Jul 04:32
Compare
Choose a tag to compare
  • Updated dependencies.
  • Readme tweaks including a new licence badge.
  • Fixed Rollup build warnings.
  • Fixed an npm v5 warning by using prepublishOnly instead of prepublish.
  • Refactored network interfaces; moved file extraction logic and ReactNativeFile to a seperate extract-files package.

Version 5.0.0.

25 Jun 14:39
Compare
Choose a tag to compare
  • Removed package-lock.json. Lockfiles are not recommended for packages.
  • Readme tweaks and fixes:
    • Renamed the File input type Upload for clarity.
    • Wording and formatting improvements.

Version 5.0.0-alpha.1

24 Jun 11:21
Compare
Choose a tag to compare
Version 5.0.0-alpha.1 Pre-release
Pre-release
  • Updated dependencies.
  • Simplified React Native setup by moving Babel config out of package.json, fixing #19 via #23.
  • Export a new ReactNativeFile class to more reliably identify files for upload in React Native, via #17.
  • Renamed several exports for consistency with apollo-client, via #18.
    • HTTPUploadNetworkInterface renamed UploadHTTPFetchNetworkInterface.
    • HTTPUploadBatchNetworkInterface renamed UploadHTTPBatchedNetworkInterface.
    • createBatchNetworkInterface renamed createBatchingNetworkInterface.

Version 4.1.1

23 Jun 08:06
Compare
Choose a tag to compare
  • Updated dependencies.
  • Compatibility changes for apollo-client@1.5.0:
    • Prevent a query batching error caused by an API change, fixing #20.
    • Support the new batchMax option in createBatchNetworkInterface.