Skip to content

Commit 0703534

Browse files
author
Dave Bartolomeo
committed
Update changelog for 2.11.4
1 parent fb60d01 commit 0703534

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,43 @@
1717
you know what to do).
1818
-->
1919

20+
## Release 2.12.4 (2023-03-09)
21+
22+
### Breaking changes
23+
24+
- The default value of the `--mode` switch to `codeql pack install` has changed. The default is now `--mode minimal-update`.
25+
Previously, it was `use-lock`.
26+
27+
### New features
28+
29+
- The per-pack compilation cache has been replaced with a global compilation cache
30+
found within `~/.codeql`.
31+
- `codeql pack install` now uses a new algorithm to determine which versions of
32+
the pack's dependencies to use, based on the [PubGrub](https://nex3.medium.com/pubgrub-2fb6470504f)
33+
algorithm. The new algorithm is able to find a solution for many cases that
34+
the previous algorithm would fail to solve. When the new algorithm is unable
35+
to find a valid solution, it generates a detailed error message explaining
36+
why there is no valid solution.
37+
- Added a new command, `codeql pack upgrade`. This command is similar to `codeql pack install`,
38+
except that it ignores any existing lock file, installs the latest compatible version of each
39+
dependency, and writes a new lock file. This is equivalent to `codeql pack install --mode update`.
40+
Note that the `--mode` switch to `codeql pack install` is now deprecated.
41+
- Added a new command, `codeql pack ci`. This command is similar to `codeql pack install`,
42+
except if the existing lock file is missing, or if it conflicts with the version constraints in
43+
the `qlpack.yml` file, the command generates an error. This is equivalent to
44+
`codeql pack install --mode verify`. Note that the `--mode` switch to `codeql pack install` is now
45+
deprecated.
46+
47+
### Deprecations
48+
49+
- The `--freeze` switch for `codeql pack create`, `codeql pack bundle`, and `codeql pack publish`
50+
is now deprecated and ignored, as there is no longer a cache within a pack.
51+
- The `--mode update` switch to `codeql pack resolve-dependencies` is now deprecated. Instead, use
52+
the new `--mode upgrade` switch, which has identical behavior.
53+
- The `--mode` switch to `codeql pack install` is now deprecated.
54+
- Instead of `--mode update`, use `codeql pack upgrade`.
55+
- Instead of `--mode verify`, use `codeql pack ci`.
56+
2057
## Release 2.12.3 (2023-02-23)
2158

2259
### New features

0 commit comments

Comments
 (0)