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

Commit

Permalink
Release v0.11.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
nwronski committed Jan 29, 2016
1 parent d3ed55c commit 8997fbc
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 13 deletions.
24 changes: 21 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.

## [Unreleased][unreleased]

## [v0.11.1] - 2016-01-29
## [v0.11.2] - 2016-01-29
### Fixed
- Refactor to solve the different issues that come from trying to use unquoted reserved words as
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`).
Expand All @@ -15,6 +15,24 @@ part of table names, column names, aliases, etc... This also addresses issues th
INTERSECT
select suit, tie from pants;
```
- Whoops! `order` property of `SELECT` statements contained an object with a `result` key that contained the ordering list instead of just containing the ordering list. It should actually look like this instead:

``` json
{
"order": [
{
"type": "expression",
"variant": "order",
"expression": {
"type": "identifier",
"variant": "column",
"name": "hats"
},
"direction": "asc"
}
]
}
```

## [v0.11.0] - 2015-09-29
### Changed
Expand Down Expand Up @@ -443,8 +461,8 @@ part of table names, column names, aliases, etc... This also addresses issues th
### Added
- First working version of sqlite-parser

[unreleased]: https://github.com/codeschool/sqlite-parser/compare/v0.11.1...HEAD
[v0.11.1]: https://github.com/codeschool/sqlite-parser/compare/v0.11.0...v0.11.1
[unreleased]: https://github.com/codeschool/sqlite-parser/compare/v0.11.2...HEAD
[v0.11.2]: https://github.com/codeschool/sqlite-parser/compare/v0.11.0...v0.11.2
[v0.11.0]: https://github.com/codeschool/sqlite-parser/compare/v0.10.2...v0.11.0
[v0.10.2]: https://github.com/codeschool/sqlite-parser/compare/v0.9.8...v0.10.2
[v0.9.8]: https://github.com/codeschool/sqlite-parser/compare/v0.9.1...v0.9.8
Expand Down
4 changes: 2 additions & 2 deletions demo/js/sqlite-parser-demo.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/sqlite-parser-min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/sqlite-parser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sqlite-parser - v0.11.1
* sqlite-parser - v0.11.2
* @copyright 2016 Code School (http://codeschool.com)
* @author Nick Wronski <[email protected]>
*/
Expand All @@ -25,7 +25,7 @@ function sqliteParser(source, callback) {
}

sqliteParser['NAME'] = 'sqlite-parser';
sqliteParser['VERSION'] = '0.11.1';
sqliteParser['VERSION'] = '0.11.2';

module.exports = sqliteParser;

Expand Down Expand Up @@ -917,7 +917,7 @@ module.exports = (function() {
peg$c178 = { type: "other", description: "ORDER BY Clause" },
peg$c179 = function(d) {
return {
'order': d
'order': d['result']
};
},
peg$c180 = { type: "other", description: "LIMIT Clause" },
Expand Down
2 changes: 1 addition & 1 deletion lib/parser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "sqlite-parser",
"description": "JavaScript implentation of SQLite 3 query parser",
"author": "Code School (http://codeschool.com)",
"version": "0.11.1",
"version": "0.11.2",
"contributors": [
"Nick Wronski <[email protected]>"
],
Expand Down

0 comments on commit 8997fbc

Please sign in to comment.