|
1 | 1 | # Laravel Enso's Changelog |
2 | 2 |
|
| 3 | +## 4.8.1 |
| 4 | +### Front-end |
| 5 | +For most of our frontend packages we've added router error handling. |
| 6 | + |
| 7 | +#### addresses |
| 8 | +- fixed case when address does not have locality/city |
| 9 | + |
| 10 | +#### charts |
| 11 | +- updated `Chart.vue` |
| 12 | + |
| 13 | +#### companies |
| 14 | +- refactored `slot-scope` to `v-scope` |
| 15 | + |
| 16 | +#### control-panel |
| 17 | +- improved layout |
| 18 | +- fixed index and stat value format |
| 19 | + |
| 20 | +#### datepicker |
| 21 | +- fixes edge case when attempting to change value during picker reset |
| 22 | + |
| 23 | +#### forms |
| 24 | +- clears errors before autosave |
| 25 | + |
| 26 | +#### mixins |
| 27 | +- added `413` error code handling |
| 28 | + |
| 29 | +#### modal |
| 30 | +- fixes modal and modal template |
| 31 | + |
| 32 | +#### notifications |
| 33 | +- fixed `Notification` component registration for cases where we might revoke the default notification permission |
| 34 | + |
| 35 | +#### products |
| 36 | +- fixed small bug due to being unable to create slug when name is null |
| 37 | +- reverted check for null, and moved it to the slug method |
| 38 | + |
| 39 | +#### sentry |
| 40 | +- added ingored errors (for `ChunkLoadError`) |
| 41 | +- added `UnhandledRejection` to ignored |
| 42 | + |
| 43 | +#### strings |
| 44 | +- added string validation |
| 45 | +- casted args to string |
| 46 | +- refactored strings |
| 47 | +- updated methods to also handle null parameters, in which case they return an empty string |
| 48 | + |
| 49 | +#### tables |
| 50 | +- fixed number formatter when `fullRecordInfo` is false |
| 51 | +- added ongoing request cancel in before destroy to avoid various timing errors; fixed and refactored `NumberFormatter` |
| 52 | +- renamed method in number formatter |
| 53 | + |
| 54 | +#### typeahead |
| 55 | +- added `force-selection` |
| 56 | + |
| 57 | +#### ui |
| 58 | +- adds sentry context |
| 59 | +- removed duplicated filters |
| 60 | +- fixed navbar item registration |
| 61 | +- fixed text in dark theme on error pages |
| 62 | +- added maintenance mode page |
| 63 | +- fixed router error handler; improved middleware |
| 64 | + |
| 65 | +#### users |
| 66 | +- fixed user profile layout |
| 67 | + |
| 68 | +### back-end |
| 69 | + |
| 70 | +#### action-logger |
| 71 | +- refactors action logger middleware |
| 72 | +- updates `.styleci.yml` |
| 73 | +- removes redundant argument |
| 74 | + |
| 75 | +#### addresses |
| 76 | +- fixed code style |
| 77 | + |
| 78 | +#### avatars |
| 79 | +- improved `gravatar`; renamed observer to `User` |
| 80 | + |
| 81 | +#### companies |
| 82 | +- added company fiscal code request validation |
| 83 | + |
| 84 | +#### control-panel |
| 85 | +- drops org url |
| 86 | +- adds sentry org to config |
| 87 | +- improves config, adds env vars |
| 88 | +- fixes return types; refactors switch to matches |
| 89 | +- updates id signature & implements id provider |
| 90 | +- adds `is_active` in table builder for apps |
| 91 | + |
| 92 | +#### control-panel-api |
| 93 | +- improves middleware registration |
| 94 | +- extracts api middleware group in the api package |
| 95 | +- improves database sensor |
| 96 | +- removes digits for request monitor |
| 97 | +- improves request monitor |
| 98 | +- extracts id provider |
| 99 | +- improves logic; adds danger class for outdated versions |
| 100 | +- fixed type in Services\Statistics |
| 101 | + |
| 102 | +#### control-panel-common |
| 103 | +- added missing return types in contracts |
| 104 | +- added `IdProvider` abstract class |
| 105 | + |
| 106 | +#### core |
| 107 | +- `.gitIgnore` |
| 108 | +- adds alias for `ensure-frontent-requests-are-stateful` middleware |
| 109 | +- extras middleware registration in separate provider |
| 110 | +- updates `.styleci.yml` |
| 111 | +- style update |
| 112 | +- removes `core-api` route group |
| 113 | +- improves `Logout` trait to work with non spa env |
| 114 | +- reverts logout |
| 115 | +- New State logic - customization flexibility #393 |
| 116 | +- used `App::make` instead of new for providers instantiation for flexibility on customizing states. |
| 117 | + |
| 118 | +#### data-export |
| 119 | +- fixed export error notification |
| 120 | +- added custom row action contract |
| 121 | + |
| 122 | +#### forms |
| 123 | +- fixed section visibility set automatically to visible in the builder |
| 124 | + |
| 125 | +#### helpers |
| 126 | +- added `forceable` index |
| 127 | +- added cascades observers trait |
| 128 | + |
| 129 | +#### localisation |
| 130 | +- updated translations for `webshop` reviews |
| 131 | +- added php version 8 for styleci cfg |
| 132 | + |
| 133 | +#### roles |
| 134 | +- improved syntax in config writer |
| 135 | + |
| 136 | +#### select |
| 137 | +- Options ordering - more sorting flexibility. #46 |
| 138 | +- created new select config option 'sortByOptions' for controling Select Options sorting. |
| 139 | +- used new config 'sortByOptions' inside Options get method |
| 140 | + |
| 141 | + |
| 142 | +#### sentry |
| 143 | +- added prefix for recent exceptions; added `dedupeInterval` in publisheable config |
| 144 | + |
| 145 | +#### tables |
| 146 | +- fixed button name check (needed only for row) |
| 147 | +- fixed tests |
| 148 | + |
| 149 | +#### users |
| 150 | +- added policy fixes |
| 151 | +- implemented cascades observers |
| 152 | + |
| 153 | +### Privates |
| 154 | + |
| 155 | +#### webshop-commercial |
| 156 | +- updated middleware names |
| 157 | + |
| 158 | +#### webshop |
| 159 | +- added exception when attempting navigation to unavailable pages; fixes #46 |
| 160 | + |
| 161 | +- removed log |
| 162 | + |
| 163 | +- updated cookie consent blade |
| 164 | + |
| 165 | +- cleanup of unused routes; added local auth middleware instead of package |
| 166 | + |
| 167 | +- customized verifiy active state for webshop |
| 168 | + |
| 169 | +- makes product filters a partial; |
| 170 | + |
| 171 | +- built with latest sentry version |
| 172 | + |
| 173 | +- disabled the form button after submitting a review to avoid double clicks |
| 174 | + |
| 175 | +- updated the Review Submitted notif to include the product name |
| 176 | + |
| 177 | +#### emag |
| 178 | +- handled setting attribute for when value is array; ref #30 |
| 179 | + |
| 180 | +- updated offer generation for bundle |
| 181 | + |
| 182 | +- updated new offer resource for bundle products |
| 183 | + |
| 184 | +- updated resource re:ean for packages |
| 185 | + |
| 186 | +#### financials |
| 187 | +- updated flow |
| 188 | + |
| 189 | +- removed hard coded logic for shipping service in XML generation |
| 190 | + |
| 191 | +#### wiki |
| 192 | +- fixes login route |
| 193 | + |
| 194 | +- adds verify active state |
| 195 | + |
| 196 | + |
| 197 | +#### frisbo |
| 198 | +- adds bundle publishing ability |
| 199 | + |
| 200 | +#### api |
| 201 | +- added logs |
| 202 | +- adds core-api midleware group |
| 203 | + |
| 204 | +#### fetcher |
| 205 | +- updates gitlab ci and vue.config |
| 206 | + |
| 207 | +- increased the timeout limit |
| 208 | + |
| 209 | +### Upgrade steps |
| 210 | + |
| 211 | +To upgrade: |
| 212 | + |
| 213 | +- run `composer update` |
| 214 | +- run `yarn`, `yarn upgrade && yarn` to ensure you have the latest package versions and patches are applied. If necessary, update your patch files. |
| 215 | +- `php artisan enso:upgrade --before-migration` |
| 216 | +- `php artisan migrate` |
| 217 | +- `php artisan enso:upgrade` to execute the upgrades |
| 218 | +- make sure permissions are properly configured for each role and then save/refresh the roles configuration files |
| 219 | +- update the Enso version to `4.8.1` in `config/enso/config.php` |
| 220 | + |
3 | 221 | ## 4.8.0 |
4 | 222 |
|
5 | 223 | This new release adds the possibility for back-end packages to publish their own state to the front-end as well migrates the framework & packages to PHP 8.0. Where applicable, updated packages to take advantage of the new language features. |
|
0 commit comments