Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5.6 KiB
@verdaccio/core
6.0.0-6-next.61
6.0.0-6-next.60
6.0.0-6-next.59
6.0.0-6-next.58
6.0.0-6-next.57
6.0.0-6-next.56
6.0.0-6-next.55
Patch Changes
9718e033
: fix: build targets for 5x modules
6.0.0-6-next.54
Minor Changes
ef88da3b
: feat: improve support for fs promises older nodejs
6.0.0-6-next.53
6.0.0-6-next.52
6.0.0-6-next.51
Minor Changes
-
4b29d715
: chore: move improvements from v5 to v6Migrate improvements form v5 to v6:
6.0.0-6-next.50
6.0.0-6-next.49
6.0.0-6-next.48
Minor Changes
62c24b63
: feat: add passwordValidationRegex property
Patch Changes
43f32687
: fix: abbreviated headers handle quality values
6.0.0-6-next.47
6.0.0-6-next.8
Patch Changes
b849128d
: fix: handle upload scoped tarball
6.0.0-6-next.7
Patch Changes
351aeeaa
: fix(deps): @verdaccio/utils should be a prod dep of local-storage
6.0.0-6-next.6
Major Changes
-
292c0a37
: feat!: replace deprecated request dependency by gotThis 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.
- Remove deprecated
-
a3a209b5
: feat: migrate to pino.js 8
Minor Changes
-
00d1d2a1
: chore: env variable for launch fastify- Update fastify to major release
v4.3.0
- Update CLI launcher
via CLI
VERDACCIO_SERVER=fastify verdaccio
with docker
docker run -it --rm --name verdaccio \ -e "VERDACCIO_SERVER=8080" -p 8080:8080 \ -e "VERDACCIO_SERVER=fastify" \ verdaccio/verdaccio
- Update fastify to major release
6.0.0-6-next.5
Major Changes
-
82cb0f2b
: feat!: config.logs throw an error, logging config not longer accept array or logs property💥 Breaking change
This is valid
log: { type: stdout, format: pretty, level: http }
This is invalid
logs: { type: stdout, format: pretty, level: http }
or
logs: - [{ type: stdout, format: pretty, level: http }]
Minor Changes
-
5167bb52
: feat: ui search support for remote, local and private packagesThe command
npm search
search globally and return all matches, with this improvement the user interface is powered with the same capabilities.The UI also tag where is the origin the package with a tag, also provide the latest version and description of the package.
6.0.0-6-next.4
Minor Changes
24b9be02
: refactor: improve docker image build with strict dependencies and prod build
6.0.0-6-next.3
Minor Changes
6c1eb021
: feat: use warning codes for deprecation warnings
6.0.0-6-next.2
Major Changes
-
794af76c
: Remove Node 12 support- We need move to the new
undici
and does not support Node.js 12
- We need move to the new
Minor Changes
154b2ecd
: refactor: remove @verdaccio/commons-api in favor @verdaccio/core and remove duplications
6.0.0-6-next.1
Major Changes
-
459b6fa7
: refactor: search v1 endpoint and local-database- refactor search
api v1
endpoint, improve performance - remove usage of
async
dependency https://github.com/verdaccio/verdaccio/issues/1225 - refactor method storage class
- create new module
core
to reduce the ammount of modules with utilities - use
undici
insteadnode-fetch
- use
fastify
insteadexpress
for functional test
Breaking changes
- plugin storage API changes
- remove old search endpoint (return 404)
- filter local private packages at plugin level
The storage api changes for methods
get
,add
,remove
as promise base. Thesearch
methods also changes and recieves aquery
object that contains all query params from the client.export interface IPluginStorage<T> extends IPlugin { add(name: string): Promise<void>; remove(name: string): Promise<void>; get(): Promise<any>; init(): Promise<void>; getSecret(): Promise<string>; setSecret(secret: string): Promise<any>; getPackageStorage(packageInfo: string): IPackageStorage; search(query: searchUtils.SearchQuery): Promise<searchUtils.SearchItem[]>; saveToken(token: Token): Promise<any>; deleteToken(user: string, tokenKey: string): Promise<any>; readTokens(filter: TokenFilter): Promise<Token[]>; }
- refactor search