Skip to content

10.0.0

Compare
Choose a tag to compare
@nene nene released this 25 Aug 08:21
· 804 commits to master since this release

Breaking changes

  • Encountering braces {} or brackets [] in SQL dialect not supporting these will now throw error #400
  • Encountering unbalanced parenthesis () (also {} and []) will now produce an error #277

Performance

  • Tokenizer is now faster, thanks to removal of case-insensitive regex transform #394
  • Parser is now slower, because of the switch to nearley #277
  • Overall performance is more impacted by the parser, so the net result is a slower formatting. Though this should only affect you if you're formatting megabytes worth of SQL.

Internal changes

  • Switch from hand-written parser to Nearley parser-generator #277
  • Added more token types #398 #395
  • Replace open- and closeParens configs with extraParens #405