Skip to content

Bump PGRX to 0.11.3 + Bump version for v1.5.2 Release #510

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

Merged
merged 1 commit into from
Apr 10, 2024
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ jobs:
package_name:
- pg-graphql
pgrx_version:
- 0.11.2
- 0.11.3
postgres: [14, 15, 16]
box:
- { runner: ubuntu-20.04, arch: amd64 }
436 changes: 214 additions & 222 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[package]
name = "pg_graphql"
version = "1.5.1"
version = "1.5.2"
edition = "2021"

[lib]
crate-type = ["cdylib"]

[features]
default = ["pg15"]
default = ["pg16"]
pg14 = ["pgrx/pg14", "pgrx-tests/pg14"]
pg15 = ["pgrx/pg15", "pgrx-tests/pg15"]
pg16 = ["pgrx/pg16", "pgrx-tests/pg16"]
pg_test = []

[dependencies]
pgrx = "=0.11.2"
pgrx = "=0.11.3"
graphql-parser = "0.4"
serde = { version = "1.0", features = ["rc"] }
serde_json = "1.0"
@@ -28,7 +28,7 @@ bimap = { version = "0.6.3", features = ["serde"] }
indexmap = "2.2"

[dev-dependencies]
pgrx-tests = "=0.11.2"
pgrx-tests = "=0.11.3"

[profile.dev]
panic = "unwind"
2 changes: 1 addition & 1 deletion dockerfiles/db/Dockerfile
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ RUN \
cargo --version

# PGRX
RUN cargo install cargo-pgrx --version 0.11.2 --locked
RUN cargo install cargo-pgrx --version 0.11.3 --locked

RUN cargo pgrx init --pg${PG_MAJOR} $(which pg_config)

9 changes: 8 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
@@ -68,5 +68,12 @@
- feature: `first`/`offset` based pagination
- feature: improved descriptions for all internal error states

## master
## 1.5.1
- bugfix: reimplemented field merging to resolve a performance issue on large queries

## 1.5.2
- bugfix: enabled schema based multi-tenancy via filtering SQL context on schema permissions
- bugfix: function arguments with a null default value were required instead of optional


## master
2 changes: 1 addition & 1 deletion src/sql_types.rs
Original file line number Diff line number Diff line change
@@ -204,7 +204,7 @@ struct ArgsIterator<'a> {
}

#[derive(Clone)]
pub(crate) enum DefaultValue {
pub enum DefaultValue {
NonNull(String),
Null,
}