Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit 95ceb23

Browse files
rel: prep release v3.5.2 (#283)
## Which problem is this PR solving? - prep release v3.5.2 ## Short description of the changes - bump version from 3.5.1 to 3.5.2 - update changelog - update releasing notes for added detail/clarity as seen in some of our newer active repos
1 parent b1db273 commit 95ceb23

File tree

5 files changed

+48
-12
lines changed

5 files changed

+48
-12
lines changed

.bumpversion.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[bumpversion]
22
commit = False
33
tag = False
4-
current_version = 3.5.1
4+
current_version = 3.5.2
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
6-
serialize =
6+
serialize =
77
{major}.{minor}.{patch}-{release}{build}
88
{major}.{minor}.{patch}
99

1010
[bumpversion:part:release]
1111
optional_value = prod
1212
first_value = dev
13-
values =
13+
values =
1414
dev
1515
prod
1616

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# beeline-python changelog
22

3+
## 3.5.2 2023-05-25
4+
5+
### Fixes
6+
7+
- fix: fix error when cursor.lastrowid doesnt exist (#281) | [@JamieDanielson](https://github.com/JamieDanielson)
8+
9+
### Maintenance
10+
11+
- maint(deps): bump wrapt from 1.14.1 to 1.15.0 (#264)
12+
- maint: Bump requests from 2.28.1 to 2.31.0 in /examples/flask (#279)
13+
- maint(deps): bump requests from 2.28.1 to 2.31.0 (#280)
14+
- maint(deps-dev): bump mock from 5.0.1 to 5.0.2 (#275)
15+
- maint(deps-dev): bump coverage from 7.2.3 to 7.2.5 (#273)
16+
- maint(deps-dev): bump django from 3.2.18 to 3.2.19 (#277)
17+
- maint(deps-dev): bump flask from 2.2.3 to 2.2.5 (#276)
18+
- maint(deps): bump sqlparse from 0.4.2 to 0.4.4 (#272)
19+
- maint(deps-dev): bump coverage from 7.0.5 to 7.2.3 (#269)
20+
- maint(deps-dev): bump flask from 2.2.2 to 2.2.3 (#266)
21+
- maint(deps-dev): bump mock from 5.0.0 to 5.0.1 (#260)
22+
- maint(deps-dev): bump django from 3.2.17 to 3.2.18 (#262)
23+
- maint(deps): bump werkzeug from 2.2.2 to 2.2.3 (#263)
24+
- maint(deps-dev): bump django from 3.2.16 to 3.2.17 (#261)
25+
326
## 3.5.1 2023-01-19
427

528
### Fixes

RELEASING.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
# Releasing
22

3-
1. Update version using `bump2version --new-version 1.12.0 patch` (NOTE: the `patch` is reqiured for the command to execute but doesn't mean anything as you're supplying a full version)
4-
2. Add release entry to [changelog](./CHANGELOG.md)
5-
3. Open a PR with the above, and merge that into main
6-
4. Create new tag on merged commit with the new version (e.g. `git tag -a v2.3.1 -m "v2.3.1"`)
7-
5. Push the tag upstream (this will kick off the release pipeline in CI) e.g. `git push origin v2.3.1`
8-
6. Copy change log entry for newest version into draft GitHub release created as part of CI publish steps
9-
- generate release notes via github release draft for full changelog notes and any new contributors
3+
Use `poetry run bump2version --new-version <version> <semver` to update the version, including both the version number and semver type.
4+
(The `patch` is required for the command to execute but doesn't mean anything as you're supplying a full version).
5+
6+
For example, to bump from v3.5.1 to the next patch version:
7+
8+
```sh
9+
> poetry run bump2version --new-version 3.5.2 patch
10+
```
11+
12+
- Confirm the version number update appears in `.bumpversion.cfg`, `pyproject.toml`, and `version.py`
13+
- Update `CHANGELOG.md` with the changes since the last release. Consider automating with a command such as these two:
14+
- `git log $(git describe --tags --abbrev=0)..HEAD --no-merges --oneline > new-in-this-release.log`
15+
- `git log --pretty='%C(green)%d%Creset- %s | [%an](https://github.com/)'`
16+
- Commit changes, push, and open a release preparation pull request for review.
17+
- Once the pull request is merged, fetch the updated `main` branch.
18+
- Apply a tag for the new version on the merged commit (e.g. `git tag -a v3.5.2 -m "v3.5.2"`)
19+
- Push the tag upstream (this will kick off the release pipeline in CI) e.g. `git push origin v3.5.2`
20+
- Ensure that there is a draft GitHub release created as part of CI publish steps (this will also publish to PyPi).
21+
- Click "generate release notes" in GitHub for full changelog notes and any new contributors
22+
- Publish the GitHub draft release

beeline/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '3.5.1' # Update using bump2version
1+
VERSION = '3.5.2' # Update using bump2version

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "honeycomb-beeline"
3-
version = "3.5.1" # Update using bump2version
3+
version = "3.5.2" # Update using bump2version
44
description = "Honeycomb library for easy instrumentation"
55
authors = ["Honeycomb.io <[email protected]>"]
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)