Skip to content

Commit cf6b5f1

Browse files
committed
enso v3.7.4 update; see changelog/release notes for for the details
1 parent 4df8bd5 commit cf6b5f1

File tree

6 files changed

+685
-528
lines changed

6 files changed

+685
-528
lines changed

CHANGELOG.md

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,81 @@
11
# Laravel Enso's Changelog
22

3+
## 3.7.4
4+
5+
This release improves the quality of the back-end code addressing issues revealed by [phpinsights](https://github.com/nunomaduro/) (more info in the back-end section) as well as the usual small updates and fixes.
6+
7+
### front-end
8+
9+
#### calendar
10+
- added support for the spanish language
11+
12+
#### forms
13+
- added in-page preview for PDF files
14+
- fixed small styling issues and updated dependencies
15+
16+
#### forms
17+
- now emits a `template-fetch-error` when there is an error fetching the template from the API
18+
19+
#### products
20+
- added missing measurement-units package dependency
21+
22+
#### tables
23+
- added support for row global actions
24+
25+
### backend-end
26+
27+
All packages were checked with the analitics tool and, where needed, the appropriate fixes and updates where implemented.
28+
29+
Most packages have had updates pertaining to:
30+
- missing constants visibility
31+
- unused variables
32+
- string concatenation vs string templates
33+
- using old school methods such as `get_class` in favor of using `::class`
34+
- inconsistent array indentation
35+
- class fields and methods ordering
36+
37+
and more.
38+
39+
In addition to the code, architecture and style changes, the route files have been broken down into smaller files to make management easier.
40+
41+
Apart from these updates, which are too many to list individually for each package, the packages below have had other additions.
42+
43+
#### cli
44+
- fixed the generated method name used in the table builder stub
45+
46+
#### core
47+
- added the missing doctype to the production tag, which fixes a TinyMCE issue
48+
- the User model deletion is now handled by the `AvoidsDeletionConflicts` trait
49+
50+
#### countries
51+
- added the country code to the model's resource
52+
53+
#### currencies
54+
- fixed the Currency resource
55+
- fixed the seeder for testing cases
56+
- improved the converter so as to use the most recent date as fallback if there is no rate available for a given day
57+
- `laravel-enso/countries` is now a dependency for the package
58+
- the `short_name` attribute was refactored into `code`
59+
60+
#### products
61+
- changed content type for the product part number form input from number to text
62+
63+
#### teams
64+
- the Team model now uses the `AvoidsDeletionConflicts` trait for the delete process
65+
- the `Relations` trait is utilized to be able to support dynamic methods
66+
67+
### Upgrade steps
68+
69+
This is a non breaking upgrade:
70+
71+
* run `composer update`
72+
* run `yarn upgrade && yarn` in `/client`
73+
* update the version to 3.7.4 in `config/enso/config.php`
74+
* if using the `currencies` package with a prior version to `1.4.0`, also run `php artisan enso:upgrade` in order to update the `short_name` table column
75+
376
## 3.7.3
477

5-
This is the final release before upgrading Enso to PHP7.4.
78+
This is the second to final release before upgrading Enso to PHP7.4.
679

780
### front-end
881

0 commit comments

Comments
 (0)