Skip to content

Commit

Permalink
Update UPGRADE guide
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev committed Mar 9, 2024
1 parent ed67faa commit 42635fc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# Upgrade Guide

- [From v9 to v10](#from-v9-to-v10)
- [From v8 to v9](#from-v8-to-v9)
- [From v7 to v8](#from-v7-to-v8)
- [From v6 to v7](#from-v6-to-v7)
- [From v5 to v6](#from-v5-to-v6)
- [From v4 to v5](#from-v4-to-v5)
- [From v3 to v4](#from-v3-to-v4)

## From v9 to v10

`ReactionCounterObserver`, `ReactionTotalObserver` & `ReactionObserver::creating` were removed.
Default values of `ReactionCounter`, `ReactionTotal` & `Reaction` models are defined inside models now.
If you are using default models from the package, it is not a breaking change.

All package models are unguarded now. If you are passing all values without validation,
you should refactor code which passing to them.

## From v8 to v9

Release v9 has new Eloquent model local scopes approach described in ([#226](https://github.com/cybercog/laravel-love/discussions/226#discussioncomment-4612667)).
Expand Down

0 comments on commit 42635fc

Please sign in to comment.