You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+72-1Lines changed: 72 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,74 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
Given that the parser produces a typed AST, any changes to the AST will technically be breaking and thus will result in a `0.(N+1)` version. We document changes that break via addition as "Added".
7
7
8
8
## [Unreleased]
9
-
Check https://github.com/andygrove/sqlparser-rs/commits/master for undocumented changes.
9
+
Check https://github.com/ballista-compute/sqlparser-rs/commits/main for undocumented changes.
* Support parsing floats without leading digits `.01` (#294)
18
+
* Support parsing multiple show variables (#290) - Thanks @francis-du!
19
+
* Support SQLite `INSERT OR [..]` syntax (#281) - Thanks @zhangli-pear!
20
+
21
+
## [0.7.0] 2020-12-28
10
22
11
23
### Changed
24
+
- Change the MySQL dialect to support `` `identifiers` `` quoted with backticks instead of the standard `"double-quoted"` identifiers (#247) - thanks @mashuai!
25
+
- Update bigdecimal requirement from 0.1 to 0.2 (#268)
26
+
27
+
### Added
28
+
- Enable dialect-specific behaviours in the parser (`dialect_of!()`) (#254) - thanks @eyalleshem!
29
+
- Support named arguments in function invocations (`ARG_NAME => val`) (#250) - thanks @eyalleshem!
30
+
- Support `TABLE()` functions in `FROM` (#253) - thanks @eyalleshem!
31
+
- Support Snowflake's single-line comments starting with '#' or '//' (#264) - thanks @eyalleshem!
32
+
- Support PostgreSQL `PREPARE`, `EXECUTE`, and `DEALLOCATE` (#243) - thanks @silathdiir!
33
+
- Support PostgreSQL math operators (#267) - thanks @alex-dukhno!
- Support `FROM (table_name) alias` syntax - thanks @eyalleshem!
38
+
- Support for `EXPLAIN [ANALYZE] VERBOSE` - thanks @ovr!
39
+
- Support `ANALYZE TABLE`
40
+
- DDL:
41
+
- Support `OR REPLACE` in `CREATE VIEW`/`TABLE` (#239) - thanks @Dandandan!
42
+
- Support specifying `ASC`/`DESC` in index columns (#249) - thanks @mashuai!
43
+
- Support SQLite `AUTOINCREMENT` and MySQL `AUTO_INCREMENT` column option in `CREATE TABLE` (#234) - thanks @mashuai!
44
+
- Support PostgreSQL `IF NOT EXISTS` for `CREATE SCHEMA` (#276) - thanks @alex-dukhno!
45
+
46
+
### Fixed
47
+
- Fix a typo in `JSONFILE` serialization, introduced in 0.3.1 (#237)
48
+
- Change `CREATE INDEX` serialization to not end with a semicolon, introduced in 0.5.1 (#245)
49
+
- Don't fail parsing `ALTER TABLE ADD COLUMN` ending with a semicolon, introduced in 0.5.1 (#246) - thanks @mashuai
50
+
51
+
## [0.6.1] - 2020-07-20
52
+
53
+
### Added
54
+
- Support BigQuery `ASSERT` statement (#226)
55
+
56
+
## [0.6.0] - 2020-07-20
57
+
58
+
### Added
59
+
- Support SQLite's `CREATE TABLE (...) WITHOUT ROWID` (#208) - thanks @mashuai!
60
+
- Support SQLite's `CREATE VIRTUAL TABLE` (#209) - thanks @mashuai!
61
+
62
+
## [0.5.1] - 2020-06-26
63
+
This release should have been called `0.6`, as it introduces multiple incompatible changes to the API. If you don't want to upgrade yet, you can revert to the previous version by changing your `Cargo.toml` to:
64
+
65
+
sqlparser = "= 0.5.0"
66
+
67
+
68
+
### Changed
69
+
-**`Parser::parse_sql` now accepts a `&str` instead of `String` (#182)** - thanks @Dandandan!
12
70
- Change `Ident` (previously a simple `String`) to store the parsed (unquoted) `value` of the identifier and the `quote_style` separately (#143) - thanks @apparebit!
13
71
- Support Snowflake's `FROM (table_name)` (#155) - thanks @eyalleshem!
72
+
- Add line and column number to TokenizerError (#194) - thanks @Dandandan!
73
+
- Use Token::EOF instead of Option<Token> (#195)
74
+
- Make the units keyword following `INTERVAL '...'` optional (#184) - thanks @maxcountryman!
75
+
- Generalize `DATE`/`TIME`/`TIMESTAMP` literals representation in the AST (`TypedString { data_type, value }`) and allow `DATE` and other keywords to be used as identifiers when not followed by a string (#187) - thanks @maxcountryman!
0 commit comments