Repository navigation
🚀 Quantum PHP 3.1.1 Released #648
Closed
armanist
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Quantum PHP 3.1.1 is out. It is a small release:
back()for redirects, the constant classes turned into PHP enums, and a few fixes. One change is breaking, so please read the note below before you update.Website: https://quantumphp.io/
Docs on GitBook: https://quantumphp.gitbook.io/docs
Docs on Read the Docs: https://quantum-php-framework.readthedocs.io/en/latest/
Release notes: https://github.com/quantum-php/framework/releases/tag/3.1.1
Full changelog: https://github.com/quantum-php/framework/blob/master/CHANGELOG.md
Upgrade guide: https://quantumphp.io/v3.0/upgrade-guide
ReservedKeys,AuthKeys,Paginationand, inQuantum\Database\Enums,Type,KeyandRelationare PHP enums, and the table actions moved to a newTableActionenum.Relation::BELONGS_TO,Type::INTandKey::INDEXare written as before. Code that uses a case as an array key, compares it with text, or passes it to astringparameter needs->value.addIndex()andsetAction()accept only the enum. Column types written as text ('integer','bigint') still work. The upgrade guide has a checklist (item 11).composer updateinstallstwig/twig^3.27.✨ What's new
✅
back()for redirectsback()sends the visitor back to the page they came from. It only follows a referrer that is on your own site, and it can keep the typed input forold(). The Web and Toolkit templates use it now.✅ Enums instead of constants
A wrong value is now caught by PHP and by static analysis, and not at runtime.
✅ Fixes
php qt core:envstops after the error when.env.exampleis missingflush()no longer raises a warning when no session is activelistDirectory()of the Dropbox and Google Drive adapters returnsfalsewhen the response has no entries✅ Better docs
The upgrade guide covers 3.1.1, and the examples in the docs use names that exist in the framework, with the classes that are yours labeled as yours.
🚀 Starter project
quantum/project3.1.1 is released too.php qt install:demono longer stops with an SSL certificate error on a PHP that has no CA bundle, which is common on Windows.Thank you to everyone using, testing and contributing to Quantum PHP.
All reactions