Skip to content

Latest commit

 

History

History
122 lines (90 loc) · 10.2 KB

CHANGELOG.md

File metadata and controls

122 lines (90 loc) · 10.2 KB

Changelog

All notable changes to this project will be documented in this file.

[4.1.1]

[4.1.0] - 2023-12-14

[4.0.3] - 2024-01-17

[4.0.2] - 2023-11-03

  • Fix compatibility with Laravel 10.30 #2661 by @Treggats
  • PHPORM-101 Allow empty insert batch for consistency with Eloquent SQL #2661 by @GromNaN

4.0.1 skipped due to a mistake in the release process.

[4.0.0] - 2023-09-28

  • Rename package to mongodb/laravel-mongodb
  • Change namespace to MongoDB\Laravel
  • Add classes to cast ObjectId and UUID instances 5105553 by @alcaeus.
  • Add Query\Builder::toMql() to simplify comprehensive query tests ae3e0d5 by @GromNaN.
  • Fix Query\Builder::whereNot to use MongoDB $not operator e045fab by @GromNaN.
  • Fix Query\Builder::whereBetween to accept Carbon\Period object f729baa by @GromNaN.
  • Throw an exception for unsupported Query\Builder methods e1a83f4 by @GromNaN.
  • Throw an exception when Query\Builder::orderBy() is used with invalid direction edd0871 by @GromNaN.
  • Throw an exception when Query\Builder::push() is used incorrectly 19cf7a2 by @GromNaN.
  • Remove public property Query\Builder::$paginating e045fab by @GromNaN.
  • Remove call to deprecated Collection::count for countDocuments 4514964 by @GromNaN.
  • Accept operators prefixed by $ in Query\Builder::orWhere 0fb83af by @GromNaN.
  • Remove Query\Builder::whereAll($column, $values). Use Query\Builder::where($column, 'all', $values) instead. 1d74dc3 by @GromNaN.
  • Fix validation of unique values when the validated value is found as part of an existing value. d5f1bb9 by @GromNaN.
  • Support % and _ in like expression ea89e86 by @GromNaN.
  • Change signature of Query\Builder::__constructor to match the parent class #2570 by @GromNaN.
  • Fix Query on whereDate, whereDay, whereMonth, whereYear, whereTime to use MongoDB operators #2376 by @Davpyu and @GromNaN.
  • Model::unset() does not persist the change. Call Model::save() to persist the change #2578 by @GromNaN.
  • Support delete one document with Query\Builder::limit(1)->delete() #2591 by @GromNaN
  • Add trait MongoDB\Laravel\Eloquent\MassPrunable to replace the Eloquent trait on MongoDB models #2598 by @GromNaN

[3.9.2] - 2022-09-01

Added

Fixed

[3.9.1] - 2022-03-11

Added

Fixed

[3.9.0] - 2022-02-17

Added

[3.8.4] - 2021-05-27

Fixed

Changed

[3.8.3] - 2021-02-21

Changed

[3.8.2] - 2020-12-18

Changed

[3.8.1] - 2020-10-23

Added

Changed

[3.8.0] - 2020-09-03

Added

  • Laravel 8 support & updated versions of all dependencies #2108 by @divine.