Skip to content

Releases: fmguerreiro/datafusion-sqlparser-rs

v0.61.1

25 Apr 10:50
7434738

Choose a tag to compare

Patch

  • PostgreSQL: COMMENT ON FUNCTION/PROCEDURE/AGGREGATE accepts argmode/argname/VARIADIC (#28) — parse_comment now uses parse_function_arg for the argument list, so IN/OUT/INOUT/VARIADIC modes and named args before the type parse correctly. 0.61.0 used bare parse_data_type and silently parse-failed any of these forms despite them being valid PG. Modes/names are intentionally discarded since Statement::Comment.arguments carries plain Vec<DataType> for identity matching.

This unblocks downstream COMMENT-ON regex-to-AST migrations.

v0.61.0

25 Apr 03:33
4fe6b06

Choose a tag to compare

What's new vs 0.60.14

  • PostgreSQL: GRANT ON TYPE/DOMAIN (#24) — GrantObjects::{Types, Domains}.
  • PostgreSQL: COMMENT ON extensions (#25) — CommentObject::{Trigger, Aggregate, Policy}, function/aggregate argument-type signatures, dollar-quoted body parsing, single-quote-safe Display escape, and a hard parse error for COMMENT ON AGGREGATE without an argument list.
  • PostgreSQL: AlterTypeOperation owner/schema/attribute ops (#26) — OwnerTo, SetSchema, and the four *Attribute variants.
  • PostgreSQL: ALTER DEFAULT PRIVILEGES (#26) — new Statement::AlterDefaultPrivileges carrying [FOR ROLE …] [IN SCHEMA …] {GRANT|REVOKE} <body>.
  • Bug fix: Grantee::fmt PUBLIC trailing space (#26) — GranteesType::Public now emits "PUBLIC" rather than "PUBLIC ".
  • Infrastructure: fork CI activated (#23) — cargo fmt --check, cargo clippy --all-targets --all-features -- -D warnings, cargo test --all-features, compile-no-std (thumbv6m-none-eabi), benchmark-lint, and RAT now gate every PR.

Why a minor bump

Per the project's own changelog policy: any change to the typed AST is technically breaking. PRs #24, #25, #26 add variants and fields to non-#[non_exhaustive] enums (GrantObjects, CommentObject, Statement::Comment, AlterTypeOperation, Statement), so this needs to ship as 0.61.0.