Skip to content

Commit d93f97c

Browse files
committed
enso v3.7.3 release
1 parent 1a14730 commit d93f97c

4 files changed

Lines changed: 910 additions & 807 deletions

File tree

CHANGELOG.md

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,135 @@
11
# Laravel Enso's Changelog
22

3+
## 3.7.3
4+
5+
This is the final release before upgrading Enso to PHP7.4.
6+
7+
### front-end
8+
9+
#### bulma
10+
- made available the new InputFilter & EnsoInputFilter components
11+
- made available the new SimpleDateFilter & EnsoSimpleDateFilter components
12+
13+
#### calendar
14+
- updated EnsoCalendar's resizing strategy
15+
16+
#### departments (new)
17+
- a new package for managing departments
18+
19+
#### divider
20+
- updated dependencies to address a security vulnerability
21+
22+
#### erd
23+
- updated dependencies to address a security vulnerability
24+
25+
#### filters
26+
- added two new filter components: InputFilter & SimpleDateFilter as well as their Enso counterparts: EnsoInputFilter & EnsoSimpleDateFilter
27+
- fixed DateFilter's picker width
28+
- date-filter refactor
29+
30+
#### how-to
31+
- fixed the @enso-ui/uploader dependency restriction
32+
33+
#### measurement-units (new)
34+
- a new package for managing measurement units
35+
36+
#### money
37+
- updated dependencies to address a security vulnerability
38+
39+
#### people
40+
- fixed the missing user buttons from person edit/create forms
41+
42+
#### projects (new)
43+
- a new package for managing projects
44+
45+
#### tables
46+
- you can now clear the search and change search mode while loading
47+
48+
#### themes
49+
- updated deps to address mixin-deep security vulnerability
50+
- updated the vue-filter css so that the components can be customized with is-* mod classes
51+
52+
#### uploader
53+
- added the formatBytes.js helper
54+
- fixed the file size reporting sometimes causing an undesired limitation
55+
56+
### back-end
57+
58+
#### core
59+
- added a `enso:storage:reset` command which can be ran after php artisan migrate:fresh to clear the storage (but before seeding)
60+
61+
#### countries
62+
- removed broken relationship
63+
- added currencyCode in the model's resource
64+
- this package is now a dependency of the new `laravel-enso/measurement-units` package
65+
66+
#### cli
67+
- added the TableCache trait to the generated model
68+
- fixed the request validator namespace
69+
- updated the `resources` folder to `client/src/`
70+
- updated the tests
71+
72+
#### departments (new)
73+
- a new package for managing a departments
74+
75+
#### forms
76+
- adds the ability to customize routeParams on edit
77+
- fixed several form template validation error messages
78+
79+
#### measurement-units
80+
- a new package for managing measurement units
81+
- this package is now a dependency of the `laravel-enso/products` package
82+
83+
#### localisation
84+
- added missing translation keys
85+
86+
#### ocr (new)
87+
- new package that can perform optical character recognition for pdf files
88+
- depends on the [OCRmyPDF](https://github.com/jbarlow83/OCRmyPDF) package - you should read its documentation for more information, requirements and limitations
89+
90+
#### products
91+
- extracted measurement unit functionality to a distinct package and updated related code
92+
- removed the `measurement_unit` column from Product and replaces it with `measurement_unit_id`
93+
- added the upgrade `php artisan enso:products:upgrade` console command which will migrate your products table and seed either a default `Piece` measurement unit or can use an optional Enum to seed the measurement units specified by the enum
94+
- added some missing meta attributes within the table template
95+
96+
#### select
97+
- fixed the typeahead trait causing issues when the request did non contain custom parameters
98+
- refactored the search strategy resulting in more concise code
99+
- fixed relation attribute search
100+
- updated the display of the selected options, showing them at the bottom of the option list (previously they were at the top) making it easier to set new options when in multi-select mode
101+
102+
#### services
103+
- refactored the paths and routes structure
104+
- updated the factory and the tests
105+
106+
#### tables
107+
- the exported file name is now translated
108+
- fixed the searching logic when having nested columns (relations) on the main model
109+
- refactored the search strategy resulting in more concise code
110+
111+
### Upgrade steps
112+
113+
This is a non breaking upgrade:
114+
115+
* run `composer update`
116+
* run `yarn upgrade && yarn` in `/client`
117+
* update the version to 3.7.3 in `config/enso/config.php`
118+
119+
If you are not using the `products` package, there is nothing else for you to do.
120+
121+
Otherwise, you should run the products package's upgrade command, considering the following:
122+
- the measurement units functionality was extracted to the `measurement-units` package and `products` now depends on it
123+
- measurement units were stored in the products table's `measurement_units` column, and the values were taken from the `MeasurementUnits` enum
124+
- that column is dropped and replaced with a `measurment_unit_id` column which points to the `measurement_units` table
125+
126+
If you did not customize the enum and were using the defaults, then you can simply run
127+
`php artisan enso:products:upgrade` and the command will handle the necessary changes.
128+
129+
If you had customized/extended the enum, then you should provide the enum as a parameter to the upgrade command, in which case it will be used to seed the new measurment units:
130+
131+
`php artisan enso:products:upgrade --enum=App\\Enums\\MyEnum`
132+
3133
## 3.7.2
4134

5135
The main purpose of this release was to switch from using [tiptap](https://github.com/scrumpy/tiptap) to using [tinyMCE](https://www.tiny.cloud/) for our what-you-see-is-what-you-get editor VueJS component.

0 commit comments

Comments
 (0)