v3.9.5
3.9.5
front-end
accessories
- updated components to use the
Userresource format for avatar - added localization button for addresses
activity-log
- updated components to use the
Userresource format for avatar
calendar
- fixed
EventConfirmation - upgraded to
vue-cal 3 - fixed style
categories
- updated for the new BE
- added
laravel-validationas dependency
charts
- small refactor
commercial (private)
- added
laravel-validationas dependency - updated import of
Errorsclass inRowLineto use the newlaravel-validationpackage
contracts (private)
- updated
Cardcomponent to use theUserresource format for avatar - uses
Avatarcomponent instead of img inCard.vue
directives
- fixed
clickOutsidewhen the target isn't a child of container - for solving this issue, added a deep modifier to check
containswith positions - updated
clickOutside
dropdown
- removed stop propagation as it uses the improved
v-clickOutside - added
disable-controlsboolean prop - fixed
disableControlsreactivity
emails
- added
laravel-validationas dependency
files
- updated components to use the user resource format for avatar
- added clipboard to
Url.vue
financials (private)
- added
laravel-validationas dependency
forms
- added the ability to customize wysiwyg's toolbar
- extracted
Errorsin its own package - added a new
RevealPasswordcomponent - uses
RevealPasswordinInputField
inventory (private)
- added
laravel-validationas dependency
laravel-validation (new)
- new package that contains an
Errorsclass that maps on the LaravelValidationExceptionmessages
mixins
- parses number for type safety in
shortNumber - removed unneeded dependency
permissions
- added
cssClassfor menus
projects (private)
- added
laravel-validationas dependency
roles
- updated FE for the new BE
Permissionresource
tables
- merged custom and column internal filter and smalls fixes
- small refactor in label
- added in-place editing filter
- improved logic in
FiltersandLabelscomponents - fixed eslint
- small refactor
- fixed internal filters without custom
teams
- updated components to use the
Userresource format for avatar - uses
Avatarcomponent instead of img inAvatarList
textarea
- updated eslint
typeahead
- improved behaviour when no results are found
- added
min-query-lengthproperty - added search event when pressing enter
- fixed axios cancel token
- provided query on item slot
- added optional search button
ui
- fixed theme and rtl
- updated
preferences.js - updated
AuthFormto display error messages instead of toastr - uses the new
RevealPasswordcomponent inAuthForm
webshop (new) (private)
wysiwyg
- updated eslint
back-end
activity-log
- updated
Timelineresponse to useUserresource instead ofTrackWho
addresses
- updated validator: changes
is_defaultto be required - removed unnecessary query
- removed form builder region label usage
- added rememberable in address
- fixed one liner
- added localisation functionality with google maps integration
- uses laravel Http instead of guzzle; refactor and cleanup
calendar
- added fixes such that:
- when an event in the middle of the sequence is deleted, then it should break the sequence first then delete events
- when series of events are updated in the middle of the sequence then it should not change the frequency
- when a sequence of events is deleted, then the cache will be invalid
- fixed frequency update, type equality in
ValidateEventRequest.phpand edge case when update date of an event in the middle of the sequence
categories
- improved recursive relations
- renamed
recursiveParentsrelation torecursiveParent - added
currentAndBelowIdsand relations trait - updated self relations to static
- added
parentTreehelper
commercial (private)
- updated client stock import
- cleanup in company service provider
contracts (private)
- updated
AdditionalActresource to useUserresource instead ofTrackWho
core
- added products and localize upgrade
- updated
LoginControllerto useValidationExceptioninstead ofAuthentication - fixed
ValidatePasswordRequestandForgotPasswordController
countries
- added region label model helper
discussions
- updated resources to use
Userresource instead ofTrackWho
documentation
- updated documentation for categories and products
dynamic-methods
- added scope support
files
- updated
Fileresource to useUserresource instead ofTrackWho - added new
publicPathmethod in trait & contract
io
- updated
IOresource to useUserresource instead ofTrackWho
measurement-units
- renamed
UNITSconstant from seeder toUnits
permissions
- improved permissions types, added
Permissionresource
products
- added
html_description, dynamic scopes to product and dynamic relations to category - removed unused
hasMappedProductsand addsmanufacturedProductsfor companies
roles
- improved roles validation
- uses resource in permission tree
tables
- fixed export edge case
- updated
Enum.php
teams
- updated
Teamresource to useUserresource instead ofTrackWho
Upgrade steps
To upgrade:
- run
composer updatein the project's root - run
yarn, yarn upgrade && yarnto ensure you have the latest versions and patches are applied. If necessary, update your patches - update the Enso version to 3.9.5 in
config/enso/config.php - the
Errorsclass was extracted fromenso-ui/formsto it's own packageenso-ui/laravel-validation. If using it locally, make sure to update the imports. - ensure that the
php artisan enso:upgradecommand is run - there is a new
localizeaddresses route added, please ensure that the roles/permissions are correctly configured for your projects and then save the roles configurations - update the
client/src/js/enso.jsfile using the package version as reference - make sure to have
vuex-router-syncdependency inpackage.json