Skip to content

Commit a5468f8

Browse files
authored
Merge pull request #308 from laravel-enso/release/v3.9.4
Release/v3.9.4
2 parents 631f177 + 3e32205 commit a5468f8

File tree

2 files changed

+61
-38
lines changed

2 files changed

+61
-38
lines changed

CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
The release includes bug fixes as well as enhancements, some of which are potentially breaking.
77

8+
89
### front-end
910

1011
#### accessories
@@ -220,7 +221,7 @@ To upgrade:
220221
- run `composer update` in the project's root
221222
- run `yarn`, `yarn upgrade && yarn` to ensure you have the latest versions and patches are applied. If necessary, update your patches
222223
- update the Enso version to 3.9.4 in `config/enso/config.php`
223-
- if using the `MapsRequestKeys` trait, within the respective request validators, update the request keys' format from `camelCase` to `snake_case`. Also update the controllers to use `$request->validated()` instead of `$request->mapped()`
224+
- if using the `MapsRequestKeys` trait, within the respective request validators, update the controllers to use `$request->validated()` instead of `$request->mapped()`
224225
- for all the enso models that use the `Addressable`, `Commentable`, `Discussable`, `Documentable` traits, we are now using `Relation::morphMap(...)`
225226
and short keys instead of default namespaces as this solves issues with relationships breaking when extending models which use `morph` relationships.
226227
For consistency, you should do the same to your local models (you may look at the Company model & companies AppServiceProvider classes as example)
@@ -232,7 +233,7 @@ For consistency, you should do the same to your local models (you may look at th
232233
- if present in your env, the `REDIS_CLIENT` key value is `phpredis`
233234
- remove the `predis` package from your `composer.json`
234235
- we've consolidated some assets (picture) locations and simplified the build process. You should:
235-
- run the `artisan vendor:publish --tag=core-assets` command
236+
- run the `php artisan vendor:publish --tag=core-assets` command
236237
- cleanup the multiple `CopyPlugin` instances and keep just the command that copies assets from `../resources/images` to `images`. Use enso's `vue.config.js` file as an example
237238
- the `VatRates` enum was removed from the `financials` & `products` packages and put in the `helpers` package. If using it locally, update the namespace to `LaravelEnso\Helpers\App\Enums\VatRates`
238239
- the localisation package and flow has been enhanced. To update for the new flow do the following:
@@ -244,15 +245,14 @@ For consistency, you should do the same to your local models (you may look at th
244245
- publish the package seeders with `php artisan vendor:publish --force --tag=addresses-seeds`
245246
- publish the `AddressFactory.php` file with `php artisan vendor:publish --force --tag=addresses-factory`
246247
- if present, delete the local `RoAddress` factory from the factories folder
247-
- if using the `addresses` package WITHOUT the `ro-addresses` extension, make sure that the `php artisan enso:upgrade` command
248-
is run AFTER `php artisan migrate`
249-
- if using the `addresses` package WITH the `ro-addresses` extension, make sure that the `php artisan enso:upgrade` command
250-
is run BEFORE `php artisan migrate`
248+
- if using the `addresses` package WITHOUT the `ro-addresses` extension, make sure that the `php artisan enso:upgrade` command is run AFTER `php artisan migrate`
249+
- if using the `addresses` package WITH the `ro-addresses` extension, make sure that the `php artisan enso:upgrade` command is run BEFORE `php artisan migrate`
251250
- update the local/published `addresses` config file using the package version as reference
252251
- since there are some new addresses routes added, please ensure that the roles/permissions are correctly configured for your projects and then save the roles configurations
253252
- run `php artisan enso:upgrade` considering the mentions above (in the addresses section)
254253

255254

255+
256256
## 3.9.3
257257

258258
The release includes many small enhancements as well as bug fixes.

composer.lock

Lines changed: 55 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)