You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
6
6
The release includes bug fixes as well as enhancements, some of which are potentially breaking.
7
7
8
+
8
9
### front-end
9
10
10
11
#### accessories
@@ -220,7 +221,7 @@ To upgrade:
220
221
- run `composer update` in the project's root
221
222
- run `yarn`, `yarn upgrade && yarn` to ensure you have the latest versions and patches are applied. If necessary, update your patches
222
223
- 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()`
224
225
- for all the enso models that use the `Addressable`, `Commentable`, `Discussable`, `Documentable` traits, we are now using `Relation::morphMap(...)`
225
226
and short keys instead of default namespaces as this solves issues with relationships breaking when extending models which use `morph` relationships.
226
227
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
232
233
- if present in your env, the `REDIS_CLIENT` key value is `phpredis`
233
234
- remove the `predis` package from your `composer.json`
234
235
- 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
236
237
- 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
237
238
- 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`
238
239
- 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
244
245
- publish the package seeders with `php artisan vendor:publish --force --tag=addresses-seeds`
245
246
- publish the `AddressFactory.php` file with `php artisan vendor:publish --force --tag=addresses-factory`
246
247
- 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`
251
250
- update the local/published `addresses` config file using the package version as reference
252
251
- 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
253
252
- run `php artisan enso:upgrade` considering the mentions above (in the addresses section)
254
253
255
254
255
+
256
256
## 3.9.3
257
257
258
258
The release includes many small enhancements as well as bug fixes.
0 commit comments