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

Bump version to 0.5 and perpare a release #49

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading