diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 68254a4..f1f29d4 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -10,7 +10,7 @@ jobs: container: pgxn/pgxn-tools strategy: matrix: - pg: [12, 13, 14, 15, 16] + pg: [12, 13, 14, 15, 16, 17] name: 🐘 Postgres ${{ matrix.pg }} steps: - name: Checkout diff --git a/CHANGELOG.md b/CHANGELOG.md index 593e082..cd73c41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,12 +11,17 @@ All notable changes to this project will be documented in this file. It uses the ### ⬆️ Dependency Updates -* Upgraded pgrx to v0.12.0 +* Upgraded pgrx to v0.12.1 ### ⚡ Improvements * Made the extension relocatable +### 📔 Notes + +* Dropped support for Postgres 11 (no longer supported by pgrx). +* Added support for Postgres 17. + ## [v0.1.1] --- 2024-06-12 The theme of this release is *fast follows.* diff --git a/Cargo.lock b/Cargo.lock index 1edf03c..ef5c5d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -78,17 +78,6 @@ dependencies = [ "rustc_version", ] -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi", - "libc", - "winapi", -] - [[package]] name = "autocfg" version = "1.3.0" @@ -651,12 +640,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" -version = "0.1.19" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] +checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" [[package]] name = "hmac" @@ -702,6 +688,17 @@ dependencies = [ "hashbrown", ] +[[package]] +name = "is-terminal" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" +dependencies = [ + "hermit-abi", + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "is_ci" version = "1.2.0" @@ -886,9 +883,9 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "owo-colors" -version = "3.5.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" +checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" dependencies = [ "supports-color", ] @@ -961,9 +958,9 @@ dependencies = [ [[package]] name = "pgrx" -version = "0.12.0-beta.2" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d321591424315b0652c244753e165eb50f2515144c2874308c07cce5d448b86" +checksum = "020d299aa1c755e80b10275ec9d51b0930f131196917e9011651e311ec57ffc0" dependencies = [ "atomic-traits", "bitflags 2.6.0", @@ -983,11 +980,28 @@ dependencies = [ "uuid", ] +[[package]] +name = "pgrx-bindgen" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8aebb81168816f239950379b27eb5af3089803d03937de75ad9af10ab2fc7e05" +dependencies = [ + "bindgen", + "clang-sys", + "eyre", + "pgrx-pg-config", + "proc-macro2", + "quote", + "shlex", + "syn", + "walkdir", +] + [[package]] name = "pgrx-macros" -version = "0.12.0-beta.2" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef54044c202861f43b3dd5627402e30a6a0d267b0b818e88965d5b1a3ec721b6" +checksum = "aaf4a02a1ac54495b74a5c312ca7d518c55340375902aa471f2fd0d8b95f0444" dependencies = [ "pgrx-sql-entity-graph", "proc-macro2", @@ -997,9 +1011,9 @@ dependencies = [ [[package]] name = "pgrx-pg-config" -version = "0.12.0-beta.2" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6abf790484d1b648a654db8c4ce1beb93d86db74b60b9a6a502294eacdc0c7e" +checksum = "75f5f001959bb07af95747a1713fa0f6bc5bda31cfa93e2e10e9cec6b6cc9911" dependencies = [ "cargo_toml", "eyre", @@ -1015,32 +1029,24 @@ dependencies = [ [[package]] name = "pgrx-pg-sys" -version = "0.12.0-beta.2" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c2592cb11ad3e6a8336cac3f6e0e3b003d3c4d549a2022dfa8d085ae28ae0b5" +checksum = "70557bbadbc3039c2bf92c1dbbeeb3a280b7982820d54f7b5e857d783e0ff108" dependencies = [ - "bindgen", "cee-scape", - "clang-sys", - "eyre", "libc", + "pgrx-bindgen", "pgrx-macros", - "pgrx-pg-config", "pgrx-sql-entity-graph", - "proc-macro2", - "quote", "serde", - "shlex", "sptr", - "syn", - "walkdir", ] [[package]] name = "pgrx-sql-entity-graph" -version = "0.12.0-beta.2" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683183eb65e6d1b324d31f8dc7c94d8f7db76d92c53e2e96f986e9fd15ad126d" +checksum = "9caf568b5312761ac35cf9e198f13cf7bd18e9cf7ec52649186f587f1787034f" dependencies = [ "convert_case", "eyre", @@ -1054,9 +1060,9 @@ dependencies = [ [[package]] name = "pgrx-tests" -version = "0.12.0-beta.2" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a56f31e42034b576d49db34294037a2d21a3538892ea4a9dded3910a6eb6155" +checksum = "bba66c40b5b6fdd6862e8ab0cb27bda6cb8ddab910eb77af947c4cd0301d8939" dependencies = [ "clap-cargo", "eyre", @@ -1540,11 +1546,11 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "supports-color" -version = "1.3.1" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ba6faf2ca7ee42fdd458f4347ae0a9bd6bcc445ad7cb57ad82b383f18870d6f" +checksum = "d6398cde53adc3c4557306a96ce67b302968513830a77a95b2b17305d9719a89" dependencies = [ - "atty", + "is-terminal", "is_ci", ] diff --git a/Cargo.toml b/Cargo.toml index 8eed2c6..00c04b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,15 +21,16 @@ pg13 = ["pgrx/pg13", "pgrx-tests/pg13" ] pg14 = ["pgrx/pg14", "pgrx-tests/pg14" ] pg15 = ["pgrx/pg15", "pgrx-tests/pg15" ] pg16 = ["pgrx/pg16", "pgrx-tests/pg16" ] +pg17 = ["pgrx/pg17", "pgrx-tests/pg17" ] pg_test = [] [dependencies] -pgrx = "0.12.0-beta.2" +pgrx = "0.12.1" boon = "0.6" serde_json = "1.0" [dev-dependencies] -pgrx-tests = "0.12.0-beta.2" +pgrx-tests = "0.12.1" [profile.dev] panic = "unwind"