Skip to content

0.0.2

Compare
Choose a tag to compare
@php-coder php-coder released this 26 Jul 19:10
· 319 commits to master since this release

πŸš€ 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

⚠️ BREAKING CHANGES

  • GET's response has been changed from a value to an object: 10 becomes {"counter": 10}