Version 2 of the TypeDCMS Starter Kit for PHP has been released
Ease-of-life improvements, stabiliity, dependency updates, and retired features. Honeystone will also be taking over the maintenance of the PHP Starter Kit from this release onwards.
Photo by Ben Griffiths
As of release 2.0.0 Honeystone is now the primary maintainer of the TypeDCMS Starter Kit for PHP. This is an important step in the evolution of the TypeDCMS ecosystem as it allows us to focus on improving the TypeDCMS core and bringing you more Starter Kits and integrations for your favourite frameworks and languages.
In This Release
The plan for this release was to focus on stability and ease-of-life improvements. Under Honeystone's stewardship, we will be accelerating the pace of development and introducing new features and improvements to the Starter Kit for PHP. For this a solid foundation is required, and this release lays much of the groundwork for that.
High Impact Changes
Minimum PHP Version Is Now 8.2.0
If you're on an older version of PHP, you'll need to upgrade to at least 8.2.0 to continue using this Starter Kit.
Moving forward, we will accelerate the rate at which we drop support for older versions of PHP. This is not just to take advantage of the latest features and improvements in PHP, but also aligns with our philosophy of supporting modern coding practices.
Removed Deprecated Specialized Model Hydration
If you're still using the specialize() method on your models, you'll should
remove it and instead rely on the resolver -> hydration process to automatically
resolve the correct construct model for your blueprint.
Medium Impact Changes
Auto-camelCase Model Fields
Model fields can how be accessed using camelCase, rather that TypeDCMS' kebab-case identifiers. This helps better align with the coding standards of many PHP frameworks and libraries. This may represent a breaking change for some users, particularly if you use accessors, mutators, or virtual fields matching camelCase variant field name.
Bumped Dependencies
Bumped swisnl/json-api-client to version 2.4.
Other Changes
Ported missing tests from the Laravel Starter Kit that were not present in the PHP Starter Kit.