Table of Contents

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:

  1. DataStream and IDataStream 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

  1. Brand new Admin UI based on Angular 9 and Ivy with new Code-Editor, new VisualQuery and much more
  2. Razor CodeBehind
  3. Automatic Polymorphism
  4. Updated Razor Blades to 3.02 with the new Tags.SafeUrl(...) command
  5. Field: Boolean-Tristate which saves true/false/null
  6. App.Data.Create(...) now returns entities it just created

Changes Version 11.01

Enhancements

  1. In-Page Toolbar now recognises sub-item lists and provides sorting and editing buttons #2009
  2. Item-lists now have a button to add existing items to them #1278
  3. New system to create extensions in an app, in the system folder
  4. Ability to create custom Input Fields just by placing them in the system folder #2070

Minor

  1. Improve Equality Check for DynamicEntities and EntitiesInList #2075
  2. Data-table in admin UI now shows Title field no matter if there is another field which is the title #1639
  3. Button to flush app-cache in admin-ui #2073
  4. 2sxc Insights now available from the super-user toolbar #2069
  5. PT translations are added again #2064
  6. Loads of enhancements and minor issues in the UI

Changes Version 11.02

Enhancements

  1. App-Extensions system in the folder system
  2. Custom WebComponent based input fields #2082
  3. API to reconfigure the wysiwyg input control #2090
  4. Show view use with links to pages and more #2077
  5. UI - fields can now be set to not-translate #2086
  6. UI - boolean can now show different labels based on the value it has #2085

Minor

  1. Add HR language pack for editor #2087
  2. show app-name in admin ui
  3. show app-icon in apps-management #2078

Changes Version 11.03 - todo

Changes Version 11.04 - todo

Changes Version 11.05

  1. Old Edit UI be removed
  2. Old Admin-UI be removed
  3. APIs which only the old UIs used be removed
  4. 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

  1. VisualQuery 3 with a lot of new features
    1. Click on a stream shows what's in that stream
    2. Much better error handling to avoid queries from crashing if a stream has an error
    3. All internal DataSources were updated to use this new Error-Handling
    4. Output of Query is now tabbed which is much nicer to use
    5. Visual-Query only returns top 25 results by default to help with creating queries with large amounts of data
    6. UI was enhanced to show more user-friendly names/infos
    7. DynamicIn was introduced so DataSources can indicate that they expect a lot of In-streams
    8. UI enhanced with better/larger buttons/icons
    9. In Streams are now managed better so they can connect before it's known if the source Out actually has that stream
  2. New DataSource Error to provoke an error in a Query for testing
  3. New DataSource SerializationConfiguration lets you determine how things are serialized
  4. DataSource AttributeFilter enhanced to have keep-all or remove-all and multi-line configuration (easier)
  5. New DataSource Tutorial with updated sample code
  6. Insights-Logging was enhanced to log Exceptions (used in the VisualQuery Error handling)

Bugfixes

  1. 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

  1. 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

  1. 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

  1. 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.
  2. 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.
  3. We changed all tokens to always resolve boolean values to true/false (previously they would have been changed to the current language, like wahr 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

  1. IEntity had a command called Value(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 the IEntity. 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.
  2. IEntity also had a Value(fieldname, lookup) method. We are deprecating it, and making the lookup not happen from now on. We believe it was never used.
  3. IEntity had a command called PrimaryValue(fieldName) which was probably never ever used, so we're deprecating it. Use Value(fieldName) instead.

Breaking Changes Version 11.11.03 - Other

  1. UI Toolbar dropped the button and command for item-history, as the history is now part of the edit dialog