apollo-upload-client
Advanced tools
Changelog
14.0.0
^10.17.0 || ^12.0.0 || >= 13.7.0
.exports
field with conditional exports to support native ESM in Node.js and keep internal code private, whilst avoiding the dual package hazard. Published files have been reorganized, so previously undocumented deep imports will need to be rewritten according to the newly documented paths.@apollo/client
v3, fixing #174 via #175.graphql
peer dependency to support a wider range of package managers, via #196.npm install-test
command.overrides
to ensure .js
files are parsed as scripts, eliminating Babel interopRequireDefault
helpers from transpilation output.ReactNativeFileSubstitute
code example.import
instead of require
.Changelog
13.0.0
createUploadLink
options:
isExtractableFile
FormData
formDataAppendFile
createUploadLink
option defaults:
isExtractableFile
formDataAppendFile
eslint-plugin-import-order-alphabetical
dev dependency.size-limit
dev dependency.husky
and lint-staged
.babel.config.js
to src/.babelrc.json
.prepare:prettier
and test:prettier
scripts.semi
to the default, true
.package-lock.json
from .gitignore
and .prettierignore
as it’s disabled in .npmrc
anyway.Changelog
12.1.0
.github/funding.yml
to display a sponsor button in GitHub.package.json
funding
field to enable npm CLI funding features.Changelog
12.0.0
eslint
dev dependency now supports. This is unlikely to be a breaking change for the published package.eslint-plugin-jsdoc
dev dependency.size-limit
dev dependency with @size-limit/preset-small-lib
.AbortController
instance if signal
is not already set in fetch options, fixing #162 via #169.@apollo/react-hooks
.Changelog
11.0.0
@babel/runtime
dependency and @babel/plugin-transform-runtime
dev dependency.Changelog
10.0.1
package.json
by moving dev tool config to files. This also prevents editor extensions such as Prettier and ESLint from detecting config and attempting to operate when opening package files installed in node_modules
.prepublishOnly
script.Changelog
10.0.0
extract-files
dependency to v5:
Changelog
9.1.0
> 1%
to > 0.5%, not dead
.browserslist
field due to a sneaky @babel/preset-env
breaking change, fixing #124.Changelog
9.0.0
apollo-link
a dependency, instead of a peer dependency.module
entry and the "ESM" build, which was .js
and not proper native ESM for Node.js via .mjs
as Apollo dependencies don’t support it.@babel/runtime
dependency.extract-files
API.jsdoc-md
to generate readme API docs from source JSDoc, which has been improved.react-apollo
Mutation
component instead of the graphql
decorator.test:size
script, using size-limit
to guarantee < 1 KB CJS bundle sizes..yml
files.npm-run-all
dev dependency.master
branch.Changelog
8.1.0
.prettierignore
to defer package.json
formatting to npm..babelrc.js
to babel.config.js
and simplified ESLint ignore config.eslint-config-env
..mjs
extension for source.prepare
to support installation via Git (e.g. npm install jaydenseric/apollo-upload-client
).rimraf
and cross-env
dev dependencies. Only *nix environments will be supported for contributing.watch
and fix
scripts.repository
field.package.json
and rarely changes.