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

Commit e251038

Browse files
committed
added several array methods (e.g.: , , ) so that I could remove as a dependency of the smart error class. removed dependency in core . is now only a again. refs #2
1 parent b2749e5 commit e251038

File tree

9 files changed

+611
-25053
lines changed

9 files changed

+611
-25053
lines changed

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,46 @@ All notable changes to this project will be documented in this file.
33

44
## [Unreleased][unreleased]
55

6+
## [v0.8.0] - 2015-07-04
7+
### Added
8+
- added several array methods (e.g.: `findLast()`, `takeRight()`, `pluck()`) so that I could remove `lodash` as a dependency of the "smart error" `Tracer` class
9+
10+
### Changed
11+
- removed `lodash` dependency in core `Tracer`. `lodash` is now only a `devDependency` again!
12+
13+
### Notes
14+
- considering removing the `promise` dependency from the core `sqlite-parser` library before `v1.0.0`, as well, so that the parser can be dependency free as a standalone library. people could choose to "promisify" the parser or just use it synchronously instead of being forced to bundle the `promise` dependency when bundling this package for use in the browser. It actually looks like all the evergreen browsers except IE currently support a native `Promise` implementation, so having a non-native `Promise` implementation as a dependency will probably be obsolete pretty soon.
15+
16+
## [v0.7.0] - 2015-07-02
17+
### Added
18+
- additional rule descriptions in `grammar.pegjs`
19+
20+
### Changed
21+
- cleaned up css in the interactive demo
22+
23+
### Fixed
24+
- fixed error reporting when there is more than one statement in the input SQL.
25+
- still need to make sure previous tree is not used if a subsequent statement has an error at the highest level
26+
27+
``` sql
28+
SELECT *
29+
FROM cats;
30+
SELECT * d
31+
```
32+
33+
### Notes
34+
- to support the "smart errors" changes were made to the `pegjs` library code in `lib/compiler/passes/generate-javascript.js`. this was done to allow `Tracer` to get the `description` names for the rules that are referenced in the error messages. will need to fork `pegjs` to get the changes to `pegjs` core into version control so they are not accidentally overwritten.
35+
36+
do not show parenthesis in error message for syntax error when thereis nothing to put inside them. fixes for css in demo
37+
38+
demo layout off by 1px when at smallest resolution
39+
40+
did a lot of cleanup on demo styles, responsive layout, error notification. changed error message format for smart errors
41+
42+
fixed rules for double-quoted, backticked, and bracketed identifiers to allow for escapes, leading or trailing spaces, and the full character set that is legal for quoted identifiers, where allowed. fixed datatype names that did not display correctly in generated AST. fixed string literal definition to allow all possible input
43+
44+
fixed value format for direction key in PRIMARY KEY table contrainsts cleaned up CSS for demo.
45+
646
## [v0.6.0] - 2015-07-01
747
### Changed
848
- updated grammar to remove all dependence on `modifier` clause as it was being used as a catch-all clause for stray parts of statements

0 commit comments

Comments
 (0)