diff --git a/changelog b/changelog index 6232cc5..ccf671b 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,14 @@ +0.6.0 + checked - works with ghc 8.8.1 - but because of pretty-show, + the executable doesn't work with this ghc yet + change the dialect handling - now a dialect is a bunch of flags + plus a keyword list, and custom dialects are now feasible + (still incomplete) + fix parsing for a lot of things which are keywords in the standard + fix bug with cte pretty printing an extra 'as', which the parser + also incorrectly accepted + bug fix: allow keywords that are quoted to be parsed as identifiers + 0.5.0 update to work with ghc 8.6.5, also tested with 8.4.4 and 8.2.1 rename some of the modules Lexer -> Lex, Parser -> Parse diff --git a/simple-sql-parser.cabal b/simple-sql-parser.cabal index 8432372..60c00c2 100644 --- a/simple-sql-parser.cabal +++ b/simple-sql-parser.cabal @@ -1,5 +1,5 @@ name: simple-sql-parser -version: 0.5.1 +version: 0.6.0 synopsis: A parser for SQL. description: diff --git a/website/index.asciidoc b/website/index.asciidoc index 5f226e7..1fa4b4b 100644 --- a/website/index.asciidoc +++ b/website/index.asciidoc @@ -25,7 +25,7 @@ likely to change the abstract syntax types considerably. Release 0.5.0 is a checkpoint release since there hasn't been a release for a while. -Tested with GHC 8.6.5, 8.4.4 and 8.2.1. +Tested with GHC 8.8.1, 8.6.5, 8.4.4 and 8.2.1. == Links @@ -338,7 +338,6 @@ doIt src = do either (error . peFormattedError) (putStrLn . ppShow) parsed - ---- @@ -371,22 +370,14 @@ cabal v2-test ---- Or you can run them directly which gives more options. The tests use -tasty, which provides the command line options. +tasty, which provides the command line options. --hide-successes +with --ansi-tricks=false so it works is a good option to use: + ---- -cabal v2-build --enable-tests -dist-newstyle/build/x86_64-linux/ghc-8.6.5/simple-sql-parser-0.5.0/t/Tests/build/Tests/Tests +cabal new-run test:Tests -- --hide-successes --ansi-tricks=false ---- ---hide-successes is a good option to use: - ----- -dist-newstyle/build/x86_64-linux/ghc-8.6.5/simple-sql-parser-0.5.0/t/Tests/build/Tests/Tests --hide-successes ----- - -Right now this option doesn't seem to be working for me - it still -outputs a huge amount of text when all the tests pass. - == Reporting bugs Please report bugs here: