Mikecao Flight Versions Save

An extensible micro-framework for PHP

v3.10.1

2 weeks ago

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: https://github.com/flightphp/core/compare/v3.10.0...v3.10.1

v3.10.0

2 weeks ago

What's Changed

Full Changelog: https://github.com/flightphp/core/compare/v3.9.0...v3.10.0

v3.9.0

1 month ago

What's Changed

New Contributors

Full Changelog: https://github.com/flightphp/core/compare/v3.8.1...v3.9.0

v3.8.1

2 months ago

What's Changed

Full Changelog: https://github.com/flightphp/core/compare/v3.8.0...v3.8.1

v3.8.0

2 months ago

What's Changed

Full Changelog: https://github.com/flightphp/core/compare/v3.7.2...v3.8.0

v3.7.2

2 months ago

What's Changed

Full Changelog: https://github.com/flightphp/core/compare/v3.7.1...v3.7.2

v3.7.1

2 months ago

What's Changed

Full Changelog: https://github.com/flightphp/core/compare/v3.7.0...v3.7.1

v3.7.0

2 months ago

What's Changed

Full Changelog: https://github.com/flightphp/core/compare/v3.6.2...v3.7.0

v3.6.2

2 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/flightphp/core/compare/v3.6.1...v3.6.2

v3.6.1

3 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/flightphp/core/compare/v3.6.0...v3.6.1