|
1 | | -### Version 0.3.5 |
| 1 | +# Changelog |
| 2 | + |
| 3 | +## Version 0.4.0 |
| 4 | + |
| 5 | +- feat!: More formatting options (#78) |
| 6 | +- feat!: More formatting options (#74) |
| 7 | +- feat: Consistently space blocks after arguments |
| 8 | +- feat: Correctly inline opening parentheses (#100) |
| 9 | +- feat: Support more conditionally top level tokens (#99) |
| 10 | +- feat: Complex insert support (#90) |
| 11 | +- feat: Add fmt for SQLite blob literal |
| 12 | +- feat: Uniform the behaviour of block and top-level span options |
| 13 | +- fix: Place a whitespace between the array type specifier and a reserved word |
| 14 | +- fix: Correctly format array type specifier (#91) |
| 15 | +- fix: Format inline `CASE <expression> WHEN` correctly (#86) |
| 16 | +- fix: Fix formatting WITH as a single line |
| 17 | +- fix: Keep the previous tokens per-block |
| 18 | +- fix: Improve the inline/columnar combination (#80) |
| 19 | +- fix: Consider WITH a top level reserved word |
| 20 | +- fix: Fix the span computation and usage |
| 21 | +- chore: Upgrade to Winnow 0.7.0 (#79) |
| 22 | + |
| 23 | +## Version 0.3.5 |
2 | 24 |
|
3 | 25 | - Support pg_trgm operators |
4 | 26 | - Remove usage of a deprecated `winnow` function |
5 | 27 |
|
6 | | -### Version 0.3.4 |
| 28 | +## Version 0.3.4 |
7 | 29 |
|
8 | 30 | - Migrate from `nom` to `winnow`, provides about 30% performance improvement |
9 | 31 |
|
10 | | -### Version 0.3.3 |
| 32 | +## Version 0.3.3 |
11 | 33 |
|
12 | 34 | - Reduce binary size by removing regex dependency (#68) |
13 | 35 |
|
14 | | -### Version 0.3.2 |
| 36 | +## Version 0.3.2 |
15 | 37 |
|
16 | 38 | - support ClickHouse/DuckDB join variants |
17 | 39 | - handle double colons better |
18 | 40 |
|
19 | | -### Version 0.3.1 |
| 41 | +## Version 0.3.1 |
20 | 42 |
|
21 | 43 | - Allow latest regex version (#55) |
22 | 44 | - [slightly breaking] Increases minimum Rust version to 1.65 |
23 | 45 | - Fixes for operator parsing (#57) |
24 | 46 | - Performance improvements (#58) |
25 | 47 |
|
26 | | -### Version 0.3.0 |
| 48 | +## Version 0.3.0 |
27 | 49 |
|
28 | 50 | - [breaking] fix: Ignore keywords for uppercase=True (#53) |
29 | 51 | - fix: uppercase=false does not lowercase the query (#50) |
30 | 52 | - fix: Possible to provide an escape hatch for expressions (#51) |
31 | 53 |
|
32 | | -### Version 0.2.6 |
| 54 | +## Version 0.2.6 |
33 | 55 |
|
34 | 56 | - fix: ON UPDATE with two many blank formatted incorrectly (#46) |
35 | 57 | - fix: `EXCEPT` not handled well |
|
38 | 60 | - fix: RETURNING is not placed on a new line |
39 | 61 | - fix: fix the issue of misaligned comments after formatting (#40) |
40 | 62 |
|
41 | | -### Version 0.2.4 |
| 63 | +## Version 0.2.4 |
42 | 64 |
|
43 | 65 | - Remove `itertools` dependency [#34](https://github.com/shssoichiro/sqlformat-rs/pull/34) |
44 | 66 |
|
45 | | -### Version 0.2.3 |
| 67 | +## Version 0.2.3 |
46 | 68 |
|
47 | 69 | - Allow alphanumeric characters in SQLite style parameters [#32](https://github.com/shssoichiro/sqlformat-rs/pull/32) |
48 | 70 | - Format "begin" and "declare" for PLPgSql [#30](https://github.com/shssoichiro/sqlformat-rs/pull/30) |
49 | 71 | - Allow scientific notation with or without "+"/"-" [#31](https://github.com/shssoichiro/sqlformat-rs/pull/31) |
50 | 72 | - Treat "$$" as a reserved token that sits on its own line [#29](https://github.com/shssoichiro/sqlformat-rs/pull/29) |
51 | 73 | - Bump itertools to version 0.12 [#28](https://github.com/shssoichiro/sqlformat-rs/pull/28) |
52 | 74 |
|
53 | | -### Version 0.2.2 |
| 75 | +## Version 0.2.2 |
54 | 76 |
|
55 | 77 | - Fix a performance issue where the tokenizer would run in O^2 |
56 | 78 | time [#24](https://github.com/shssoichiro/sqlformat-rs/pull/24) |
57 | 79 |
|
58 | | -### Version 0.2.1 |
| 80 | +## Version 0.2.1 |
59 | 81 |
|
60 | 82 | - Fix extra spaces inside of scientific notation [#16](https://github.com/shssoichiro/sqlformat-rs/pull/16) |
61 | 83 | - Remove unnecessary space in BETWEEN clause [#17](https://github.com/shssoichiro/sqlformat-rs/pull/17) |
62 | 84 | - Denote the minimum Rust version in Cargo.toml |
63 | 85 |
|
64 | | -### Version 0.2.0 |
| 86 | +## Version 0.2.0 |
65 | 87 |
|
66 | 88 | - Fix extra spaces in string escaping [#13](https://github.com/shssoichiro/sqlformat-rs/pull/13) |
67 | 89 | - Fix panic on overflowing integer [#14](https://github.com/shssoichiro/sqlformat-rs/pull/14) |
68 | 90 | - Bump Rust edition to 2021 |
69 | 91 | - This is technically a breaking change as it bumps the minimum Rust version to 1.56 |
70 | 92 |
|
71 | | -### Version 0.1.8 |
| 93 | +## Version 0.1.8 |
72 | 94 |
|
73 | 95 | - Remove regex dependency |
74 | 96 | - Remove unused maplit dependency |
75 | 97 |
|
76 | | -### Version 0.1.7 |
| 98 | +## Version 0.1.7 |
77 | 99 |
|
78 | 100 | - Bump nom to 7.0, which reportedly also fixes some build issues |
79 | 101 |
|
80 | | -### Version 0.1.6 |
| 102 | +## Version 0.1.6 |
81 | 103 |
|
82 | 104 | - Fix compatibility with Rust 1.44 which was broken in 0.1.5 |
83 | 105 |
|
84 | | -### Version 0.1.5 |
| 106 | +## Version 0.1.5 |
85 | 107 |
|
86 | 108 | - Fix a possible panic on multibyte unicode strings |
87 | 109 |
|
88 | | -### Version 0.1.4 |
| 110 | +## Version 0.1.4 |
89 | 111 |
|
90 | 112 | - Attempt again to fix the issue some users experience where this crate would fail to compile |
91 | 113 |
|
92 | | -### Version 0.1.3 |
| 114 | +## Version 0.1.3 |
93 | 115 |
|
94 | 116 | - Fix an issue some users experienced where this crate would fail to compile |
95 | 117 |
|
96 | | -### Version 0.1.2 |
| 118 | +## Version 0.1.2 |
97 | 119 |
|
98 | 120 | - Rewrite the parser in nom, providing significant performance improvements across the board |
99 | 121 | - Other significant performance improvement on pathological queries |
100 | 122 |
|
101 | | -### Version 0.1.1 |
| 123 | +## Version 0.1.1 |
102 | 124 |
|
103 | 125 | - Significant performance improvements |
104 | 126 |
|
105 | | -### Version 0.1.0 |
| 127 | +## Version 0.1.0 |
106 | 128 |
|
107 | 129 | - Initial release |
0 commit comments