New features:
- Command line interface
- Amazone Redshift support
- Spark SQL support
uppercase
option for converting keywords to uppercase
Bugfixes:
- Proper unicode support (e.g. table and column names written in Chinese hieroglyphs or Cyrillic)
- Support all PostgreSQL operators and
:=
operator. - Support CASE...WHEN in standard SQL
- Handle Windows line endings in comments
- When format() not called with string, no more throws error from inside the Tokenizer, just returns empty string.
- Fix block-comment indentation
- Support scientific notation for floating point numbers (e.g.
1.5e-10
) - Prevent splitting of compound tokens like
UNION ALL
- Improve open paren indentation after comma without whitespace
Internals:
- Adopt prettier, re-indent all the code (huh-huh)
- Drop Lodash library dependency