Version 1.1.0

Date 2023-10-31 (321 days ago)
Downloads 154 downloads
NuGet View on NuGet
GitHub View on GitHub
Target Frameworks .NET 6
Umbraco Versions Umbraco 10 Umbraco 11 Umbraco 12

New release for Umbraco 10+ 🎉

#installation">Installation

To install the package via NuGet, you can use either .NET CLI:

dotnet add package Limbo.Umbraco.Tables --version 1.1.0

or the older NuGet Package Manager:

Install-Package Limbo.Umbraco.Tables -Version 1.1.0

#breaking-changes">Breaking changes

  • Changed the type of the TablesDataCell.Value column from string to IHtmlContent (see #10 and 08ba96b)
    This makes working with the cell value a bit more straight forward.

  • Changed the types of the Type and Scope properties on the class TablesDataCell (see #11, #12, 115d724 and 4302d6f)
    The properties are now backed by enum types rather than string values.

  • Renaming models to make the names more simple (see fccc116)
    For this release many of the models have been renamed to ensure shorter and simpler names. Changes are as following:

    • TablesDataCell ➡️ TableCell
    • TablesDataColumn ➡️ TableColumn
    • TablesDataModel ➡️ TableModel
    • TablesDataObject ➡️ TableObject
    • TablesDataRow ➡️ TableRow

#other-changes">Other changes

  • Added RTE configuration to the data type options (see #14, ac940dc and fc7726e)
    With this release, it's now possible to configure which options that are available in the RTE. Thanks to @AaronMorf for adding this 👍

  • Added new UseLastRowAsFooter option to the property editor (see #5 and 1845f58)
    When enabled, the last row of the table should be considered a footer row. Thanks to @Nysosis for adding this 👍

  • Implemented IPropertyIndexValueFactory to better index table values (see #4, 9029e24 and 6d5dcc7)
    The new TablePropertyIndexValueFactory ensures that a friendly version of the table value is also added to the Examine index. Thanks to @Nysosis for adding this 👍

  • Updated Skybrud.Essentials to the newest version (see 869fd6e)
    Contains some changes to JSON converters that we need for this package.

  • Misc improvements to the models (see 1a88e4d)

    • TablesDataModel:
      • the UseFirstRowAsHeader property is now only true if allowed by the data type
      • the UseFirstColumnAsHeader property is now only true if allowed by the data type
      • the UseLastRowAsFooter property is now only true if allowed by the data type
    • TablesDataRow:
      • added Table property with a reference back to the parent table model
      • added IsHeader property to indicate whether the row is a header row
      • added IsFooter property to indicate whether the row is a footer row
    • TablesDataColumn:
      • added Table property with a reference back to the parent table model
      • added IsHeader property to indicate whether the column is a header column
  • The TablesDataModel class now implements IHtmlContent interface (see 76ca073)
    The table can now be rendered by writing @table in a Razor view where table is a variable referencing the table model.

  • Added support for hiding the property editor label (see #13 and ef19674)
    A new data type option now allows hiding the property editor label - eg. to get a bit more width in narrow spaces.

  • Added new cache level data type option (see #21 and 1410678)
    For edge cases, a new data type option now allows controlling the property cache level of the underlying property value converter.