Releases: skybrud/Skybrud.Umbraco.GridData
Skybrud.Umbraco.GridData v4.0.0-alpha001
First alpha release for Umbraco 9. This release will not work on older versions of Umbraco.
Installation
Via NuGet:
.NET CLI:
dotnet add package Skybrud.Umbraco.GridData --version 4.0.0-alpha001
Package Manager:
Install-Package Skybrud.Umbraco.GridData -Version 4.0.0-alpha001
Skybrud.Umbraco.GridData v3.0.1
New release for Umbraco 8. This release will not work with Umbraco 7.
Installation
Changelog
-
Updated the Skybrud.Essentials dependency (see 9589b03)
Shouldn't really affect the grid package, but new release = updated dependency. -
Version 3 is now available as an Umbraco package (see 88b2391)
While it's still very much recommended to install via NuGet, an Umbraco 8 package is now available as an alternative.
Skybrud.Umbraco.GridData v3.0.0
First stable release for Umbraco 8. This release will not work with Umbraco 7.
Installation
Changelog
Skybrud.Umbraco.GridData v2.0.7
New release for Umbraco 7.
Installation
Changelog
-
Added extra null value check to the
GetSearchableText
method (see #26 and 14a1fac)
The value of a control may for various reasons be null, but theGetSearchableText
didn't check for this. -
GetSearchableText
method should replace HTML with new line instead of an empty string (see #25 and 5fb9267)
This fix ensures that an HTML value like<strong>hello</strong><strong>world</strong>
is converted tohello\nworld
instead ofhelloworld
.
Skybrud.Umbraco.GridData v3.0.0-beta004
Installation
Changelog
-
Updated the GridControlEmbedValue class due to breaking changes in Umbraco 8.2 (see #33)
In Umbraco 8.2, the way embed values are stored changed, resulting in a breaking change in Umbraco and thereby also in this package. The fix adresses those changes, but also ensures backwards compatibility with older values from Umbraco 8.1 and before.Thanks to @ArnoldV for finding the issue and submitting a PR 👍
Details
In Umbraco 8.1, the value of an embed grid control would be saved as a string value - eg.:
{ "value": "<iframe width=\"360\" height=\"203\" src=\"https://www.youtube.com/embed/VTnDYxwhSaI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>", "editor": { "alias": "embed" } }
In Umbraco 8.2 and newer, the value is instead saved as a JSON object with more information about the embedded resource:
{ "value": { "constrain": true, "height": 240, "width": 360, "url": "https://www.youtube.com/watch?v=VTnDYxwhSaI", "info": "", "preview": "<iframe width=\"360\" height=\"203\" src=\"https://www.youtube.com/embed/VTnDYxwhSaI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>" }, "editor": { "alias": "embed" } }
- Fixed an issue with
GridControlHtmlValue
andGetSearchableText
(see 41d282c)
Previously, any HTML elements in the value would be replaced by an empty string. In some cases, this could cause two words to be joined as one - eg.hello<br />world
would becomehelloworld
. With this release, HTML elements are instead replaced by a space, ensuringhello<br />world
is instead converted intohello world
.
Skybrud.Umbraco.GridData v3.0.0-beta003
Installation
Changelog
- Grid editor configuration is now injected into the JSON like in the V7 package - thanks to @skttl (see 1c6bee4 and 21ab290)
A version check from the V7 package resulted in the grid editor configuration not being injected into the JSON like it used to in the V7 package. Thanks to the PR from Søren this now works in the V8 package as well.
Skybrud.Umbraco.GridData v3.0.0-beta002
Installation
Changelog
Skybrud.Umbraco.GridData v3.0.0-beta001
Installation
Changelog
- Updated the package to build against Umbraco 8 DLLs instead of Umbraco 7 (see 6499f77).
Skybrud.Umbraco.GridData v2.0.6
Installation
Changelog
- Fixed an issue with the
GetSearchableText
methods as values from two controls could be added two the same line without any spacing (see 1d1b283).
Skybrud.Umbraco.GridData v2.0.5
Installation
Changelog
-
The
GridControlMediaValue
class now has anAlternativeText
property - thanks to @ronaldbarendse (see ef781df and 0a7d016). -
The
GetTypedGrid
andGetGridModel
methods now returns an empty model as fallback (see 6924a09). -
The
UmbracoGridConverter
class now uses the editor view rather than the editor alias. This means that the rid package automatically will provide models for your custom editors even they use one of the default grid editors (see 7722fbe). -
Introduced
Row
,Section
andModel
properties for theGridControl
class andSection
andModel
properties for theGridArea
class (see #22 and 6186b47)