Skip to main content

Release 4.1.0

ยท 3 min read

Verdaccio keeps growing thanks to their users. This release is a minor one we do every month, for further information about our releases can be read here.

Furthermore, the info about the release is also available at GitHub releases page.

We have some highlights to share:

If you ๐Ÿ˜ Verdaccio as we do, helps us to grow more donating to the project via OpenCollective.

Thanks for support Verdaccio ! ๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘.

Use this versionโ€‹


docker pull verdaccio/verdaccio:4.1.0


npm install -g verdaccio@4.1.0

New Featuresโ€‹

Filter plugin for packages by @mlucoolโ€‹

Verdaccio now support plugin filters, we are just starting with filter metadata.

It gets a current copy of a package metadata and may choose to modify it as required. For example, this may be used to block a bad version of a package or add a time delay from when new packages can be used from your registry. Errors in a filter will cause a 404, similar to upLinkErrors as it is not safe to recover gracefully from them.

The configuration would looks like

filter_file: /path/to/file

The current API for the plugin is

interface IPluginStorageFilter<T> extends IPlugin<T> {
filter_metadata(packageInfo: Package): Promise<Package>;

This system might be extended in the future, we are trying this approach at this stage.

parse YAML/JSON/JS config file by @honzahommerโ€‹

Now, Verdaccio is able to understand JSON format for configuration files.

verdaccio --config /myPath/verdaccio.json

New CLI command verdaccio --info by @jamesgeorge007โ€‹

The new verdaccio --info command will display information of your environment, this sort of information is handy in order to report any bug.

$ verdaccio --info

Environment Info:

OS: macOS 10.14
CPU: (4) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
Node: 10.15.0 - ~/.nvm/versions/node/v10.15.0/bin/node
Yarn: 1.16.0 - ~/.nvm/versions/node/v10.15.0/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v10.15.0/bin/npm
Docker: 19.03.0 - /usr/local/bin/docker
Chrome: 75.0.3770.100
Firefox: 67.0.3
Safari: 12.0
verdaccio: 4.0.0