Releases: 2sic/2sxc
Releases · 2sic/2sxc
Version 06.01.06
v06.01.06 Bugfix - "Can't execute code from a freed script"
Version 06.01.05
Fixed ClientDependency priorities for JS-Files (caused an error in some DNN versions).
Version 06.01.04
Fixed issue - error message when editing an entity without EntityPicker field
Version 06.01.03
New features
- Related entities can be sorted manually (sponsored feature, implemented using AngularJS)
- Improved language-settings discover-ability
- Priority in the Client-Dependency (enable-optimization on JS) allows you to configure sorting/priority in JS-includes
Minor bug fixes
- Tokens with Fallback now work properly
[Querystring:Category||27]
returns 27 if the parameter doesn't exist. This can even be cascaded such as[QueryString:Category||[[AppSettings:DefaultCategory]]
- file-import on apps had a bug
- unpublished save is now compatible to Evoq-permissions (they are different from Community edition)
Version 06.00.07 - 06.01.02
Search
- Full Search Integration with new DNN 7 Search
- Each template/view can modify how the content is presented to the search using CustomizeSearch
- Each template/view can also specify alternate URLs for each entity (for example to a details-view)
- Multi-lingual tested
- Special property
InstancePurpose
added so all events (for example preparing data) know that it's preparing data for search. This helps because in search-mode, objects like theRequest
are missing
Data Improvements
- App.Data now delivers all data of this app. so App.Data["Tag"] would deliver all entities of type Tag
- This can easily be combined with common pipelines, like these examples
var categories = CreateSource<ValueSort>(App.Data["Category"]);
or
// Sort by FullName
var sortedCats = CreateSource<ValueSort>(App.Data["Category"]);
sortedCats.Attributes = "Name";
Data.In.Add("Categories", sortedCats["Default"]);
- The new DataSource DataSources.App
CreateSource<Eav.DataSources.App>()
can be used to access data from another App or zone - The new DataSource RelationshipFilter helps find things that have an assigned entity (like a tag, category)
// Just add the items which have the relationship to the category in the URL
var qsOfCat = CreateSource<RelationshipFilter>(App.Data["QandA"]);
qsOfCat.Relationship = "Categories";
qsOfCat.Filter = "[QueryString:Category]";
Data.In.Add("QandA", qsOfCat["Default"]);
- CustomizeData() event added so that the template/view can change data available to the template before it's loaded (or even if it's not loaded, for example for search)
public override void CustomizeData()
{
// new features in 6.1 - the App DataSource CreateSource<App> and also the RelationshipFilter
// Just add the items which have the relationship to the category in the URL
var qsOfCat = CreateSource<RelationshipFilter>(App.Data["QandA"]);
qsOfCat.Relationship = "Categories";
qsOfCat.Filter = "[QueryString:Category]";
Data.In.Add("QandA", qsOfCat["Default"]);
}
Installation Experience
- The installation now has fewer steps...
- If you have not configured anything in the content, it will suggest to auto-install some templates
- if you have not configured any apps, it will suggest to auto-install some apps
Various improvements and bug fixes
- Toolbar now shows draft-items with a red edit button
- JS API had some fixes for generating the toolbars
- better caching, faster data-import
- linked files/pages using the File:47 syntax can now add parameters. This is especially usefull for image-resizing or jumping to an anchor on a page - like this
File:720?w=…&h=333#
- ...and much more
Version 06.01.01
Release notes: Coming soon...
Version 06.01.00
Release notes: Coming soon...
Version 06.00.07
#2SexyContent v06.00.07 (stable)
- Some bugfixes
Version 06.00.06
#2SexyContent v06.00.06 (stable)
SQL Data Sources and Publishing
- Data Sources for SQL
- and Non-SQL Data - new in 6.0.6
- Ability to set Data-Publishing (JSON) from code - new in 6.0.6
- @CreateInstance command in Razor (will document this later :)
- Templates/Views which are marked as lists will now always behave as a list, even if it only has one item
- EAV Refactoring to enable dynamic entity generation (very technical but important)
- List of Entities (like Content.Author) will now always be a typed IEnumerable, even if empty
Bug Fixes
- JSON-Page delivers correct HTTP-Status when data publishing is not enabled
Version 06.00.05
#2SexyContent v06.00.05 (stable)
Apps - the most important feature in 6.0
Apps are complete packages of data-definitions, views, data and files (like scripts, images). read more about Apps
- very easy to create and install & also easy to remove again without leaving traces - just like iPhone Apps!
- they are automatically created & packed into a ZIP from the source system
- with an online app-catalog
- since these Apps are all built with simple technologies, they are easy to adapt after installing
- Apps are multilingual by default and all data is automatically versioned (allows restore)
- Apps have their own "Getting Started" page
- Apps have central settings and resources (for multilingual views and stuff) which can also be used in tokens
- Perfect for integrating existing other technologies like the Google Tag Manager or others
- Perfect for demonstrating features & functionality like the new data-access API
Data Versioning and unpublished Save
- Unpublished save (for draft-changes)
- Automatic data versioning with restore to previous version
Important Improvements in 6.0
The following improvements are features that were enhanced just to make them better, or to improve the way they are used in Apps.
- Improved data access with typed data sources - the list is found here. Try our App with the data demos to discover this
- Configuration Injection in the data sources: use parameters like [QueryString:AppId] and the data-source will automatically retrieve the settings from the environment
- New ways to create custom edit-menus and client side JS-API for this
- New ways to Pre-Fill data into new entities (like titles, assigned pages, etc.)
- completely delete entities is now finally possible
- Razor-templates can call up sub-templates with RenderPage, and all important objects (Content, List, ...) work automatically
- import/export of lists (new feature being tested, but still hidden)
- Toolbar can now be used as @Content.Toolbar and doesn't require @Html.Raw(...) any more
Breaking Changes
- Changed requirement to: DNN 7.2 (the first stable release of DNN 7 with functioning URLs) and also uses the new WebPages (Razor 2.0)
Important Changes in Razor
- Now requires Razor 2.0 as the minimum engine (that's why we went for DNN 7 as the minimum)
- Missing data (for example non-existing attributes) now return null instead of the text stored in the Content.Configuration.ErrorKeyMissing
- Breaking: the Content.Configuration.ErrorKeyMissing was removed
- Sub-Collections can now be easily iterated thanks to the the != null and foreach(x in Content.Products) syntax