From 9bb012c4f98b79b7e5ee0f65c001d9ed93bb0b5d Mon Sep 17 00:00:00 2001 From: Christopher Dignam Date: Fri, 10 Jan 2025 13:12:42 -0500 Subject: [PATCH] add back LIBPG_QUERY_PATH support fixes #358 --- CHANGELOG.md | 6 ++++++ Cargo.lock | 4 ++-- cli/Cargo.toml | 2 +- flake.nix | 2 +- package.json | 2 +- parser/Cargo.toml | 2 +- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6627c9e2..8c56d83c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v1.5.1 - 2025-01-10 + +### Fixed + +- Fixed support for custom LIBPG_QUERY_PATH (#399). + ## v1.5.0 - 2025-01-09 ### Added diff --git a/Cargo.lock b/Cargo.lock index 06a0dceb..d431ed54 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -759,7 +759,7 @@ dependencies = [ [[package]] name = "libpg_query-sys" version = "0.4.0" -source = "git+https://github.com/chdsbd/libpg_query-sys.git?rev=f4584dcbcb8c1f3bee550477257e84a846fdd92d#f4584dcbcb8c1f3bee550477257e84a846fdd92d" +source = "git+https://github.com/chdsbd/libpg_query-sys.git?rev=ac223c7b197459d657d166449ccf99883f23bbcb#ac223c7b197459d657d166449ccf99883f23bbcb" dependencies = [ "bindgen", "cc", @@ -1586,7 +1586,7 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "squawk" -version = "1.5.0" +version = "1.5.1" dependencies = [ "atty", "base64 0.12.3", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 4c2f5321..0a7d2e08 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "squawk" -version = "1.5.0" +version = "1.5.1" authors = ["Steve Dignam "] edition = "2018" license = "GPL-3.0" diff --git a/flake.nix b/flake.nix index cafadfd6..cd85893b 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ { squawk = final.rustPlatform.buildRustPackage { pname = "squawk"; - version = "1.5.0"; + version = "1.5.1"; cargoLock = { lockFile = ./Cargo.lock; diff --git a/package.json b/package.json index 449fb0e2..fd6a6386 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "squawk-cli", - "version": "1.5.0", + "version": "1.5.1", "description": "linter for PostgreSQL, focused on migrations", "repository": "git@github.com:sbdchd/squawk.git", "author": "Steve Dignam ", diff --git a/parser/Cargo.toml b/parser/Cargo.toml index e99d2d50..d412cf20 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -15,7 +15,7 @@ keywords = ["postgres", "sql", "parser"] serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } serde_repr = "0.1" -libpg_query-sys = { git = "https://github.com/chdsbd/libpg_query-sys.git", rev = "f4584dcbcb8c1f3bee550477257e84a846fdd92d" } +libpg_query-sys = { git = "https://github.com/chdsbd/libpg_query-sys.git", rev = "ac223c7b197459d657d166449ccf99883f23bbcb" } [dev-dependencies] insta = "0.16.0"