Skip to content

Releases: skybrud/Skybrud.Umbraco.GridData

Skybrud.Umbraco.GridData v4.0.0-alpha001

25 Aug 20:56
Compare
Choose a tag to compare

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

17 Jun 16:15
Compare
Choose a tag to compare

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

03 Jun 21:05
Compare
Choose a tag to compare

First stable release for Umbraco 8. This release will not work with Umbraco 7.

Installation

Changelog

  • Added [JsonIgnore] attributes to the name and sections properties (see #35 and c592aab)

Skybrud.Umbraco.GridData v2.0.7

03 Jun 18:08
Compare
Choose a tag to compare

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 the GetSearchableText 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 to hello\nworld instead of helloworld.

Skybrud.Umbraco.GridData v3.0.0-beta004

19 Dec 20:31
Compare
Choose a tag to compare
Pre-release

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 and GetSearchableText (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 become helloworld. With this release, HTML elements are instead replaced by a space, ensuring hello<br />world is instead converted into hello world.

Skybrud.Umbraco.GridData v3.0.0-beta003

18 Sep 21:11
Compare
Choose a tag to compare
Pre-release

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

13 Jul 16:51
Compare
Choose a tag to compare
Pre-release

Installation

Changelog

  • Updated Umbraco dependencies to v8.1.0 - thanks to @bielu (see f63db22)

Skybrud.Umbraco.GridData v3.0.0-beta001

13 Mar 20:12
Compare
Choose a tag to compare
Pre-release

Installation

» Install via NuGet

Changelog

  • Updated the package to build against Umbraco 8 DLLs instead of Umbraco 7 (see 6499f77).

Skybrud.Umbraco.GridData v2.0.6

27 Jun 07:41
Compare
Choose a tag to compare

Installation

» Install via NuGet

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

18 Jan 10:38
Compare
Choose a tag to compare

Installation

» Install via NuGet

Changelog

  • The GridControlMediaValue class now has an AlternativeText property - thanks to @ronaldbarendse (see ef781df and 0a7d016).

  • The GetTypedGrid and GetGridModel 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 and Model properties for the GridControl class and Section and Model properties for the GridArea class (see #22 and 6186b47)