Skip to content

Update graphql-upload to the latest version 🚀 #6368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
2 commits merged into from
Jan 28, 2020

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Jan 27, 2020

The dependency graphql-upload was updated from 9.0.0 to 10.0.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Publisher: jaydenseric
License: MIT

Release Notes for Version 10.0.0

Major

  • Updated Node.js support from v8.10+ to v10+, as earlier versions have reached end-of-life.
  • Updated the fs-capacitor dependency to v6, which now requires Node.js v10+, via #179.
  • Updated dev dependencies, some of which now require Node.js v10+.
  • Replaced the tap dev dependency with test-director, coverage-node, and hard-rejection to improve the dev experience and reduce the dev install size by ~75.7 MB. These new dev dependencies require Node.js v10+.
  • Reorganized files. This is only a breaking change for projects using undocumented deep imports.
  • Removed now redundant Node.js version compatibility logic in the processRequest function.
  • The processRequest function now places references to instances of the now exported and documented Upload class in the GraphQL operation for the GraphQLUpload scalar to derive its value, and the GraphQLUpload scalar now throws a GraphQLError when it parses an invalid value, fixing #175 via #181.
  • The GraphQLUpload scalar parseLiteral and serialize methods now throw GraphQLError (instead of Error) instances, with tweaked messages.

Minor

  • The createReadStream function in resolved file uploads now accepts options to configure the encoding and high water mark, fixing #177 via #179.

Patch

  • Removed the now redundant eslint-plugin-import-order-alphabetical and express-async-handler dev dependencies.
  • Stop using husky and lint-staged.
  • Use isobject for checking if values are enumerable, non-array objects.
  • Tests have been massively reorganized, refactored, and improved.
  • Test the GraphQLUpload scalar.
  • Test the ignoreStream function.
  • Moved the Upload class to its own file.
  • Added JSDoc for the Upload class instance property file.
  • Test the Upload class.
  • Improved JSDoc FileUpload typedef description.
  • Removed now redundant eslint-disable-next-line comments.
  • Use strict mode for scripts.
Commits

The new version differs by 61 commits.

  • 9e49692 Version 10.0.0.
  • ec04e1e Update dependencies.
  • adc66df Merge pull request #179 from jaydenseric/feature/highWaterMark
  • 1c037a1 Remove a redundant test.
  • 1d79991 Use an API that works for Node.js < v12.7.0.
  • 91dbd3e Better document createReadStream options.
  • 29e5699 Test createReadStream default options.
  • 889220b Add another test assertion.
  • f2dd44d Use more variables in a test.
  • a62c4b6 FileUploadCreateReadStream typedef documentation fixes.
  • 79a42b0 Fix an incorrect assertion.
  • 6f367ba Fix tests.
  • bd053e9 Merge branch 'master' into feature/highWaterMark
  • 52dea7f Lint fixes.
  • 512fe4a copy descriptions to jsdoc

There are 61 commits in total.

See the full diff


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@ghost ghost added the Merge On Green label Jan 27, 2020
@ghost ghost merged commit 8b8bae7 into master Jan 28, 2020
@codecov
Copy link

codecov bot commented Jan 28, 2020

Codecov Report

Merging #6368 into master will increase coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6368      +/-   ##
==========================================
+ Coverage   93.84%   93.92%   +0.07%     
==========================================
  Files         169      169              
  Lines       11626    11885     +259     
==========================================
+ Hits        10911    11163     +252     
- Misses        715      722       +7
Impacted Files Coverage Δ
src/Routers/PushRouter.js 93.1% <0%> (-3.45%) ⬇️
src/GraphQL/transformers/mutation.js 97.22% <0%> (-0.25%) ⬇️
src/GraphQL/loaders/usersMutations.js 93.91% <0%> (+0.93%) ⬆️
src/GraphQL/loaders/defaultGraphQLTypes.js 98.08% <0%> (+1.04%) ⬆️
src/GraphQL/loaders/filesMutations.js 85.45% <0%> (+3.1%) ⬆️
src/GraphQL/transformers/query.js 81.13% <0%> (+4.38%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ab3665...f57667b. Read the comment docs.

@greenkeeper greenkeeper bot deleted the greenkeeper/graphql-upload-10.0.0 branch January 28, 2020 03:26
UnderratedDev pushed a commit to UnderratedDev/parse-server that referenced this pull request Mar 21, 2020
* fix(package): update graphql-upload to version 10.0.0

* chore(package): update lockfile package-lock.json
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants