Skip to content

Commit a765146

Browse files
authored
Prepare for 0.40.0 release, derive 0.2.0 release (#1053)
1 parent 64eccdb commit a765146

File tree

4 files changed

+41
-2
lines changed

4 files changed

+41
-2
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,29 @@ Given that the parser produces a typed AST, any changes to the AST will technica
88
## [Unreleased]
99
Check https://github.com/sqlparser-rs/sqlparser-rs/commits/main for undocumented changes.
1010

11+
12+
## [0.40.0] 2023-11-27
13+
14+
### Added
15+
* Add `{pre,post}_visit_query` to `Visitor` (#1044) - Thanks @jmhain
16+
* Support generated virtual columns with expression (#1051) - Thanks @takluyver
17+
* Support PostgreSQL `END` (#1035) - Thanks @tobyhede
18+
* Support `INSERT INTO ... DEFAULT VALUES ...` (#1036) - Thanks @CDThomas
19+
* Support `RELEASE` and `ROLLBACK TO SAVEPOINT` (#1045) - Thanks @CDThomas
20+
* Support `CONVERT` expressions (#1048) - Thanks @lovasoa
21+
* Support `GLOBAL` and `SESSION` parts in `SHOW VARIABLES` for mysql and generic - Thanks @emin100
22+
* Support snowflake `PIVOT` on derived table factors (#1027) - Thanks @lustefaniak
23+
* Support mssql json and xml extensions (#1043) - Thanks @lovasoa
24+
* Support for `MAX` as a character length (#1038) - Thanks @lovasoa
25+
* Support `IN ()` syntax of SQLite (#1028) - Thanks @alamb
26+
27+
### Fixed
28+
* Fix extra whitespace printed before `ON CONFLICT` (#1037) - Thanks @CDThomas
29+
30+
### Changed
31+
* Document round trip ability (#1052) - Thanks @alamb
32+
* Add PRQL to list of users (#1031) - Thanks @vanillajonathan
33+
1134
## [0.39.0] 2023-10-27
1235

1336
### Added

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ serde = { version = "1.0", features = ["derive"], optional = true }
3434
# of dev-dependencies because of
3535
# https://github.com/rust-lang/cargo/issues/1596
3636
serde_json = { version = "1.0", optional = true }
37-
sqlparser_derive = { version = "0.1.1", path = "derive", optional = true }
37+
sqlparser_derive = { version = "0.2.0", path = "derive", optional = true }
3838

3939
[dev-dependencies]
4040
simple_logger = "4.0"

derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "sqlparser_derive"
33
description = "proc macro for sqlparser"
4-
version = "0.1.1"
4+
version = "0.2.0"
55
authors = ["sqlparser-rs authors"]
66
homepage = "https://github.com/sqlparser-rs/sqlparser-rs"
77
documentation = "https://docs.rs/sqlparser_derive/"

derive/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,19 @@ visitor.post_visit_expr(<is null operand>)
131131
visitor.post_visit_expr(<is null operand>)
132132
visitor.post_visit_expr(<is null expr>)
133133
```
134+
135+
## Releasing
136+
137+
This crate's release is not automated. Instead it is released manually as needed
138+
139+
Steps:
140+
1. Update the version in `Cargo.toml`
141+
2. Update the corresponding version in `../Cargo.toml`
142+
3. Commit via PR
143+
4. Publish to crates.io:
144+
145+
```shell
146+
# update to latest checked in main branch and publish via
147+
cargo publish
148+
```
149+

0 commit comments

Comments
 (0)