mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
2.0 KiB
2.0 KiB
@verdaccio/api | @verdaccio/auth | @verdaccio/cli | @verdaccio/config | @verdaccio/core | @verdaccio/file-locking | @verdaccio/readme | @verdaccio/tarball | @verdaccio/types | @verdaccio/url | @verdaccio/hooks | @verdaccio/loaders | @verdaccio/logger | @verdaccio/logger-prettify | @verdaccio/middleware | @verdaccio/node-api | verdaccio-audit | verdaccio-auth-memory | verdaccio-htpasswd | @verdaccio/local-storage | verdaccio-memory | @verdaccio/ui-theme | @verdaccio/proxy | @verdaccio/server | @verdaccio/store | @verdaccio/utils | verdaccio | @verdaccio/web |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
major | major | major | major | major | major | major | major | major | major | major | major | major | major | major | major | major | major | major | major | major | major | major | major | major | major | major | major |
feat!: replace deprecated request dependency by got
This is a big refactoring of the core, fetching dependencies, improve code, more tests and better stability. This is essential for the next release, will take some time but would allow modularize more the core.
Notes
- Remove deprecated
request
by othergot
, retry improved, custom Agent ( got does not include it built-in) - Remove
async
dependency from storage (used by core) it was linked with proxy somehow safe to remove now - Refactor with promises instead callback wherever is possible
Document the API- Improve testing, integration tests
- Bugfix
- Clean up old validations
- Improve performance
💥 Breaking changes
- Plugin API methods were callbacks based are returning promises, this will break current storage plugins, check documentation for upgrade.
- Write Tarball, Read Tarball methods parameters change, a new set of options like
AbortController
signals are being provided to theaddAbortSignal
can be internally used with Streams when a request is aborted. eg:addAbortSignal(signal, fs.createReadStream(pathName));
@verdaccio/streams
stream abort support is legacy is being deprecated removed- Remove AWS and Google Cloud packages for future refactoring #2574.