Announcement

Breaking changes in LS Central 21.0

Posted on 11/7/2022 12:00:00 PM

We want to make you aware of changes that will take effect in the LS Central 21.0 release. The purpose of these changes is to improve the quality of the code and phase out obsolete procedures. See below for further clarification and to find out which actions you may need to take because of these changes. Download a PDF version. 

Obsolete code marked with tag 19.0 and below has been removed

Our solution gets bigger with every release, but we intend to clean up by removing obsolete code in major releases as soon as it has been marked obsolete for at least a year.
In this release we removed constructs like procedures and events, but there are no breaking schema changes yet, like Tables and Table fields.

Action: Check if you are using a feature that has been marked obsolete for more than a year. The warning should state the reason and an alternative that is intended to be used.

---

OnPrem-only procedures are now obsolete

All procedures and objects which are marked #if _IS_SAAS_, previously marked [Scope('OnPrem')], will become internal.
From 21.0 they will be marked Obsolete for OnPrem extensions, until they will finally become internal in 22.0.
If your extension is using any of these, they will now get a warning.

Action: If you have an OnPrem extension, see if there are any warnings. Usually there are alternative procedures available, but partners can also request a list of them to be made public through the same flow as event requests.

---

Autotest object names now have an LSC prefix

In version 17.4, we added "LSC" prefix to LS Central, but this was not done for our Autotest extension, which we include in our releases.
In version 21.0, they will have a prefix as well.

Action: If you are using or extending the LS Central Autotests extension, be aware of this change.

---

Integration event triggers are now internal/local

In rare cases, it has been technically possible to trigger some of our events from an extension.
These cases are usually an oversight, since the internal/local keyword was missing for the IntegrationEvent so they become public, by default.
This has prevented us from adding new arguments to existing events, and therefore unnecessarily forcing new versions for events where a breaking change would not have been needed.

Action: This should not require any work. There is a chance that somewhere an upgrade might fail if it is calling an event function, for example in POS Transaction Event, which usually has no effect. The events are intended to be subscribed to instead, with an EventSubscriber.