Skip to content

Releases: flightphp/core

v3.12.0

22 Aug 17:06
63fbf9b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.11.1...v3.12.0

v3.11.1

13 Jul 03:42
7cfaca8
Compare
Choose a tag to compare

What's Changed

  • Corrected the cache behavior in some areas by @n0nag0n in #599

Full Changelog: v3.11.0...v3.11.1

v3.11.0

04 Jul 15:08
8dd255c
Compare
Choose a tag to compare

What's Changed

  • fix: make the jsonHalt a static function as the user guide indicates by @Billtec in #597
  • Changed default cache behavior by @n0nag0n in #598

New Contributors

Full Changelog: v3.10.1...v3.11.0

v3.10.1

03 Jun 15:31
39ac87c
Compare
Choose a tag to compare

What's Changed

Old behaviour

Flight::render('input', ['required'=>true);
Flight::render('component'); // required is still true

New behaviour (activable)

Flight::view()->preserveVars = false;

Flight::render('input', ['required'=>true);
Flight::render('component'); // PHP Warning: undefined variable required

// You can provide default values
Flight::view()->set('globalVariable', 'value');

// or set default in view components
// input.php
$required ??= false;

Full Changelog: v3.10.0...v3.10.1

v3.10.0

30 May 13:41
c8a1c88
Compare
Choose a tag to compare

What's Changed

  • Simplified php version constraint by @fadrian06 in #588
  • Added ability to throw a method not found instead of 404 by @n0nag0n in #591
  • Maintains headers on redirect, error, and halt. Added Flight::jsonHalt() by @n0nag0n in #594

Full Changelog: v3.9.0...v3.10.0

v3.9.0

09 May 04:29
c3c5c29
Compare
Choose a tag to compare

What's Changed

  • Made stream default status code of 200 by @fadrian06 in #574
  • added plain stream() method by @n0nag0n in #575
  • Remove .vscode directory, and add it to .gitignore by @vlakoff in #583
  • Changed it so runway commands are run from any repo by @n0nag0n in #586
  • Allowed for middlewares to be created with container by @n0nag0n in #585

New Contributors

Full Changelog: v3.8.1...v3.9.0

v3.8.1

11 Apr 04:29
0011efd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.8.0...v3.8.1

v3.8.0

10 Apr 01:48
d92c65f
Compare
Choose a tag to compare

What's Changed

  • Improvements to Dispatcher class by @fadrian06 in #567
  • Added ability to convert the response body with callbacks by @n0nag0n in #571

Full Changelog: v3.7.2...v3.8.0

v3.7.2

30 Mar 13:37
fe2ad0c
Compare
Choose a tag to compare

What's Changed

  • added comment, removed unused file reference. by @n0nag0n in #564
  • Added ability to load classes with _ in them by @n0nag0n in #566

Full Changelog: v3.7.1...v3.7.2

v3.7.1

23 Mar 15:55
4fe54ea
Compare
Choose a tag to compare

What's Changed

  • phpunit fixes for deprecated notices. Also Collection reset removal by @n0nag0n in #560

Full Changelog: v3.7.0...v3.7.1