Blog: ❊ Perpl ❊ 2.7 Released
Do away with the winter blues, we have some springtime news:
We have released ❊ Perpl ❊ 2.7 in March and ❊ Perpl ❊ 2.6 earlier in November.
Also, we have a new repo! It enables you to create a Docker test environment and is avalaible under https://github.com/perplorm/perpl-test-docker, see also our Announcement info.
We are continuously working on stabilizing, cleaning up and improving the old code while also adding fresh new stuff:
Feature Highlights
- Support for PHP 8.5 and Symfony 8 components with Symfony 5 support removed in PR #98 and PR #103
- Since PR #83 we use fully typed column fields in objects from generated classes. This also affects the generated phpDoc blocks removing the typehint from the docblock if applicable. This behavior can be overridden by setting the newly introduced config key
generator.objectModel.typeColumnDataFieldstofalse - Native ENUM and SET column type support for MySQL and PostgreSQL in PR #99
- Improving the CLI interface with more useful messaging in PR #93
- Adding a new CLI command
config:previewin PR #94 - Disabling virtual file system in tests is now possible since PR #88
Improvements and Bugfixes Highlights
- Separate templates from class code in PR #109
- cleanup and streamline model methods in PR #89
- Fixed relation type hints to reference Stub class instead of Base class in PR #111
- Underscore methods like
->_if()and->_endif()no more silently produce wrong queries when the underscore is forgotten but throw an exception since PR #110 and additionally types have been added to those and other conditional methods usingPropelConditionalProxyin PR #113 - Fixed wrong SQL generated in queries while filtering array columns with
Criteria::CONTAINS_ALL,Criteria::CONTAINS_SOMEorCriteria::CONTAINS_NONE, see PR #91 - Fixed failed CI runs with some Symfony versions in PR #87, for further information see also this Symfony CVE
Compare all changes to version 2.5 under https://github.com/perplorm/perpl/compare/v2.5.0...v2.7.0
Download
You can download & install ❊ Perpl ❊ via Composer. Please give it a try and report any bugs you spot:
{
"require": {
"perplorm/perpl": ">=2.0"
}
}
Of course you can also download the zipped or tarred source code from our releases.
All releases: github.com/perplorm/perpl/releases