You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Improvements**
- Added an ASAN/UBSAN CI job that builds CPython 3.14.2 from source with
AddressSanitizer and UndefinedBehaviorSanitizer, then runs the full test suite
against instrumented builds of bocpy.
- Updated GitHub Actions to latest versions (`actions/checkout@v6`,
`actions/setup-python@v5`).
- Added a Copilot skill for version bumping.
**Bug Fixes**
- Fixed a missing `Py_DECREF` on a temporary `PyObject` in the xidata recycling
path, plugging a reference leak.
- Fixed `PyMem_RawFree` freeing the wrong pointer (`xidata->obj` instead of
`xidata`) in the recycling queue cleanup.
Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
description: "Bump the bocpy version across all required files. Use when: incrementing the version, releasing a new version, updating version strings, preparing a release, changing the version number, or adding a changelog entry."
4
+
---
5
+
6
+
# Version Bump
7
+
8
+
When asked to bump the version to a specific version (e.g. `0.3.0`), propose
9
+
edits to **all** of the following files. Do not skip any.
10
+
11
+
## Files to Update
12
+
13
+
### 1. `pyproject.toml`
14
+
15
+
Update the `version` field under `[project]`:
16
+
17
+
```toml
18
+
[project]
19
+
name = "bocpy"
20
+
version = "<NEW_VERSION>"
21
+
```
22
+
23
+
### 2. `sphinx/source/conf.py`
24
+
25
+
Update the `release` variable:
26
+
27
+
```python
28
+
release ='<NEW_VERSION>'
29
+
```
30
+
31
+
### 3. `CITATION.cff`
32
+
33
+
Update both `version` and `date-released`:
34
+
35
+
```yaml
36
+
version: <NEW_VERSION>
37
+
date-released: <TODAY YYYY-MM-DD>
38
+
```
39
+
40
+
### 4. `CHANGELOG.md`
41
+
42
+
Prepend a new entry **at the top** of the file with today's date, the new
43
+
version, and a placeholder for the user to fill in:
44
+
45
+
```markdown
46
+
## <TODAY YYYY-MM-DD> - Version <NEW_VERSION>
47
+
TODO: Add release notes.
48
+
49
+
```
50
+
51
+
## Procedure
52
+
53
+
1. Read the current version from `pyproject.toml` to confirm the old value.
54
+
2. Propose all four edits as a single changeset.
55
+
3. Use today's date (from context) for the CHANGELOG and CITATION entries.
56
+
4. Do **not** commit — the user handles git operations.
0 commit comments