Skip to content

Commit

Permalink
Bump version to 0.5 and perpare a release
Browse files Browse the repository at this point in the history
  • Loading branch information
weiznich committed Jan 19, 2024
1 parent f8d1f4a commit 9d39b8b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ jobs:
- name: Test compile diesel
shell: bash
# currently broken as diesel does not allow pq-sys 0.5 yet
continue-on-error: true
run: |
cargo new test_diesel
cd test_diesel
Expand All @@ -111,5 +113,7 @@ jobs:
shell: bash
if: matrix.features == 'bundled'
run: |
rm -rf test_diesel
git reset --hard HEAD
cd pq-src
cargo publish --dry-run
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@ All user visible changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/), as described
for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/text/1105-api-evolution.md)

## [0.5.0] 2024-01-19

### Added

- We added a `pq-src` crate and a `bundled` feature for `pq-sys`. This allows to build and link a static version of libpq during the rust build process. This feature currently supports builds targeting Windows, Linux and macOS. It requires a c-compiler toolchain for the target to build libpq from source.
- We added a `buildtime_bindgen` feature flag that allows to generate bindings for your locally installed libpq version. This is helpful for cases where the target architecture is significantly different to what the built-in bindings assume.

### Changed

- We regenerated the bundled bindings to match the libpq version build by the `bundled` feature flag

## [0.4.8] 2023-04-18

## Fixed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pq-sys"
version = "0.4.8"
version = "0.5.0"
description = "Auto-generated rust bindings for libpq"
license = "MIT OR Apache-2.0"
repository = "https://github.com/sgrif/pq-sys"
Expand Down

0 comments on commit 9d39b8b

Please sign in to comment.