You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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!
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
flagPreviously, 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.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.If your shell supports bracket expansion (most do), this command could be simplified a bit.
Full Changelog: v2...v3.0.0
This discussion was created from the release v3.0.0.
Beta Was this translation helpful? Give feedback.
All reactions