Changelog

Added

Fixed

  • More helpful error message for misspelled type names in Swagger schemas

  • don't leak Authorization in FLAT::getRequestInfo()

  • fixed a mixup of JSON DOM representation styles

Added

Fixed

  • set-env now does not produce unnecessary quotes for numeric values

  • Problem in the split() function, if called with a string containing an ampersand

  • Send Vary: Origin response headers for non-preflight requests if CORS is enabled but Origin was not sent

Added

Fixed

Added

Fixed

Changed

The log action can no longer override system log fields.

Added

Fixed

Added

Fixed

  • If a client URL path is below the API base path, does not match any defined route, and a path is defined which equals the API base path, so that a matching client URL path is the concatenation of the API base path with itself (e.g. /api/api if the basePath is /api), the fallback flow is now properly executed.

  • Some PEM formatted keys could not be recognized during JWT processing.

  • Multi-line values for environment variables are now supported.

Changed

Added

Changed

Fixed

  • When testing multiple test files with flat test, each test now tests its own response.

  • Fatal errors when using certain combinations of jwt-decode() and <eval/>

Fixed

Added

Changed

Added

Fixed

Changed

Added

Changed

Fixed

  • The default value for the use-http-cache request option is now false, even if no request options are configured.

  • Segmentation fault (or double free) when eval is used to assign nodes from a node-set variable to another variable

Added

Changed

Fixed

  • Some alert messages were logged twice

  • Evaluating an undefined or null variable, as a string, now returns the empty string instead of the string null

  • Incorrect default content-type text/xml for request bodies

  • The set-response-headers action now replaces Cache-Control headers instead of merging them

  • The serve action now correctly handles whitespace and other URL-Encoded characters in the name of the fallback-doc

Added

Changed

  • The test search for flat-test is recursive

  • Logs are sent to stderr in JSON format

Fixed

Added

  • The $error variable containing error information for client request/response validation errors

  • The error flow, called if an error occurs, and referenced by flow in x-flat-error in the swagger.yaml

  • The exit-on-error request option (for JSON-configured requests) to trigger the error flow

  • An additional parameter algorithm for the jwt-decode() function to limit the acceptable signing algorithms. Mandatory for RSASSA based signatures

  • The contains and pattern compare flags for the assert action

  • The flat test Framework with assert, test-request, backend-flow and set-env actions

  • The json-stringify() and json-parse() functions

Changed

Fixed

Last updated