Releases: SmartsquareGmbH/delete-old-packages
Releases · SmartsquareGmbH/delete-old-packages
0.8.1
What's Changed
- Various dependency updates and project structure improvements.
v0.8.0
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
⚠️ 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
- Support for npm.pkg.github.com packages. See the update README.
- Dependency updates.
v0.5.0
⚠️ 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
.
- To keep this package simple, this option has been removed. Very similar results can be achieved with
- 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
- Adjust for change in GitHub API (thanks to @nickdandakis!).
- Update dependencies.
v0.3.3
- Fix deprecation warning.
- Improve logging.
- Update dependencies.
v0.3.2
- Fix a special case in single version queries.
- Update dependencies.
v0.3.1
- Fix warning when using
user
,organization
orsemver-pattern
parameter. - Update dependencies.
v0.3.0
- Restructure action to make it possible to query packages by owner/repo, user or organization (new inputs:
user
andorganization
). 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.