Skip to content

v4.0.1

Choose a tag to compare

@GITmanuela GITmanuela released this 15 Jul 14:33
· 270 commits to master since this release
bf85b6d

4.0.1

This is a patch release, therefore it includes several bug fixes and very small changes.

front-end

We have updated in all our packages the animated dependency to 4.0.0

calendar

  • fixed deleting event in a sequence
  • fixed drag event in EnsoCalendar

commercial (private)

  • updated input clear
  • added settings

financials (private)

  • fixed VAT display, now shows numerical value

how-to

  • updated Index.vue to add tag only when having access to store route

mixins

  • updated error code from 555 to 488

modal

  • improved portal creation into instance root

back-end

We have updated DynamicsRelations namespace to DynamicRelations in order to be PSR4 compliant for all packages
and removed throttle

calendar

  • drops create action from edit

commercial (private)

  • removed InvoiceableEntity
  • refactored position adjustment request
  • replaced onceUsingId with setUser
  • sale now uses the Methods trait; fixed the Person resource
  • added settings
  • updated the settings form; updated virtual position id references; removed the package config file

control-panel-api

  • improved logic in seeder

core

  • fixed reset password
  • added PosterMorphKey upgrade command

data-export

  • fixed comment typo

data-import

  • replaced onceUsingId with setUser
  • fixed comment spacing

discounts (private)

  • fixed redirect on delete bug; fixed model import after refactor

financials (private)

  • added new InvoiceableEntity exception
  • updated number type form unsignedInteger to string for payments and invoices
  • fixed client table filters bug; updated auto number; fixed model load issue after refactor

forms

  • fixed typo in comment

how-to

  • added CascadesMorphMap trait for Poster and updated AppServiceProvider

impersonate

  • fixed typo in middleware
  • fixed middleware and added provider method
  • fix authentication

inventory (private)

  • removed show button from the form as route is necessary
  • improved the position form

tables

  • replace onceUsingId with setUser
  • fixes mail driver

teams

  • fixed namespaces in AppServiceProvider and Teams

tutorials

  • corrected folder name

Upgrade steps

To upgrade:

  • run composer update
  • run yarn, yarn upgrade && yarn to ensure you have the latest versions and patches are applied. If necessary, update your patch files
  • php artisan enso:upgrade
  • all Auth:onceUsingId() uses should be updated to Auth::setUser($user) due to sanctum addition
  • remove 'throttle:60,1' from App\Http\Kernel
  • replace tables.export.notifications email to mail
  • upgrade "animate.css": "^4.0.0" in package.json
  • update in enso.scss animate import to animate.compat.css instead of animate.css
  • update MAILGUN_ENDPOINT in your .env files to api.mailgun.net instead of api.eu.mailgun.net
  • ensure that permissions are properly configured for each role and then save/refresh the roles configuration files
  • update the Enso version to 4.0.1 in config/enso/config.php