Version 2.2.2
Bugs Fixed
- #153: Resurfaced: A CF8 compatibility issue. This has been resolved.
- #187: Changed logging default from email (to nobody, which could cause a lot of un-sendable email to pile up in your server's spool) to logging to the response buffer, which makes more sense for development. You'll want to change this in production, of course.
- Fixed a bug in time metrics reporting during the OPTIONS request phase of CORS requests.
- Fixed a bug where a resource with no methods defined would cause the dashboard to crash.
- #189: @jbvanzuylen fixed a bug where a successful response (status 204) with no response body (
return noData()
) would cause the dashboard to hang, waiting forever for the response. - #185: Posting a json array, rather than a structure, as the request body (see: #169) from the dashboard would cause error message "Looks like you're sending JSON data, but you haven't specified a content type. Aborting request."
New Features
- LogToScreen now always returns status 500
- #194: When pre-filling in the request body in the dashboard, body arguments now have the correct data type (strings, numerics, etc)
- #197: @sneiland added a
queryToStruct
helper for when you're expecting only a single row back, which does whatqueryToArray( qry )[0]
would do, but with a nicer syntax. - #193: Added buttons to the dashboard to hide the documentation and make the interactive request tools full-width.
Thanks
Special thanks to @sneiland and @jbvanzuylen this time for their contributions!