Skip to content

Releases: flightphp/core

Version 3.4.1

07 Feb 00:44
8bec365
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.4.0...v3.4.1

Version 3.4.0

05 Feb 16:57
6e40f79
Compare
Choose a tag to compare

What's Changed

  • fix testStaticFunctionMapping to actually map a static method by @lubiana in #535
  • Fixed phpstan suggestion by @fadrian06 in #536
  • Beautified README by @fadrian06 in #537
  • Dispatcher improvements. by @fadrian06 in #538
    • This could potential introduce a breaking change, but it has been tested with many known use cases. There are 2 notices that will be thrown now if you try to override an event you've already created, or if you attempt to use a hook that's not known (before/after).
    • You are now not required to create a Controller object before you run the route. You can now do Flight::route('/someUrl', [ Controller::class, 'someMethod' ]);

New Contributors

Full Changelog: v3.3.0...v3.4.0

Version 3.3.0

28 Jan 03:12
19e40b9
Compare
Choose a tag to compare

What's Changed

  • PHPCS code formatting problems solved by @fadrian06 in #531
  • added some methods to help with async frameworks by @n0nag0n in #530
  • Docblocks simplified with help of PHPCS by @fadrian06 in #532
  • request header shortcut and lots of unit test fixes for phpcs by @n0nag0n in #533
  • fixed bug with root alias by @n0nag0n in #534

Full Changelog: v3.2.0...v3.3.0

v3.2.0

25 Jan 05:36
8f7c48c
Compare
Choose a tag to compare

This is an important release. While there was just a few documentation and coding style changes, the important thing in this release is that consistent static typing has been added to all applicable methods and properties in Flight core. This could introduce failures in your code however any necessary changes would be minimal.

What's Changed

Full Changelog: v3.1.1...v3.2.0

Version 3.1.1

20 Jan 03:33
Compare
Choose a tag to compare

What's Changed

  • Misc fixes and updates to clean up the codebase.
  • Update README.md by @krmu in #523
  • Fixed tests and lint problems in windows by @fadrian06 in #515

New Contributors

Full Changelog: v3.1.0...v3.1.1

Version 3.1.0

13 Jan 21:40
bef9230
Compare
Choose a tag to compare

MIDDLEWARE!!!!!!!!!!!!!

Unleash the beast

Using middleware is tested, implemented and working! It has a little bit of a different syntax so pay attention to the README on how to implement this. You can use this on a per route basis or within a group.

This also has fixes for aliasing, corrections to some old code to bring it up to modern standards.

If you find any issues, create an issue!

Version 3.0.2

11 Jan 23:36
4955f39
Compare
Choose a tag to compare
  • Added ability to assign route aliases!
  • Fixed multiline url issue related to #475 and #424

Version 3.0.1

08 Jan 15:55
ceeab06
Compare
Choose a tag to compare
  • Added new route grouping feature to group routes by a similar prefix
  • Added a simple PdoWrapper class to interact with a database easier
  • Maintained 100% unit test coverage.

Version 3.0.0

02 Jan 23:27
2df12f9
Compare
Choose a tag to compare

This is now a major version update to Flight. Honestly not much has changed, but a few things have:

100% Code Coverage for all classes in the framework.
Minor tweaks to framework to make it easier to unit test.
Found an error with some View Template paths for Windows users that should be addressed.
For all intents and purposes, this is still the same Flight framework with no major changes just yet. Moving forward, we're looking to keep parity with version 2 so upgrading is trivial.