Releases: php-coder/query2app
Releases · php-coder/query2app
0.0.3
🚀 Features added
- add support for a generation of Golang+Chi+MySQL applications (#9)
- add support for a generation of Python+FastAPI+PostgreSQL applications (#16)
- add support for a generation of TypeScript+Express+MySQL applications (#35)
- generate
Dockerfile
for running a service (#42) - add support for using query parameters (
:q.name
) (#23) - add support for arguments of boolean type (#49)
- allow to include user defined routes (by creating
*_routes.$ext
files) (#27) - unify behavior for handling internal server errors (#48)
- preserve newlines in SQL queries (#26)
- allow comments for SQL queries in
endpoints.yaml
(#22); contributed by @kirsanium - add
--dest-dir
option to specify a destination directory of generated files (#24) - (python only) add support to aggregate multiple queries into a single response (#17)
📄 Other Changes
0.0.2
🚀 Features added
- GET responds with 404 error when database returned empty result
- add
get_list
verb to support GET with a list of objects - add support for DELETE requests
- add support for POST requests
- add support for PUT requests
- add support for parameter prefixes in order to be able to explicitly bind to a desired origin
- generate endpoints in a separate file (
routes.js
) - route parameters now can be passed as named parameters to SQL queries
🐛 Bugs fixed
- add a missing comma to fix syntax error
- correctly join a multi-line query when the 2nd line doesn't start with a leading space
- don't pass the same parameters many times when they are used more than once in a query
- GET's response has been changed from a value to an object:
10
becomes{"counter": 10}