Skip to content

v0.5.0 - Function types, Input Validation, Url TypeStrings

Compare
Choose a tag to compare
@joelesko joelesko released this 11 Jun 05:14
· 235 commits to master since this release

New Language Features

  • Optional argument type declarations
  • Splat for argument unpacking
  • Spaceship operator <=>
  • @@ alias for current module
  • Hex 0xabc and binary digits 0b101
  • Bitwise operators: e.g. +& +| (like Perl 6)

Framework Features

  • Page auto-functions
  • Telemetry for error pages
  • Doc links in error pages
  • Update Perf Panel UI for more auditing
  • CSRF token and nonce automatically added to HTML templates
  • HSTS headers

New Modules & Classes

  • Url
  • UrlQuery
  • Response
  • Request
  • Settings
  • Input (and validation rules)
  • Password

Fixes

  • Dozens of bug fixes and refactors
  • Refactor of TypeString logic
  • #9 strpos argument bug (🍺 THanks @hacioguz)