Skip to content

Commit 2dbe1a5

Browse files
committed
v3.5.0
1 parent e07c2cf commit 2dbe1a5

11 files changed

Lines changed: 684 additions & 372 deletions

File tree

.phpunit.result.cache

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

CHANGELOG.md

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

3+
### 3.5.0
4+
5+
#### front-end
6+
7+
We've created individual packages for resources that map on their back-end siblings for:
8+
- calendar
9+
- files
10+
- data-import
11+
- activity-log
12+
- people
13+
- companies
14+
- teams
15+
- roles
16+
- permissions
17+
- menus
18+
- localisation
19+
- tutorials
20+
- how-to
21+
22+
This allows much easier customisation...
23+
24+
##### switch
25+
- fixes not clickable bug on IOS
26+
27+
##### tables
28+
- cleansup vResponsive
29+
- fixes file download on default download button
30+
31+
#### back-end
32+
33+
##### cli
34+
- fixes menu creation w/o model bug
35+
- updates table template stub
36+
- updates form builder stub to use `static` vs `self`
37+
- updates stubs for the new aliases in enso-ui 2.x
38+
39+
##### companies
40+
- makes `status` required in form validator
41+
- fixes person form in edit mode, the user field is now readonly
42+
43+
##### core
44+
- adds an upgrade for the new data-import
45+
46+
##### data-import
47+
- refactors, cleans & increases accuracy for the progress tracking strategy
48+
49+
##### forms
50+
- exposes `sectionVisibility` & `tabVisiblity` helpers by making them public
51+
- fixes `unknownMetaAttributes()` validation error reporting
52+
53+
##### helpers
54+
- fixes inCents when having null cent attributes
55+
- adds `CarsadesMorphMap` trait. You can use this in combination with Laravel's `Relation::morphMap()` and have a single alias for all children classes. The convention is to use the singular camel case name of the model's table
56+
57+
##### rememberable
58+
- refactored `self` vs `static` in model retrieving
59+
60+
##### tables
61+
- fixes `cents` flag appeared as true when no cent columns defined bug
62+
63+
#### Upgrade Steps
64+
65+
- update in `package.json` the following
66+
- "@enso-ui/accessories": "~2.0.0",
67+
- "@enso-ui/bulma": "~2.0.0",
68+
- "@enso-ui/directives": "~1.0.1",
69+
- "@enso-ui/filters": "^1.1.1",
70+
- "@enso-ui/mixins": "~1.0.0",
71+
- "@enso-ui/select": "~1.1.1",
72+
- "@enso-ui/themes": "~1.0.0",
73+
- "@enso-ui/transitions": "~1.0.1",
74+
- "@enso-ui/ui": "~2.0.0",
75+
- replace in `webpack.mix.js`
76+
77+
```js
78+
'@core-routes': `${__dirname}/node_modules/@enso-ui/ui/src/bulma/routes`,
79+
'@core-pages': `${__dirname}/node_modules/@enso-ui/ui/src/bulma/pages`,
80+
'@core-middleware': `${__dirname}/node_modules/@enso-ui/ui/src/middleware`,
81+
'@core-modules': `${__dirname}/node_modules/@enso-ui/ui/src/modules`,
82+
```
83+
84+
with
85+
86+
```js
87+
'@core': `${__dirname}/node_modules/@enso-ui/ui/src`,
88+
```
89+
90+
- search and replace:
91+
- `@core-modules` => `@core/modules`
92+
- `@core-pages` => `@core/bulma/pages`
93+
- `@core-middleware` => `@core/middleware`
94+
- `@core-modules` => `@core/modules`
95+
- update in `router.js`:
96+
- add `import routes from '@core/bulma/routes';`
97+
- remove `const routes = routeImporter(require.context('@core-routes', false, /.*\.js$/));`
98+
- run `yarn upgrade`
99+
- update your front-end patches if the case requires
100+
- run `yarn` (to apply the patches)
101+
- run `composer update`
102+
- run `php artisan enso:upgrade`
103+
104+
Enjoy!
105+
3106
### 3.4.0
4107

5108
#### front-end
@@ -1119,6 +1222,8 @@ you will need to update your imports
11191222
- make sure that in `webpack.mix.js` you don't have `sourceMaps()` for production
11201223
- don't forget to implement Searchable and Files for your required models. You can use `LaravelEnso\Companies\SearchServiceProvider` as example.
11211224
1225+
Enjoy!
1226+
11221227
### 3.2.3
11231228
- fixes minor bugs
11241229
- updates dependencies

0 commit comments

Comments
 (0)