Osumi Framework
es en eu v9.10.0 GitHub

Migration Guide: 9.8.2 → 9.8.3

Version 9.8.3 fixes how the ORM handles null values in queries. It also includes internal code cleanup and security improvements to reduce the risk of SQL injection.


Summary

Added

Changed

Removed


Impact on Existing Projects

For example, this ORM condition:

$list = Tag::where(['id_parent' => null]);

Previously generated SQL equivalent to:

SELECT * FROM `tag` WHERE `id_parent` = null;

Starting with 9.8.3, it generates:

SELECT * FROM `tag` WHERE `id_parent` IS NULL;

Purpose of This Update

This release aims to:


Backward Compatibility

The ORM API remains compatible. Query behavior changes for null conditions so that they correctly match SQL NULL values. Review any application-specific workaround for the previous behavior.


Developer Action Required

No action is required for typical applications. If your application worked around the previous null query behavior, review that workaround after upgrading.


Notes

No database migration is required.