Releases: kitar/laravel-dynamodb
Releases · kitar/laravel-dynamodb
v.1.3.0
v1.2.0
- Added a method to retrieve
LastEvaluatedKey
more simply and reliably. #40 (Thanks @raphaelcangucu !)
We can now use the collection's method to retrieve the LastEvaluatedKey
without having to reference the metadata for each model. This update makes it easy to obtain the LastEvaluatedKey
, even when the items included in the response are empty.
$products = ProductCatalog::limit(5)->scan();
// can do this
$products->getLastEvaluatedKey();
// instead of
$products->first()->meta()['LastEvaluatedKey'];
The traditional method will continue to be supported in v1.x
. However, it might become deprecated in v2.x
.
v1.1.2
- Fixed the issue where an exception occurs when the value of PK or SK is 0. (Thanks @adalbertoadrian !)
v1.1.1
- Support Laravel 10.x (Thanks @negoziator !)
- Update GitHub Actions workflow to ensure all illuminate versions are used during testing.
v1.1.0
- Support batch operations #34
- Usage is documented here. It can be used via Model as well.
- Thanks to @negoziator and @ryanhungate for working on this issue :)
v1.0.2
v1.0.1
v1.0.0
- Support Laravel 9.x (Thanks @andreagroferreira !)
- Support PHP 8.1
Since I've been using this package in a few production apps for several months, I think it's time to call it v1.0.0. However, there are no major changes. It's fully backward compatible. Please feel free to submit any questions, feature requests, and PRs.
v0.6.0
- Support Model::create() method (Thanks @marvinosswald !)
I'm already using this package in a few production apps, so I think it's time to tag it as 1.0 shortly. (maybe when we support Laravel 9)