Releases: jaydenseric/apollo-upload-client
Releases · jaydenseric/apollo-upload-client
Version 6.0.1
- 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
- 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
- Corrected network error handling, fixing #38.
Version 6.0.0-beta.2
- Match the
apollo-link-http
API and support settingcredentials
andheaders
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
- Updated dependencies.
- Apollo Client v2 compatibility:
- Export a terminating Apollo Link instead of custom network interfaces.
- New
apollo-link
andgraphql
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 tolib
. - 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
- Updated dependencies.
- Readme fixes:
- Fixed usage example code for
ReactNativeFile.list
. - Fixed capitalization of ‘npm’.
- Fixed usage example code for
Version 5.1.0
- Updated dependencies.
- Readme tweaks including a new licence badge.
- Fixed Rollup build warnings.
- Fixed an npm v5 warning by using
prepublishOnly
instead ofprepublish
. - Refactored network interfaces; moved file extraction logic and
ReactNativeFile
to a seperateextract-files
package.
Version 5.0.0.
- Removed
package-lock.json
. Lockfiles are not recommended for packages. - Readme tweaks and fixes:
- Renamed the
File
input typeUpload
for clarity. - Wording and formatting improvements.
- Renamed the
Version 5.0.0-alpha.1
- 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
renamedUploadHTTPFetchNetworkInterface
.HTTPUploadBatchNetworkInterface
renamedUploadHTTPBatchedNetworkInterface
.createBatchNetworkInterface
renamedcreateBatchingNetworkInterface
.