Skip to content

Release v2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Dec 15:43

Added

  • Schema: GrammarResolver and Schema::forConnection() to centralize grammar selection.
  • QueryBuilder: configurable empty whereIn/whereNotIn behavior.
  • Docs/typing: richer PHPDoc generics for ModelQuery/relations and query builder return shapes.

Changed

  • QueryBuilder: improved alias handling for select/value/pluck and table.* wrapping.
  • Schema: SQLite migration table DDL now uses SQLite-specific syntax.

Fixed

  • SoftDeletes: unsaved models no longer insert on delete.
  • ModelQuery: methods that return values now return the builder result (not always $this).
  • Schema: unified MySQL grammar to a single canonical class.

Tests

  • Expanded coverage across QueryBuilder, Schema/Grammar, migrations, and transactions.