From 7dd4215097ae8eac2189951c9ca956c2838ebea8 Mon Sep 17 00:00:00 2001 From: Georg Semmler Date: Fri, 19 Jan 2024 10:36:43 +0100 Subject: [PATCH] Bump version to 0.5 and perpare a release --- .github/workflows/ci.yml | 2 ++ CHANGELOG.md | 11 +++++++++++ Cargo.toml | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d064b3e..ea38878 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index fa0c3fc..fc3ab42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 84de9ab..beddda7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"