Skip to content

Releases: SmartsquareGmbH/delete-old-packages

0.8.1

09 Sep 09:54
Compare
Choose a tag to compare

What's Changed

  • Various dependency updates and project structure improvements.

v0.8.0

26 Feb 17:38
Compare
Choose a tag to compare

What's Changed

  • The 20 package limit has been removed.
  • Rate limit handling is now enabled by default.
  • Whole packages are deleted if the last version is deleted. Previously the action failed for such cases.
  • Improvements for error handling. The messages should be better and the action should not print unrelated data.
  • Various internal refactoring and dependency updates (including update to Node.js 20).

Big thanks to @tisoft for implementing some of these changes!

v0.7.0

14 Apr 08:51
Compare
Choose a tag to compare

⚠️ This release includes breaking changes!

This release features a larger rework of the internal GitHub API usage. Previously, either the REST API or the GraphQL API was used, based on the input parameters. Since the needed functionally has been removed from the GraphQL API, we now exclusively use the REST API. See the updated README for an overview.

  • Breaking: The type input is required now.
  • Breaking: Removal of the repo/owner strategy. The API does not support it anymore, all packages need to be either organization or user bound.
  • Support for rate limiting. Disabled by default for now. Can be enabled via the rate-limit input.
  • Dependency updates.

Big thanks to @prom3theu5 for implementing these changes!

v0.6.0

14 Nov 15:35
Compare
Choose a tag to compare
  • Support for npm.pkg.github.com packages. See the update README.
  • Dependency updates.

v0.5.0

24 Aug 16:07
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

⚠️ This release includes breaking changes!

  • Breaking: Removed version option.
    • To keep this package simple, this option has been removed. Very similar results can be achieved with semver-pattern.
  • Potentially breaking: Rewrite in TypeScript.
  • Support for ghcr.io packages. See the new section in the README.
  • Improved error handling and logging.
  • New type option.

Since this release includes major changes and has not been tested as much as previous versions, it is marked as a pre-release. Please try it with the dry-run option and report bugs or missing features!

v0.4.0

28 Feb 21:46
Compare
Choose a tag to compare
  • Adjust for change in GitHub API (thanks to @nickdandakis!).
  • Update dependencies.

v0.3.3

18 Nov 16:57
Compare
Choose a tag to compare
  • Fix deprecation warning.
  • Improve logging.
  • Update dependencies.

v0.3.2

25 Sep 14:09
Compare
Choose a tag to compare
  • Fix a special case in single version queries.
  • Update dependencies.

v0.3.1

09 Apr 12:59
Compare
Choose a tag to compare
  • Fix warning when using user, organization or semver-pattern parameter.
  • Update dependencies.

v0.3.0

26 Mar 15:10
Compare
Choose a tag to compare
  • Restructure action to make it possible to query packages by owner/repo, user or organization (new inputs: user and organization). The default behaviour of using the current repository this actions runs in remains the same.
  • New dry-run input for trying the action without actually deleting packages.
  • New semver-pattern input for specifying versions to delete by the semver range syntax instead of a regex.