Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Okipa committed Mar 28, 2021
1 parent 832ea45 commit d203d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
2021-03-28

* You can now disabled a brick management for an Eloquent model by setting the max number of bricks to `0`. This allows you to only disable one brick or more without having to list all allowed bricks in the `can_only_handle` model configuration.
* Trying to (programmatically) add a brick to a model when the max number of bricks is already reached will now throw a `ModelHasReachedMaxNumberOfBricksException`. This behavior replaces the previous one, which automatically removed the oldest brick when a new brick was programmatically added to an Eloquent model which had reached the max number for this type of brick.
* Trying to (programmatically) add a brick to a model when the max number of bricks is already reached will now throw a `ModelHasReachedMaxNumberOfBricksException`. This behavior replaces the previous one, which automatically removed the oldest brick when a new brick was programmatically added to an Eloquent model which had reached the max number for this type of brick.

## [2.1.0](https://github.com/Okipa/laravel-brickables/compare/2.0.1...2.1.0)

Expand Down

0 comments on commit d203d59

Please sign in to comment.