Releases: fmguerreiro/datafusion-sqlparser-rs
Releases · fmguerreiro/datafusion-sqlparser-rs
v0.61.1
Patch
- PostgreSQL: COMMENT ON FUNCTION/PROCEDURE/AGGREGATE accepts argmode/argname/VARIADIC (#28) —
parse_commentnow usesparse_function_argfor the argument list, soIN/OUT/INOUT/VARIADICmodes and named args before the type parse correctly. 0.61.0 used bareparse_data_typeand silently parse-failed any of these forms despite them being valid PG. Modes/names are intentionally discarded sinceStatement::Comment.argumentscarries plainVec<DataType>for identity matching.
This unblocks downstream COMMENT-ON regex-to-AST migrations.
v0.61.0
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 forCOMMENT ON AGGREGATEwithout an argument list. - PostgreSQL: AlterTypeOperation owner/schema/attribute ops (#26) —
OwnerTo,SetSchema, and the four*Attributevariants. - PostgreSQL: ALTER DEFAULT PRIVILEGES (#26) — new
Statement::AlterDefaultPrivilegescarrying[FOR ROLE …] [IN SCHEMA …] {GRANT|REVOKE} <body>. - Bug fix:
Grantee::fmtPUBLIC trailing space (#26) —GranteesType::Publicnow 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, andRATnow 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.