Skip to content

Latest commit

 

History

History
405 lines (254 loc) · 12.7 KB

CHANGELOG.md

File metadata and controls

405 lines (254 loc) · 12.7 KB

npm-update-dependencies Changelog

3.6.1 - 2024-11-30

Changed

  • Improve the contrast ratio for the "unmaintained" dependencies banner (#160)

Fixed

  • Fix crash during repositories fetching with bad network conditions

3.6.0 - 2024-11-11

Added

  • Add a dedicated banner for "unmaintained" dependencies (#154)
    • This replaces the previous integration within the deprecation banner
  • Add support for packages with multiple channels, automatically picking the relevant one (#150)
  • Allow choosing a default action for "unmaintained" dependencies

Fixed

  • Correctly handle non-200 HTTP responses from npm registries
  • Improve code to avoid using npm shell command from the plugin as much as possible (#104)
  • Add missing registry scan purging to the "Invalidate Caches" action
  • Fix mass deprecations deletion incorrectly targeting "unmaintained" dependencies
  • Fix "unmaintained" dependencies exclusion setting not always being respected
  • Fix packageManager update being incorrectly counted twice in the status bar widget

3.5.0 - 2024-10-26

Added

  • Update the packageManager from the Update All actions

Changed

  • Broaden the deprecation replacement detection algorithm

Fixed

  • Fix broken support for dependency versions >= 10.0.0
  • Fix "Invalidate Scan Caches" action not working as expected
  • Fix support for styled-components package, previously limited due to a bug in a dependency

3.4.0 - 2024-10-13

Added

  • Add a suggestion to replace vague version tags like latest or next with their actual current version
    • Can be disabled in the settings
  • Add support for npm:-prefixed comparators

Changed

  • Add back the ability to check for updates on static comparators (#148)
    • This feature was intentionally removed in 3.1.0 but is now back as an option in the settings
  • Widen the kind of dependencies that can be checked for deprecations

Fixed

  • Fix plugin hanging forever when scanning for registries (#146)
  • Fix wrong order being applied for unmaintained dependencies quick-fixes

3.3.0 - 2024-10-07

Added

  • Add warnings for unmaintained dependencies (#140)
    • Dependencies are considered likely unmaintained if they have not been updated for a long time, configurable in the settings
  • Suggest replacing a deprecated dependency with its latest version when applicable

Fixed

  • Fix inaccurate cache invalidation when tweaking excluded packages setting
  • Fix some deprecations not being detected
  • Fix deprecation replacement action sometimes leading to weird results when auto-sorting is enabled
  • (Likely) fix a concurrency crash (#144)

3.2.1 - 2024-09-30

Fixed

  • Fix a crash when no packageManager tag is present in the package.json file

3.2.0 - 2024-09-28

Added

  • Add support for updating the packageManager tag
  • Add HTTP caching for some requests to the npm registry, improving performance (#135)
  • Attempt to batch registries scan without network requests before falling back to the original behavior, speeding up the first scan (#136)
    • Many thanks to @SCjona for the whole 3.1.0 and the two issues of this release!

Fixed

  • Remove a useless call to the local npm command when checking for deprecations, slightly speeding up the scan (#136)

3.1.0 - 2024-09-25

Changed

  • Cache the "no deprecation" and "no update" status, avoiding checking everytime (#129)
  • Cache the comparator compared upon, avoiding re-scanning the same dependency multiple times (#129)
  • Invalidate the cache after a configurable amount of time (#129)
  • Check the validity of a comparator before trying to scan for deprecations, as already done for updates (#130)
  • Improve the accuracy of the comparator validity verifier (#130)

3.0.2 - 2024-09-13

Fixed

  • Fix compatibility with 2024.3 IDEs

3.0.1 - 2024-09-03

Fixed

  • Fix false deprecated field flagging dependencies as deprecated (#122)
  • Fix registry affectation logic freezing the plugin

3.0.0 - 2024-08-01

Removed

  • Drop support for 2022.1 and 2022.2 IDEs (#116)

2.3.3 - 2024-06-15

Fixed

  • Fix plugin hanging forever when trying to find a dependency's registry (#110)
  • Mitigate crashes when checking version for some dependencies (#109)

2.3.2 - 2024-05-17

Fixed

  • Fix compatibility with 2024.2 IDEs

2.3.1 - 2024-05-10

Changed

  • Improve logic related to registries scanning, avoiding rare duplicated checks
  • Retry failed shell commands up to 2 times before giving up, improving success rate
  • Other code improvements and optimizations

Fixed

  • Fix status bar sometimes not being updated correctly (#102)
  • Fix high CPU usage when scanning for registries
  • Fix a crash when scanning for deprecations

2.3.0 - 2024-05-03

Added

  • Introduce a setting to customize the maximum amount of simultaneous scans

Changed

  • Slightly improve performance on scans startup
  • Logic improvements for scanners

Fixed

  • Fix a rare crash with the status bar when navigating between projects (#99)
  • Fix cached updates not being used when they should

2.2.1 - 2024-04-26

Changed

  • Improve crash reporter to include more relevant information

Fixed

  • Fix a library crash due to a version parsing logic problem (#94)
  • Fix yet another (last one) compatibility issue with newer versions (2024.1+) (#94)

2.2.0 - 2024-04-17

Added

  • Introduce the long-awaited blacklist feature
    • Allows ignoring specific versions or whole dependencies from being updated
    • Blacklist entries can be added right from the update annotation
    • The blacklist can be managed from the settings
    • Supports multiple version selectors for a granular control

2.1.5 - 2024-04-09

Fixed

  • Fix missing crash fix for newer versions (2024.1+) (#88)

2.1.4 - 2024-03-15

Changed

  • Improve caching introduced in 2.1.3

Fixed

  • Fix support for newer versions (2024.1+)

2.1.3 - 2024-02-01

Added

  • Add a button to create prefilled GitHub issues from crashes

Fixed

  • Fix support for multiple open projects/windows

2.1.2 - 2023-12-23

Added

  • Add progress indicator to the status bar widget for more granularity (#59)

Changed

  • Revert updates not being checked on deprecated packages
  • Indent the status bar mode setting to make it clearer that it's a sub-setting

Fixed

  • Prevent concurrent updates or deprecations scans from running at the same time

2.1.1 - 2023-12-20

Fixed

  • Fix running the npm command on Windows

2.1.0 - 2023-12-15

Added

  • Add support for private packages (#27)

Fixed

  • Fix support for custom registries
  • Fix a crash when parsing x-range versions (#51)
  • Fix a potential error when fetching package info from npm registry

2.0.1 - 2023-10-24

Changed

  • Improve replacement package detection algorithm for deprecated dependencies

Fixed

  • Fix a rare crash due to an old dependency (#41)

2.0.0 - 2023-10-08

Added

  • Add support for 2023.3 IDEs

Removed

  • Remove support for 2021 IDEs

Fixed

  • Fix the deprecation banner displaying all actions, no matter if they were actually available or not

1.3.0 - 2023-05-12

Added

  • Automatically fetch package's NPM registry info on scan, adding support for custom registries (#7)

Fixed

  • Fix changelog for 1.2.0 release, visit v1.2.0 release for the actual changes

1.2.0 - 2023-04-23

Added

  • Add the option to remove a deprecated dependency
  • Add a banner to notify of deprecated dependencies
  • Add the ability to automatically reorder dependencies after replacing deprecated ones
  • Add a status bar widget indicating the scan progress and the list of outdated and deprecated dependencies
  • Add an option to auto-fix on save (applying the default update type and deprecation action)
    • A tooltip will be displayed when the file is modified by auto-fix
  • Add settings (in Settings > Tools) related to the new features but also to:
    • Choose default update type
    • Choose default deprecation action
  • Add keyboard shortcuts for menu actions

Changed

  • All write actions performed by the plugin now have a label in the undo stack
  • Globally improve updates scanning engine
  • Improve satisfying version detection

Fixed

  • Fix a bug where the plugin would prevent other annotators from working (#6)

1.1.2 - 2023-03-20

Fixed

  • Fix a rare crash occurring when scanning for updates

1.1.1 - 2023-03-11

Fixed

  • Fix updated dependencies still being marked as outdated

1.1.0 - 2023-03-10

Added

  • Add detection of deprecated dependencies, with an option to replace them by recommended ones
  • Add an option to manually invalidate the cache (both for updates and deprecations)

Changed

  • Rework the plugin's icon and asset
  • Redesign the menu group actions
  • Drastically improve speed of scans
  • Improve performance of batch updates (when using “Update all” buttons)

Fixed

  • Fix 'Update All (Satisfying)' button replacing versions with “null”
  • Fix cache not always being used when it should
  • Fix some typos

1.0.1 - 2023-03-06

Added

  • Enlarge plugin compatibility range

Fixed

  • Fix plugin crash when failing to fetch package info from npm registry
  • Fix blocked UI when fetching package info from npm registry
  • Fix satisfying version being the same as the current one

1.0.0 - 2023-02-20

Added

  • Initial release