Skip to content

Commit

Permalink
Update version to 0.12.6 (#1919)
Browse files Browse the repository at this point in the history
Welcome to pgrx v0.12.6. This releases fixes a number of bugs, cleans up
various parts of the code, adds more Postgres `#include` headers, and
other little things.

To upgrade, first install cargo-pgrx with `cargo install cargo-pgrx
--version 0.12.6 --locked`. Then you can run `cargo pgrx upgrade` in
your extension's crate to update its dependencies.

## What's Changed
* Removed extra allocation from `IntoDatum for char` by @YohDeadfall in
#1887
* Fixed IntoDatum impl for char introduced by #1887 by @YohDeadfall in
#1889
* Support refs to unsized SqlTranslatable types by @workingjubilee in
#1890
* Nullable is Copy when T is Copy by @workingjubilee in
#1884
* Macro based IntoDatum for string types by @YohDeadfall in
#1886
* `impl FromDatum for CString` by @workingjubilee in
#1896
* Add `BorrowDatum` for unsizing borrows of datums by @workingjubilee in
#1891
* Always panic if len of varlena exceeds the maximum by @YohDeadfall in
#1894
* Use cstr literal syntax to avoid unsafe and ??? by @workingjubilee in
#1898
* Implement UnboxDatum for ItemPointerData by @syvb in
#1900
* fix compilation on some CPUs and Windows by @usamoi in
#1901
* docs: update generic type name of TableIterator by @SteveLauC in
#1905
* Remove Python workaround for Homebrew by @workingjubilee in
#1908
* Improved messages for json errors by @YohDeadfall in
#1893
* Adds more headers by @aykut-bozkurt in
#1910
* docs: align description of GucContext::SuBackend and
GucContext::Backend with original PostgreSQL description by @mrl5 in
#1909
* docs: update outdated README by @SteveLauC in
#1914
* fix compilation on emscripten by @usamoi in
#1917
* feat: include 'storage/indexfsm.h' by @SteveLauC in
#1912
* refactor: more CStr literals by @SteveLauC in
#1911
* fix segfault with empty `numrange` during `from_datum()` by
@eeeebbbbrrrr in #1918

## New Contributors
* @mrl5 made their first contribution in
#1909

**Full Changelog**:
v0.12.5...v0.12.6
  • Loading branch information
eeeebbbbrrrr authored Oct 14, 2024
1 parent 26ad5db commit 123b2b0
Show file tree
Hide file tree
Showing 17 changed files with 3,085 additions and 2,944 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ exclude = [
cargo-pgrx = { path = "cargo-pgrx" }

[workspace.dependencies]
pgrx-macros = { path = "./pgrx-macros", version = "=0.12.5" }
pgrx-pg-sys = { path = "./pgrx-pg-sys", version = "=0.12.5" }
pgrx-sql-entity-graph = { path = "./pgrx-sql-entity-graph", version = "=0.12.5" }
pgrx-pg-config = { path = "./pgrx-pg-config", version = "=0.12.5" }
pgrx-bindgen = { path = "./pgrx-bindgen", version = "0.12.5" }
pgrx-macros = { path = "./pgrx-macros", version = "=0.12.6" }
pgrx-pg-sys = { path = "./pgrx-pg-sys", version = "=0.12.6" }
pgrx-sql-entity-graph = { path = "./pgrx-sql-entity-graph", version = "=0.12.6" }
pgrx-pg-config = { path = "./pgrx-pg-config", version = "=0.12.6" }
pgrx-bindgen = { path = "./pgrx-bindgen", version = "0.12.6" }

cargo_metadata = "0.18.0"
cargo-edit = "0.12.2" # format-preserving edits to cargo.toml
Expand Down
2 changes: 1 addition & 1 deletion cargo-pgrx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "cargo-pgrx"
version = "0.12.5"
version = "0.12.6"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy"
Expand Down
4 changes: 2 additions & 2 deletions cargo-pgrx/src/templates/cargo_toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ pg17 = ["pgrx/pg17", "pgrx-tests/pg17" ]
pg_test = []

[dependencies]
pgrx = "=0.12.5"
pgrx = "=0.12.6"

[dev-dependencies]
pgrx-tests = "=0.12.5"
pgrx-tests = "=0.12.6"

[profile.dev]
panic = "unwind"
Expand Down
2 changes: 1 addition & 1 deletion pgrx-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pgrx-bindgen"
description = "additional bindgen support for pgrx"
version = "0.12.5"
version = "0.12.6"
edition = "2021"
license = "MIT"
homepage = "https://github.com/pgcentralfoundation/pgrx"
Expand Down
2 changes: 1 addition & 1 deletion pgrx-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-macros"
version = "0.12.5"
version = "0.12.6"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "Proc Macros for 'pgrx'"
Expand Down
2 changes: 1 addition & 1 deletion pgrx-pg-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-pg-config"
version = "0.12.5"
version = "0.12.6"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "A Postgres pg_config wrapper for 'pgrx'"
Expand Down
2 changes: 1 addition & 1 deletion pgrx-pg-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-pg-sys"
version = "0.12.5"
version = "0.12.6"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "Generated Rust bindings for Postgres internals, for use with 'pgrx'"
Expand Down
Loading

0 comments on commit 123b2b0

Please sign in to comment.