Skip to content

v3.9.5

Choose a tag to compare

@GITmanuela GITmanuela released this 26 Jun 09:19
· 291 commits to master since this release
22c91af

3.9.5

front-end

accessories

  • updated components to use the User resource format for avatar
  • added localization button for addresses

activity-log

  • updated components to use the User resource format for avatar

calendar

  • fixed EventConfirmation
  • upgraded to vue-cal 3
  • fixed style

categories

  • updated for the new BE
  • added laravel-validation as dependency

charts

  • small refactor

commercial (private)

  • added laravel-validation as dependency
  • updated import of Errors class in RowLine to use the new laravel-validation package

contracts (private)

  • updated Card component to use the User resource format for avatar
  • uses Avatar component instead of img in Card.vue

directives

  • fixed clickOutside when the target isn't a child of container
  • for solving this issue, added a deep modifier to check contains with positions
  • updated clickOutside

dropdown

  • removed stop propagation as it uses the improved v-clickOutside
  • added disable-controls boolean prop
  • fixed disableControls reactivity

emails

  • added laravel-validation as dependency

files

  • updated components to use the user resource format for avatar
  • added clipboard to Url.vue

financials (private)

  • added laravel-validation as dependency

forms

  • added the ability to customize wysiwyg's toolbar
  • extracted Errors in its own package
  • added a new RevealPassword component
  • uses RevealPassword in InputField

inventory (private)

  • added laravel-validation as dependency

laravel-validation (new)

  • new package that contains an Errors class that maps on the Laravel ValidationException messages

mixins

  • parses number for type safety in shortNumber
  • removed unneeded dependency

permissions

  • added cssClass for menus

projects (private)

  • added laravel-validation as dependency

roles

  • updated FE for the new BE Permission resource

tables

  • merged custom and column internal filter and smalls fixes
  • small refactor in label
  • added in-place editing filter
  • improved logic in Filters and Labels components
  • fixed eslint
  • small refactor
  • fixed internal filters without custom

teams

  • updated components to use the User resource format for avatar
  • uses Avatar component instead of img in AvatarList

textarea

  • updated eslint

typeahead

  • improved behaviour when no results are found
  • added min-query-length property
  • 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 AuthForm to display error messages instead of toastr
  • uses the new RevealPassword component in AuthForm

webshop (new) (private)

wysiwyg

  • updated eslint

back-end

activity-log

  • updated Timeline response to use User resource instead of TrackWho

addresses

  • updated validator: changes is_default to 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.php and edge case when update date of an event in the middle of the sequence

categories

  • improved recursive relations
  • renamed recursiveParents relation to recursiveParent
  • added currentAndBelowIds and relations trait
  • updated self relations to static
  • added parentTree helper

commercial (private)

  • updated client stock import
  • cleanup in company service provider

contracts (private)

  • updated AdditionalAct resource to use User resource instead of TrackWho

core

  • added products and localize upgrade
  • updated LoginController to use ValidationException instead of Authentication
  • fixed ValidatePasswordRequest and ForgotPasswordController

countries

  • added region label model helper

discussions

  • updated resources to use User resource instead of TrackWho

documentation

  • updated documentation for categories and products

dynamic-methods

  • added scope support

files

  • updated File resource to use User resource instead of TrackWho
  • added new publicPath method in trait & contract

io

  • updated IO resource to use User resource instead of TrackWho

measurement-units

  • renamed UNITS constant from seeder to Units

permissions

  • improved permissions types, added Permission resource

products

  • added html_description, dynamic scopes to product and dynamic relations to category
  • removed unused hasMappedProducts and adds manufacturedProducts for companies

roles

  • improved roles validation
  • uses resource in permission tree

tables

  • fixed export edge case
  • updated Enum.php

teams

  • updated Team resource to use User resource instead of TrackWho

Upgrade steps

To upgrade:

  • run composer update in the project's root
  • run yarn, yarn upgrade && yarn to 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 Errors class was extracted from enso-ui/forms to it's own package enso-ui/laravel-validation. If using it locally, make sure to update the imports.
  • ensure that the php artisan enso:upgrade command is run
  • there is a new localize addresses 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.js file using the package version as reference
  • make sure to have vuex-router-sync dependency in package.json