Releases: PartechGSS/laravel-mongo-aggregate-builder
Release list
addChunk
Added addRawStages
Loosened the composer requirements to allow for newer versions of Laravel.
Added a raw version of addStages function, addRawStages. They both return $this for chaining.
Invalid or unsupported stage names found while executing addStages will now throw a MongoDB InvalidArgumentException.
MongoDB Bson types fix, first, and limit
A bug where MongoDB\BSON types would be casted to a string has been fixed.
first is now supported on the aggregate builder via Model::builder()->first()
Optionally you can pass in an array of fields to select to first if you aren't already projecting them.
limit is now support on the aggregate builder via Model::builder()->limit(10)->get()
Static instantiation & ability to add raw stage
Added ability to instantiate a new aggregate builder via
Model::builder()
Added ability to add a raw stage to the pipeline.
Model::builder()->addStage(/** array containing valid stage here */)
Minimal mongodb driver only registered automatically for testing
1.3 Merge pull request #5 from PartechGSS/fix-connection-service-provider…
Documentation and unwind stage
Merge pull request #4 from PartechGSS/add-unwind-stage Add unwind stage
Don't register mongdb driver if one exists
1.1 Merge pull request #3 from PartechGSS/add-dsn-parser-for-default-data…
Dependency rework
Merge pull request #2 from PartechGSS/Add-model-connection-test Updated dependencies to be less cutting edge
Base aggregate builder
Merge pull request #1 from PartechGSS/Add-model-connection-test Add model connection test