View Source Changelog
v-1-1-0
v 1.1.0
enhancements
Enhancements
- Added new lexer with improved tokens. Now these tokens track:
- lines and columns for each token.
- original and modified contents.
- Added new parser with support for both named and unamed queries.
- Improved compiler errors. Now they show:
- line and columns where errors occur.
- surrounding lines containing the error.
- Added missing tests for the runners.
- Reorganized documentation.
v1-0-0
v1.0.0
enhancements-1
Enhancements
- Added support for specific runner options e.g. adding a
timeout
to thePostgrex
query.
breaking-changes
Breaking changes
- Now it runs queries by default. To avoid running the queries, add the
option
run: false
on the module or the function calls.
v0-6-1
v0.6.1
bug-fix
Bug fix
- Dax Ravi fixed an infinite recursion problem in fragment token regular expression in the lexer.
v0-6-0
v0.6.0
enhancements-2
Enhancements
- Added support for subqueries with local scope.
- Improved documentation.
v0-5-5
v0.5.5
bug-fix-1
Bug fix
- Added missing support for function calls by name in parameters.
v0-5-4
v0.5.4
bug-fix-2
Bug fix
- Added support for
nil
values for parameters (NULL
).
v0-5-3
v0.5.3
bug-fix-3
Bug fix
- Added support for Windows new line.
v0-5-2
v0.5.2
enhancements-3
Enhancements
- Fixed dialyzer warnings for unexistent type
AyeSQL.Core.query()
.
v0-5-1
v0.5.1
enhancements-4
Enhancements
- Improved documentation.
v0-5-0
v0.5.0
This version maintains the same query language, but it breaks runners as now
queries return AyeSQL.Query.t()
instead of {binary(), [term()]}
.
enhancements-5
Enhancements
- Refactored code to improve readability.
- Added
AyeSQL.Query
for queries (instead of tuple). - Added
AyeSQL.Error
for query errors (instead of returning a string with the missing parameter). - Added
AyeSQL.AST.Context
to be able to handle several errors, instead of returning them one at the time. - Improved documentation explaining all features.
v0-4-1
v0.4.1
enhancements-6
Enhancements
- Added optional arguments for better composition.
v0-4-0
v0.4.0
enhancements-7
Enhancements
- Added
AyeSQL.Runner
behaviour for writing custom query runners. - New query runners for Ecto and Postgrex connections.
v0-3-2
v0.3.2
- Added configuration support for running queries by default.
v0-3-1
v0.3.1
enhancements-8
Enhancements
- Added
defqueries/3
to avoid boiler plate code.
v0-3-0
v0.3.0
enhancements-9
Enhancements
- Simplified lexer and parser.
- Now it's possible to accept anonymous blocks of code.
v0-2-0
v0.2.0
enhancements-10
Enhancements
- Now it detects when an SQL file has been changed (suggested by Ole Morten Halvorsen).
- Updated dependencies.
- Improved code for maintainability.
- Improved tests for more code coverage.
- Support for Elixir 1.8 and Erlang 21