Skip to content

Commit d70c541

Browse files
2.0.0 [skip ci]
1 parent af6d799 commit d70c541

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Changes
22

3+
## [2.0.0](https://github.com/prantlf/grab-github-release/compare/v1.0.0...v2.0.0) (2024-04-01)
4+
5+
### Features
6+
7+
* Allow forcing only cache to discover the latest version ([6610088](https://github.com/prantlf/grab-github-release/commit/6610088afe04bc1bf0d9a04833cdae34fe449d33))
8+
* Clear cache by repository path, not by executable name ([c25f03e](https://github.com/prantlf/grab-github-release/commit/c25f03e458703f5761df73290d6a4adad1d9901d))
9+
10+
### BREAKING CHANGES
11+
12+
The mandatory parameter in `options` for `clearCache`
13+
is `repository` instead of `name`. Directories in the cache are named
14+
by the relative repository path instead of by the executable name.
15+
Replace `name` with `repository` in your calls to `clearCache`.
16+
17+
The cache contains directories with relative
18+
repository paths now. Not executable names any more. This
19+
invalidates the cache populated so far. You can clear the cache
20+
by running `grab-github-release --clear-cache` once and start
21+
populating it again.
22+
323
## [1.0.0](https://github.com/prantlf/grab-github-release/compare/v0.2.3...v1.0.0) (2024-03-31)
424

525
### Bug Fixes

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grab-github-release",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "Downloads and optionally unpacks an archive from GitHub release assets for the current platform.",
55
"author": {
66
"name": "Ferdinand Prantl",
@@ -98,4 +98,4 @@
9898
"release",
9999
"assets"
100100
]
101-
}
101+
}

0 commit comments

Comments
 (0)