Releases: flightphp/core
Version 3.4.1
Version 3.4.0
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
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
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
- Update README.md by @krmu in #525
- updated and shrunk size of readme by @n0nag0n in #526
- Replaced some docblocks to native PHP 7.4 typehint by @fadrian06 in #528
- added PSR12 coding style to files. by @n0nag0n in #529
Full Changelog: v3.1.1...v3.2.0
Version 3.1.1
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
- @fadrian06 made their first contribution in #515
Full Changelog: v3.1.0...v3.1.1
Version 3.1.0
MIDDLEWARE!!!!!!!!!!!!!
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
Version 3.0.1
- 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
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.