1.15.0
What's Changed
- Added
whereNotLikeandorWhereNotLike, the negated form ofwhereLike - Added
unless, the counterpart towhen, running its callback when the value is falsy - Fixed
whereto treat a column named after a PHP function, likedate, as a column instead of a closure - Fixed
whereandorWhereto bindandtighter thanorlike SQL; a chain mixing the two silently dropped matching records - Fixed
wherewith a null value to check the column for null, like Eloquent; it matched nothing before - Fixed
findto apply the query's pendingwhereconstraints, so a filtered query no longer returns an excluded record - Fixed
whereBetweenandwhereNotBetweento read the bounds by position like Laravel, so an array with string keys no longer raises a PHP error - Fixed
savewriting null over anarray,json,object, orcollectionfield whose file value the cast could not read - Fixed
#[Timestamps]overwriting a frontmatter field with the file mtime whenUPDATED_ATnames a real field, and stripping that field from the file on save - Fixed
JsonDriverto leave forward slashes unescaped, so saving a record no longer rewrites every URL in the file - Fixed
MarkdownDriverto throwFileParseExceptionfor malformed frontmatter instead of a raw Symfony exception, so the error names the file
Dependencies
- Bump actions/checkout from 7.0.0 to 7.0.1 in the github-actions group by @dependabot[bot] in #5
Full Changelog: 1.14.0...1.15.0