Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for release 2.2 #1069

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

hashworks
Copy link
Collaborator

@hashworks hashworks commented Feb 1, 2025

  • Add CHANGELOG entry for the release
  • Update version number throughout
  • Update version related tests

Loosely followed the previous #1017.

@hashworks
Copy link
Collaborator Author

Feel free to delay this for additional PRs and tests. I'll update the changelog as needed.

@dimitri
Copy link
Contributor

dimitri commented Feb 1, 2025

Thanks for preparing the release. Please have a look at #1019 and more importantly how to test for upgrades. Then test for upgrades using packages, if you have time to do that.

If I remember correctly the idea was to use patch updates (2.1.1, 2.1.2, etc) when the monitor schema does not change, and minor updates (2.1 to 2.2, etc) for “bigger” updates with monitor schema change. The recent versions we published warranted a version number change of the “minor update” fashion, but did not change the monitor schema. We still need empty schema upgrade files.

src/bin/lib/parson/parson.c Outdated Show resolved Hide resolved
src/bin/lib/pg/snprintf.c Outdated Show resolved Hide resolved
@hashworks
Copy link
Collaborator Author

We still need empty schema upgrade files.

I've taken the liberty to cherry-pick e3a6da8 and added a 2.1 -> 2.2 schema upgrade file.

Closes #1019.

hashworks and others added 3 commits February 3, 2025 16:56
* Add CHANGELOG entry for the release
* Update version number throughout
* Update version related tests
@hashworks
Copy link
Collaborator Author

Please have a look at #1019 and more importantly how to test for upgrades. Then test for upgrades using packages, if you have time to do that.

I'll see what I can do.

@dimitri
Copy link
Contributor

dimitri commented Feb 3, 2025

I'll see what I can do.

See the README at https://github.com/hapostgres/pg_auto_failover/tree/main/tests/upgrade where I documented the process I used to follow before releasing new versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants