All Changes in EAV and 2sxc v11
Version 11
Changes Version 11.00
Breaking Changes
The following changes are all super-low-profile, but we want to document them just to be through:
DataStream
andIDataStream
loses a very old property called.LightList
- we're pretty sure it's not in use anywhere, if you have it, just use.List
instead.
Enhancements
- Brand new Admin UI based on Angular 9 and Ivy with new Code-Editor, new VisualQuery and much more
- Razor CodeBehind
- Automatic Polymorphism
- Updated Razor Blades to 3.02 with the new
Tags.SafeUrl(...)
command - Field: Boolean-Tristate which saves true/false/null
App.Data.Create(...)
now returns entities it just created
Changes Version 11.01
Enhancements
- In-Page Toolbar now recognises sub-item lists and provides sorting and editing buttons #2009
- Item-lists now have a button to add existing items to them #1278
- New system to create extensions in an app, in the system folder
- Ability to create custom Input Fields just by placing them in the system folder #2070
Minor
- Improve Equality Check for DynamicEntities and EntitiesInList #2075
- Data-table in admin UI now shows
Title
field no matter if there is another field which is the title #1639 - Button to flush app-cache in admin-ui #2073
- 2sxc Insights now available from the super-user toolbar #2069
- PT translations are added again #2064
- Loads of enhancements and minor issues in the UI
Changes Version 11.02
Enhancements
- App-Extensions system in the folder
system
- Custom WebComponent based input fields #2082
- API to reconfigure the wysiwyg input control #2090
- Show view use with links to pages and more #2077
- UI - fields can now be set to not-translate #2086
- UI - boolean can now show different labels based on the value it has #2085
Minor
- Add HR language pack for editor #2087
- show app-name in admin ui
- show app-icon in apps-management #2078
Changes Version 11.03 - todo
Changes Version 11.04 - todo
Changes Version 11.05
- Old Edit UI be removed
- Old Admin-UI be removed
- APIs which only the old UIs used be removed
- Old helper JS for AngularJS apps (located in
/js/angularjs
) will be removed from the distribution. They had not been updated for over 3 years and we believe they were not widely used. Anybody upgrading will still preserve the files that are there. If you really need them, download an old release of 2sxc and get them manually.
Changes Version 11.06 - 11.11 - todo
👉 See the Project Issues
Changes Version 11.13
- VisualQuery 3 with a lot of new features
- Click on a stream shows what's in that stream
- Much better error handling to avoid queries from crashing if a stream has an error
- All internal DataSources were updated to use this new Error-Handling
- Output of Query is now tabbed which is much nicer to use
- Visual-Query only returns top 25 results by default to help with creating queries with large amounts of data
- UI was enhanced to show more user-friendly names/infos
DynamicIn
was introduced so DataSources can indicate that they expect a lot of In-streams- UI enhanced with better/larger buttons/icons
In
Streams are now managed better so they can connect before it's known if the sourceOut
actually has that stream
- New DataSource Error to provoke an error in a Query for testing
- New DataSource SerializationConfiguration lets you determine how things are serialized
- DataSource AttributeFilter enhanced to have keep-all or remove-all and multi-line configuration (easier)
- New DataSource Tutorial with updated sample code
- Insights-Logging was enhanced to log Exceptions (used in the VisualQuery Error handling)
Bugfixes
- Toolbar had issue when color code was numbers only
Changes Version 11.14 - 11.22 LTS TODO
Breaking Changes in EAV and 2sxc v11
We try to minimize breaking changes, and most breaking changes won't affect your work, because it's internal API. We're documenting it here to ensure you know what happened, in case you still run into this.
Summary
There were small breaking changes in 11.00 to 11.11 but they were internal so shouldn't affect normal developers.
Breaking Changes Version 11.07 - Drop the old edit UI
- In 11.07 the old edit UI was removed, so customizations for that UI would not be in effect any more.
Breaking Changes Version 11.10 - Mainly Dependency Injection
- In v11.10 we used much more dependency injection than ever before and stopped using static values which were still in the API in many places. Because of this, certain helper objects to create entities or lookup values were changed and their constructors were changed. We invested a lot of time to try to ensure that old APIs still work, but in case you're hit by one of these, make sure you check the DI and switch to resolving the objects using DI.
Breaking Changes Version 11.11 - Language Detection
- Previously the language detection used the Thread culture. Turns out this wasn't reliable because Dnn does some funny stuff (probably historical) which means that API-calls ended up using the language stored in some cookie instead of the one specified by the URL. We changed this, which should be more reliable. But if you were relying on this strange effect, then it may be a breaking change.
- Internally our tokens were also using the thread culture. When we changed this, we also had to change how tokens pick up the language. In rare cases this may affect you.
- We changed all tokens to always resolve boolean values to
true
/false
(previously they would have been changed to the current language, likewahr
for german). We believe this change is only an improvement, and should ensure that internal resolves in Queries etc. result in reliable output.
Breaking Changes Version 11.11 - DataSources: DataSourceConfiguration
Note that we also improved the DataSourceConfiguration
to an interface IDataSourceConfiguration
and documented this.
As a side effect the API stays the same, but you will have to recompile your data sources for them to work again - sorry.
Breaking Changes Version 11.11.03 - IEntity Values
IEntity
had a command calledValue(fieldName)
which was probably never used. The idea used to be that it does language lookup internally, but we refactored this out since it could never be fully reliable because the full language list wasn't known to theIEntity
. So we re-purposed the method (assuming it's not used) to just lookup the first occurance of the value. This way it`s useful for configurations and similar which are not multi-language.IEntity
also had aValue(fieldname, lookup)
method. We are deprecating it, and making the lookup not happen from now on. We believe it was never used.IEntity
had a command calledPrimaryValue(fieldName)
which was probably never ever used, so we're deprecating it. UseValue(fieldName)
instead.
Breaking Changes Version 11.11.03 - Other
- UI Toolbar dropped the button and command for
item-history
, as the history is now part of the edit dialog