From 701124a36e5fc4e8e1d3a35b243069944a8a6820 Mon Sep 17 00:00:00 2001 From: Nickolay Ponomarev Date: Thu, 13 Aug 2020 04:31:30 +0300 Subject: [PATCH 1/2] Update CHANGELOG --- CHANGELOG.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8273062d8..4df3f2bbe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,13 +9,24 @@ Given that the parser produces a typed AST, any changes to the AST will technica Check https://github.com/ballista-compute/sqlparser-rs/commits/main for undocumented changes. ### Changed +- Change the MySQL dialect to support `` `identifiers` `` quoted with backticks instead of the standard `"double-quoted"` identifiers (#247) - thanks @mashuai! ### Added -- Support `CREATE OR REPLACE VIEW`/`TABLE` (#239) - thanks @Dandandan! +- Enable dialect-specific behaviours in the parser (`dialect_of!()`) (#254) - thanks @eyalleshem! +- Support named arguments in function invocations (`ARG_NAME => val`) (#250) - thanks @eyalleshem! +- Support `TABLE()` functions in `FROM` (#253) - thanks @eyalleshem! - Support PostgreSQL `PREPARE`, `EXECUTE`, and `DEALLOCATE` (#243) - thanks @silathdiir! -- Support SQLite `AUTOINCREMENT` and MySQL `AUTO_INCREMENT` column option in `CREATE TABLE` - thanks @mashuai! +- Add SQLite dialect (#248) - thanks @mashuai! +- Add Snowflake dialect (#259) - thanks @eyalleshem! +- DDL: + - Support `OR REPLACE` in `CREATE VIEW`/`TABLE` (#239) - thanks @Dandandan! + - Support specifying `ASC`/`DESC` in index columns (#249) - thanks @mashuai! + - Support SQLite `AUTOINCREMENT` and MySQL `AUTO_INCREMENT` column option in `CREATE TABLE` (#234) - thanks @mashuai! ### Fixed +- Fix a typo in `JSONFILE` serialization, introduced in 0.3.1 (#237) +- Change `CREATE INDEX` serialization to not end with a semicolon, introduced in 0.5.1 (#245) +- Don't fail parsing `ALTER TABLE ADD COLUMN` ending with a semicolon, introduced in 0.5.1 (#246) - thanks @mashuai ## [0.6.1] - 2020-07-20 From 505a46e53a1d9818e1088be92234d237ee8ed448 Mon Sep 17 00:00:00 2001 From: Nickolay Ponomarev Date: Mon, 7 Sep 2020 04:05:47 +0300 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4df3f2bbe..c3e39aab4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,11 +10,13 @@ Check https://github.com/ballista-compute/sqlparser-rs/commits/main for undocume ### Changed - Change the MySQL dialect to support `` `identifiers` `` quoted with backticks instead of the standard `"double-quoted"` identifiers (#247) - thanks @mashuai! +- Update bigdecimal requirement from 0.1 to 0.2 (#268) ### Added - Enable dialect-specific behaviours in the parser (`dialect_of!()`) (#254) - thanks @eyalleshem! - Support named arguments in function invocations (`ARG_NAME => val`) (#250) - thanks @eyalleshem! - Support `TABLE()` functions in `FROM` (#253) - thanks @eyalleshem! +- Support Snowflake's single-line comments starting with '#' or '//' (#264) - thanks @eyalleshem! - Support PostgreSQL `PREPARE`, `EXECUTE`, and `DEALLOCATE` (#243) - thanks @silathdiir! - Add SQLite dialect (#248) - thanks @mashuai! - Add Snowflake dialect (#259) - thanks @eyalleshem!