Skip to content
This repository was archived by the owner on Jul 15, 2021. It is now read-only.

Commit 0d48351

Browse files
committed
Release v0.12.1.
1 parent 5f57b2d commit 0d48351

File tree

7 files changed

+10519
-4933
lines changed

7 files changed

+10519
-4933
lines changed

CHANGELOG.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@
22
All notable changes to this project will be documented in this file.
33

44
## [Unreleased][unreleased]
5+
6+
## [v0.12.1] - 2016-01-29
57
### Fixed
6-
- the parser picked up on `INT` instead of the full keyword `INTERSECT` in queries such as the following, causing a parse error:
8+
- Refactor to solve the different issues that come from trying to use unquoted reserved words as
9+
part of table names, column names, aliases, etc... This also addresses issues that came from certain SQLite keywords being fully contained within other keywords (e.g.: `IN` is contained in `INT` which is contained in `INTERSECT`).
710

811
``` sql
9-
SELECT a, b FROM table1
12+
select intersects inid, innot notin
13+
from fromson nots
14+
where colorwhere IN nots.pon
1015
INTERSECT
11-
SELECT * FROM table2
16+
select suit, tie from pants;
1217
```
1318

1419
## [v0.12.0] - 2015-09-29
@@ -437,7 +442,8 @@ All notable changes to this project will be documented in this file.
437442
### Added
438443
- First working version of sqlite-parser
439444

440-
[unreleased]: https://github.com/codeschool/sqlite-parser/compare/v0.12.0...HEAD
445+
[unreleased]: https://github.com/codeschool/sqlite-parser/compare/v0.12.1...HEAD
446+
[v0.12.1]: https://github.com/codeschool/sqlite-parser/compare/v0.12.0...v0.12.1
441447
[v0.12.0]: https://github.com/codeschool/sqlite-parser/compare/v0.10.2...v0.12.0
442448
[v0.10.2]: https://github.com/codeschool/sqlite-parser/compare/v0.9.8...v0.10.2
443449
[v0.9.8]: https://github.com/codeschool/sqlite-parser/compare/v0.9.1...v0.9.8

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ syntax error is produced if an AST cannot be generated.
1313

1414
## Install
1515

16-
**IMPORTANT: If you want intelligent error messages for syntax errors, then use the `v0.11.0` release. If you want the fastest possible version of the parser, with the tradeoff of poor syntax error feedback, use the `v0.12.0` release.**
16+
**IMPORTANT: If you want intelligent error messages for syntax errors, then use the `v0.11.1` release. If you want the fastest possible version of the parser, with the tradeoff of poor syntax error feedback, use the `v0.12.1` release.**
1717

1818
```
1919
npm install sqlite-parser

demo/js/sqlite-parser-demo.js

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/sqlite-parser-min.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)