Skip to content

1.15.0

Choose a tag to compare

@JacobJoergensen JacobJoergensen released this 30 Jul 21:16
· 6 commits to main since this release

What's Changed

  • Added whereNotLike and orWhereNotLike, the negated form of whereLike
  • Added unless, the counterpart to when, running its callback when the value is falsy
  • Fixed where to treat a column named after a PHP function, like date, as a column instead of a closure
  • Fixed where and orWhere to bind and tighter than or like SQL; a chain mixing the two silently dropped matching records
  • Fixed where with a null value to check the column for null, like Eloquent; it matched nothing before
  • Fixed find to apply the query's pending where constraints, so a filtered query no longer returns an excluded record
  • Fixed whereBetween and whereNotBetween to read the bounds by position like Laravel, so an array with string keys no longer raises a PHP error
  • Fixed save writing null over an array, json, object, or collection field whose file value the cast could not read
  • Fixed #[Timestamps] overwriting a frontmatter field with the file mtime when UPDATED_AT names a real field, and stripping that field from the file on save
  • Fixed JsonDriver to leave forward slashes unescaped, so saving a record no longer rewrites every URL in the file
  • Fixed MarkdownDriver to throw FileParseException for 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