diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84320625..882585d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: extension_name: - wrappers pgrx_version: - - 0.9.7 + - 0.9.8 postgres: [14, 15] features: - "all_fdws" diff --git a/.github/workflows/test_wrappers.yml b/.github/workflows/test_wrappers.yml index da47d2f4..b55bdcba 100644 --- a/.github/workflows/test_wrappers.yml +++ b/.github/workflows/test_wrappers.yml @@ -44,6 +44,6 @@ jobs: postgresql-server-dev-15 sudo chmod a+rwx `/usr/lib/postgresql/15/bin/pg_config --pkglibdir` `/usr/lib/postgresql/15/bin/pg_config --sharedir`/extension /var/run/postgresql/ - - run: cargo install cargo-pgrx --version 0.9.7 + - run: cargo install cargo-pgrx --version 0.9.8 - run: cargo pgrx init --pg15 /usr/lib/postgresql/15/bin/pg_config - run: cd wrappers && cargo pgrx test --features all_fdws,pg15 diff --git a/Cargo.lock b/Cargo.lock index be2f1bb6..89dc0486 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -345,22 +345,22 @@ checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" [[package]] name = "enum-map" -version = "2.5.0" +version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "988f0d17a0fa38291e5f41f71ea8d46a5d5497b9054d5a759fae2cbb819f2356" +checksum = "9705d8de4776df900a4a0b2384f8b0ab42f775e93b083b42f8ce71bdc32a47e3" dependencies = [ "enum-map-derive", ] [[package]] name = "enum-map-derive" -version = "0.11.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a4da76b3b6116d758c7ba93f7ec6a35d2e2cf24feda76c6e38a375f4d5c59f2" +checksum = "ccb14d927583dd5c2eac0f2cf264fc4762aefe1ae14c47a8a20fc1939d3a5fc0" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.16", ] [[package]] @@ -651,9 +651,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.5.0" +version = "2.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c" [[package]] name = "memoffset" @@ -805,9 +805,9 @@ dependencies = [ [[package]] name = "pgrx" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6186d4aa5911be4c00b52e555779deece35a7563c87fcfe794407dc2e9cc4dc1" +checksum = "0e80e25d7f85997d5d24c824297529bcb73231bbdc74d77906004d41cd3ffee3" dependencies = [ "atomic-traits", "bitflags 2.3.3", @@ -830,9 +830,9 @@ dependencies = [ [[package]] name = "pgrx-macros" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479a66a8c582e0fdf101178473315cb13eaa10829c154db742c35ec0279cdaec" +checksum = "999ef782b36bb511806277f2a74a7f9e075edcad8c9439a3b90f4c90384f2a29" dependencies = [ "pgrx-sql-entity-graph", "proc-macro2", @@ -842,9 +842,9 @@ dependencies = [ [[package]] name = "pgrx-pg-config" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e45c557631217a13859e223899c01d35982ef0c860ee5ab65af496f830b1316" +checksum = "a7b27ccd3d892e3b27bcb7a6e2bf86588d82fad3da622db168261bc6b534a737" dependencies = [ "cargo_toml", "dirs", @@ -860,9 +860,9 @@ dependencies = [ [[package]] name = "pgrx-pg-sys" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dde896a17c638b6475d6fc12b571a176013a8486437bbc8a64ac2afb8ba5d58" +checksum = "c0767fdf6930ba6fa2d1b1934313aae3694b70732e0b6169ece26b03de27f8dc" dependencies = [ "bindgen", "eyre", @@ -882,9 +882,9 @@ dependencies = [ [[package]] name = "pgrx-sql-entity-graph" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e9abc71b018d90aa9b7a34fedf48b76da5d55c04d2ed2288096827bebbf403" +checksum = "4d632abaa9c3da42e5e2a17a6268afb0449a7f655764c65e06695ee55763ff0e" dependencies = [ "convert_case", "eyre", @@ -897,9 +897,9 @@ dependencies = [ [[package]] name = "pgrx-tests" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39ac4ffedfa247f9d51421e4e2ac18c33d8d674350bad730f3fe5736bf298612" +checksum = "d44327bd084bcdc6fe4e72dfce8065e23b5b4522f36d63d14ee21c5000e7c73c" dependencies = [ "clap-cargo", "eyre", @@ -910,6 +910,7 @@ dependencies = [ "pgrx-macros", "pgrx-pg-config", "postgres", + "rand", "regex", "serde", "serde_json", @@ -998,9 +999,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "proc-macro2" -version = "1.0.63" +version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b368fba921b0dce7e60f5e04ec15e565b3303972b42bcfde1d0713b881959eb" +checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" dependencies = [ "unicode-ident", ] @@ -1094,9 +1095,21 @@ dependencies = [ [[package]] name = "regex" -version = "1.8.4" +version = "1.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "697061221ea1b4a94a624f67d0ae2bfe4e22b8a17b6a192afb11046542cc8c47" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f" +checksum = "c2f401f4955220693b56f8ec66ee9c78abffd8d1c4f23dc41a23839eb88f0795" dependencies = [ "aho-corasick", "memchr", @@ -1105,9 +1118,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.7.2" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" +checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" [[package]] name = "rustc-hash" @@ -1370,9 +1383,9 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.29.2" +version = "0.29.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9557d0845b86eea8182f7b10dff120214fb6cd9fd937b6f4917714e546a38695" +checksum = "a8d0e9cc2273cc8d31377bdd638d72e3ac3e5607b18621062b169d02787f1bab" dependencies = [ "cfg-if", "core-foundation-sys", @@ -1479,9 +1492,9 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ebafdf5ad1220cb59e7d17cf4d2c72015297b75b19a10472f99b89225089240" +checksum = "c17e963a819c331dcacd7ab957d80bc2b9a9c1e71c804826d2f283dd65306542" dependencies = [ "serde", "serde_spanned", @@ -1500,9 +1513,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.19.11" +version = "0.19.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "266f016b7f039eec8a1a80dfe6156b633d208b9fccca5e4db1d6775b0c4e34a7" +checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" dependencies = [ "indexmap 2.0.0", "serde", @@ -1764,9 +1777,9 @@ checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" [[package]] name = "winnow" -version = "0.4.6" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61de7bac303dc551fe038e2b3cef0f571087a47571ea6e79a87692ac99b99699" +checksum = "7c2e3184b9c4e92ad5167ca73039d0c42476302ab603e2fec4487511f38ccefc" dependencies = [ "memchr", ] diff --git a/supabase-wrappers/Cargo.toml b/supabase-wrappers/Cargo.toml index 521d1cfa..c063d5bd 100644 --- a/supabase-wrappers/Cargo.toml +++ b/supabase-wrappers/Cargo.toml @@ -21,13 +21,13 @@ pg15 = ["pgrx/pg15", "pgrx-tests/pg15" ] pg_test = [] [dependencies] -pgrx = {version = "=0.9.7", default-features = false } +pgrx = {version = "=0.9.8", default-features = false } tokio = { version = "1.24", features = ["rt"] } uuid = { version = "1.2.2" } supabase-wrappers-macros = { version = "0.1", path = "../supabase-wrappers-macros" } [dev-dependencies] -pgrx-tests = "=0.9.7" +pgrx-tests = "=0.9.8" [package.metadata.docs.rs] features = ["pg15", "cshim"] diff --git a/supabase-wrappers/src/lib.rs b/supabase-wrappers/src/lib.rs index da1cc3f4..8ae33046 100644 --- a/supabase-wrappers/src/lib.rs +++ b/supabase-wrappers/src/lib.rs @@ -20,7 +20,7 @@ //! ... //! //! [dependencies] -//! pgrx = "=0.9.7" +//! pgrx = "=0.9.8" //! supabase-wrappers = "0.1" //! ``` //! diff --git a/wrappers/Cargo.lock b/wrappers/Cargo.lock index 8e673f59..c39655ac 100644 --- a/wrappers/Cargo.lock +++ b/wrappers/Cargo.lock @@ -2529,9 +2529,9 @@ dependencies = [ [[package]] name = "pgrx" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6186d4aa5911be4c00b52e555779deece35a7563c87fcfe794407dc2e9cc4dc1" +checksum = "0e80e25d7f85997d5d24c824297529bcb73231bbdc74d77906004d41cd3ffee3" dependencies = [ "atomic-traits", "bitflags 2.4.0", @@ -2554,9 +2554,9 @@ dependencies = [ [[package]] name = "pgrx-macros" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479a66a8c582e0fdf101178473315cb13eaa10829c154db742c35ec0279cdaec" +checksum = "999ef782b36bb511806277f2a74a7f9e075edcad8c9439a3b90f4c90384f2a29" dependencies = [ "pgrx-sql-entity-graph", "proc-macro2", @@ -2566,9 +2566,9 @@ dependencies = [ [[package]] name = "pgrx-pg-config" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e45c557631217a13859e223899c01d35982ef0c860ee5ab65af496f830b1316" +checksum = "a7b27ccd3d892e3b27bcb7a6e2bf86588d82fad3da622db168261bc6b534a737" dependencies = [ "cargo_toml", "dirs", @@ -2584,9 +2584,9 @@ dependencies = [ [[package]] name = "pgrx-pg-sys" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dde896a17c638b6475d6fc12b571a176013a8486437bbc8a64ac2afb8ba5d58" +checksum = "c0767fdf6930ba6fa2d1b1934313aae3694b70732e0b6169ece26b03de27f8dc" dependencies = [ "bindgen", "eyre", @@ -2606,9 +2606,9 @@ dependencies = [ [[package]] name = "pgrx-sql-entity-graph" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e9abc71b018d90aa9b7a34fedf48b76da5d55c04d2ed2288096827bebbf403" +checksum = "4d632abaa9c3da42e5e2a17a6268afb0449a7f655764c65e06695ee55763ff0e" dependencies = [ "convert_case", "eyre", @@ -2621,9 +2621,9 @@ dependencies = [ [[package]] name = "pgrx-tests" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39ac4ffedfa247f9d51421e4e2ac18c33d8d674350bad730f3fe5736bf298612" +checksum = "d44327bd084bcdc6fe4e72dfce8065e23b5b4522f36d63d14ee21c5000e7c73c" dependencies = [ "clap-cargo", "eyre", @@ -2634,6 +2634,7 @@ dependencies = [ "pgrx-macros", "pgrx-pg-config", "postgres", + "rand 0.8.5", "regex", "serde", "serde_json", diff --git a/wrappers/Cargo.toml b/wrappers/Cargo.toml index 3cfe8566..0be1ac69 100644 --- a/wrappers/Cargo.toml +++ b/wrappers/Cargo.toml @@ -33,7 +33,7 @@ logflare_fdw = ["reqwest", "reqwest-middleware", "reqwest-retry", "serde_json"] all_fdws = ["airtable_fdw", "bigquery_fdw", "clickhouse_fdw", "stripe_fdw", "firebase_fdw", "s3_fdw", "logflare_fdw"] [dependencies] -pgrx = { version = "=0.9.7" } +pgrx = { version = "=0.9.8" } cfg-if = "1.0" #supabase-wrappers = "0.1" supabase-wrappers = { path = "../supabase-wrappers", default-features = false } @@ -74,7 +74,7 @@ parquet = { version = "41.0.0", features = ["async"], optional = true } arrow-array = { version = "41.0.0", optional = true } [dev-dependencies] -pgrx-tests = "=0.9.7" +pgrx-tests = "=0.9.8" [profile.dev] panic = "unwind"