Version 1.4 of the TypeDCMS Starter Kit for Laravel has been released
This release brings support for auto-model specialisation. This much requested feature makes it easy to create custom models for your TypeDCMS blueprints.
This release brings support for auto-model specialisation. This much requested feature makes it easy to create custom models for your TypeDCMS blueprints.
Release Notes:
-
Auto-specialised models - In previous releases it was necessary to use a
Constructmodel'sspecialize()method to switch to custom model. This is now handled automatically. Just set the$blueprintproperty in your custom model and it will automatically be used for your construct data when receiving content using a repository. -
specialize()method deprecated - The method is no longer useful and has been deprecated. It will be removed in version 2.0.