Skip to content

v3.0.0

Compare
Choose a tag to compare
@mskelton mskelton released this 26 May 04:02
· 22 commits to main since this release
a25aa80

It's been a while since we've had a release, but hold on to your seats because this release is packed with new features and improvements!

Improved workspace filtering

Previously, there was the option to include only the current workspace using the --workspace flag. This suited most use cases, but we've greatly improved this flag with support for workspace filtering. You can now filter workspaces by name or path using glob patterns!

yarn outdated --workspace 'packages/*'
yarn outdated --workspace package-a

You can also include multiple filters if you'd like!

yarn outdated --workspace test --workspace 'packages/*'

Note, the --workspace option can no longer be called without an argument. To include the current workspace, simply add a period as the argument.

yarn outdated .

New --range flag

Previously, only the latest version of dependencies was included in the output. While this remains the default for simplicity and performance, we've added a brand new --range flag which will also include the latest version that satisfies the range specified in your manifest file.

For example if you have "glob": "^7.2.0" in your manifest, the output with this flag might look something like this.

➤ YN0000: Package   Current   Range   Latest   Package Type
➤ YN0000: glob      7.2.0     7.2.3   8.0.3    devDependencies

Expanded documentation

The docs for this plugin have always been a bit lacking. Good news, all options now have detailed documentation in the readme with usage examples!

Allow multiple severity filters

Previously, the --severity flag could only be specified once. You can now specify it multiple times to support more use cases that we heard from the community. For example, to include all non-major version updates, you can use the following command.

yarn outdated --severity patch --severity minor

If your shell supports bracket expansion (most do), this command could be simplified a bit.

yarn outdated --severity={patch,minor}

Full Changelog: v2...v3.0.0