Skip to content

2sxc 11.11.00

Choose a tag to compare

@iJungleboy iJungleboy released this 07 Dec 14:29
· 6468 commits to master since this release
c2e94b6

We did a lot of internal refactoring to align the Dependency Injection with latest best practices.
This will allow EAV/2sxc to run standalone or integrated in other platforms like Oqtane.

Highlights / Important

  1. Entity (Item) History dialog is now part of the edit dialog #2257

  2. DynamicEntity objects (like the @Content) now have Get("fieldName", ...) Get-function which can also get the value with another preferred language or without resolving the link #2275 #2276

  3. WebApi Queries now work without module-context - just with App-context #2272

  4. Enhancements to the code-editor, to edit shared Razor files #2124

  5. WebP support in image resizer removed again, as it caused too much trouble. Since the integration wasn't official, nobody should be affected #2266

  6. Code-cleanup: Raw docs and docs-generation project were moved completely to the 2sxc-docs repo #2255

Minor / Bugs

  1. It seems that DNN does some funny stuff related to detecting the current language, which fails in WebAPI scenarios. Because of this we changed a lot of how that works. #2262

Cross-Platform Topics

  1. WebAPI calls always expected a TabID header to detect the page, now we enhanced it to also support PageId instead, to better align with other systems #2254
  2. Razor files and WebApi Controllers now have a property CmsContext which provides platform-neutral info about site, page, module etc. #2263
  3. The new CmsContext also provides language and culture information #2273
  4. To allow 2sxc/eav to run standalone, we refactored a lot of internal context information #2268 #2267
  5. Created various core service objects like ISite or IUser which don't do anything, but make it easier to run 2sxc standalone #2258
  6. JavaScript: ensure $2sxc can be created without automatic context-detection from the DOM - for standalone use #2264

Refactor / Clean-up / Docs

  1. The internal context information used to be attached to a IBlock object, which caused trouble so we did a huge refactor to extract the context. This allowed us to clean up internal WebApi by a lot, for better re-use in standalone modes
  2. Dropped old mechanics for registering DI container, now doing it when Routes get registered #2256
  3. Changed how values like file:74 are converted to links, to better use Dependency Injection - see IValueConverter
  4. Document the IDataSourceConfiguration object