Tags: craftcms/cloud
Tags
Improve 3.x test and CI workflows (#146) * Improve 3.x test and CI workflows * Fix Craft 4 compatibility workflow resolution * Document local Craft 4 compatibility workflow * Use Uri query cleanup in UrlSigner * Avoid phpstan version-specific generateUrl calls * Ignore version-specific phpstan errors * Use inline phpstan compatibility ignores
Fix image transforms ignoring focal points (#145) * Fix non-standard props in non-cloud envs * Fix image transforms ignoring focal points The fields() override called normalize(), which mutated the model by writing computed CF values (fit, gravity, etc.) onto $this. Since Yii's toArray() calls fields(), any serialization path (e.g. srcset via getUrlsBySize) would pre-fill gravity from position, blocking the focal point override in ImageTransformer. Remove fields()/normalize() and refactor toOptions() to compute derived values into the returned array without mutating the model. Fixes #144 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <[email protected]> * code style --------- Co-authored-by: Sisyphus <[email protected]>
PreviousNext