Skip to content

v0.3.0

Pre-release
Pre-release

Choose a tag to compare

@mauritzn mauritzn released this 28 Jan 04:45
· 24 commits to main since this release

!! BREAKING CHANGES !!

This update contains breaking changes due to the change of some constructor options, the addition of $options to move_uploaded_file and the updated send_file method.

Adds:

Changes:

  • Constructor options (Documentation).
    • provide_error_handler is now handle_php_errors.
    • include_status_code_in_json is now include_status_code_in_sent_json.
    • use_error_log is now use_error_log_in_error_handler.
    • New always_use_helmet option with the default value of true.
  • send_file now throws Exceptions on error (Documentation).
  • Updated default helmet headers.

The framework still needs some more testing, so use with caution.