Skip to content

Commit 66df0dc

Browse files
committed
version bump
1 parent 307cb63 commit 66df0dc

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,15 @@ python ./scripts/queries_table_generator.py 2>/dev/null
6161
```
6262

6363
This reads query metadata from all "full" suites and outputs markdown tables. Copy-paste the output into `README.md` under the `## Queries` section.
64+
65+
## Qlpack Versioning
66+
67+
Each language has a library pack (`<lang>/lib/qlpack.yml`) and a queries pack (`<lang>/src/qlpack.yml`) with a `version:` field. Test packs have no version.
68+
69+
Bump versions when adding new queries or libraries, removing queries, or making breaking changes to library APIs. Keep the library and queries pack versions in sync for the same language.
70+
71+
Packs per language:
72+
- `trailofbits/cpp-all` (library) — `cpp/lib/qlpack.yml`
73+
- `trailofbits/cpp-queries``cpp/src/qlpack.yml`
74+
- `trailofbits/go-queries``go/src/qlpack.yml`
75+
- `trailofbits/java-queries``java/src/qlpack.yml`

cpp/lib/qlpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: trailofbits/cpp-all
33
authors: Trail of Bits
4-
version: 0.2.1
4+
version: 0.3.0
55
license: AGPL
66
library: true
77
extractor: cpp

cpp/src/qlpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: trailofbits/cpp-queries
33
description: CodeQL queries for C and C++ developed by Trail of Bits
44
authors: Trail of Bits
5-
version: 0.2.1
5+
version: 0.3.0
66
license: AGPL
77
library: false
88
extractor: cpp

0 commit comments

Comments
 (0)