Skip to content

Latest commit

 

History

History
108 lines (74 loc) · 6.09 KB

RELEASE_NOTES.md

File metadata and controls

108 lines (74 loc) · 6.09 KB

Release Notes

Summary of changes in each release. For a full changelog see the commit history.

v1.7.0 - 2021-02-18

  • Support for complex validation introduced in Umbraco 8.7
  • Added a search bar to filter blocks in the picker UI
  • Added convenience extensions methods to HtmlHelper to render a subset of ContentBlocks rather than everything.
    • @Html.RenderContentBlock(IContentBlockViewModel) to render one specific block
    • @Html.RenderContentBlocks(IEnumerable<IContentBlockViewModel>) to render some specific blocks
    • One use case is to render the header separately from the blocks in a different part of the page.
  • Some styling improvements

v1.6.3 - 2020-12-30

  • Fixed Content Block id + Nested Content key properties not getting new values when a content node is copied (#45).

    • These properties are supposed to be unique. NestedContent uses the key property as a cache key so having multiple Content Blocks on different pages share the same key can lead to issues. These properties will now be recursively updated to new unique keys when a node is copied.

    • Note this was only an issue when copying an entire content node. Copying blocks using the ContentBlocks UI already updated these properties correctly.

    • Thanks to @glombek for reporting this issue and for providing code.

  • Fixed preset blocks not initializing any property value until expanded

    • This meant if preset blocks were not opened manually by the user in Umbraco they would not appear in the model value of your content, as if the blocks are not on the page at all. In this case the blocks would be empty anyway since the user has not provided any content but this was not intended so has been fixed.

v1.6.2 - 2020-10-30

  • Handles a couple of rare exceptions

v1.6.1 - 2020-10-26

  • Fixed data disappearing in the back office in some cases since 8.7
    • This occurred with some property editors, e.g. when using Nested Content inside a block.
  • Removed new border around Nested Content items inside block in 8.7+

v1.6.0 - 2020-09-10

  • Editor UI can now be localized (#22)
    • Using Umbraco's built-in <localize> directive and lang/ XML files.
    • Looks at language of logged in Umbraco user.
    • Thanks to @AndersBrohus for the PR and Danish translations
    • Thanks to @stefankip for the Dutch translations
  • Fix crash in back-office when editor contains block definitions that do not exist in the repository.

v1.5.3 - 2020-08-28

  • Fix disappearing content in the backoffice (#38)
    • This issue occurred in multilingual setups and was introduced in 1.5.2.
    • Content is still present in the database but did not show up in the backoffice editor.

v1.5.2 - 2020-08-24

  • Fix an issue where RTEs inside blocks are "killed" when reordering ContentBlocks (#28)
  • Fix macro issues when macro is inserted in an RTE in a ContentBlock (#31)
    • Macro property value was not transformed correctly and therefore not rendered correctly in the frontend.

v1.5.1 - 2020-08-05

  • Block picker: fixes mouse hover causing blocks to jump in some situations due to scrollbar appearing

v1.5.0 - 2020-07-24

  • Copy/paste blocks: do not abort entirely when header cannot be pasted (#20)
  • Added option to allow adding blocks even when header is not set yet (#24)
  • Fixed crash in preview mode for HTML with multiple root nodes
  • Some small layout fixes

v1.4.2 - 2020-06-29

  • Fixes incorrect scale of preview window contents when loading the iframe the first time on new pages.
    • Page content inside the iframe would not be scaled as usual and would display much bigger than it should. Refreshing the preview fixed the issue, but now it will be displayed properly immediately.

v1.4.1 - 2020-06-10

  • NuGet package is split into two:
    • Perplex.ContentBlocks.Core: Assembly only
    • Perplex.ContentBlocks: Full package, except it only contains App_Plugins itself and depends on Perplex.ContentBlocks.Core for the assembly.
  • Minor bugfix: handling of dataTypeId in JavaScript aligned with C#.
    • JavaScript would skip a zero as it's falsy whereas in C# we check for null. Logic in JS has been adjusted to behave the same as in C# now.

v1.4.0 - 2020-05-27

  • Layout descriptions are now shown in the layout picker
    • Thanks to @jveer for the issue to get this started
  • Close all other block settings when opening settings on another block
  • Added <content-blocks-icon> component to help render icons
  • Fixes preview not working in Edge Legacy

v1.3.0 - 2020-05-19

  • Added option "Hide property group container".
    • This is the default behavior of our editor but could never be turned off. This hides the containing property group (= "tab" in v7) of this editor. However, when adding other property editors to the same property group this no longer looks good. Turning this option off will render our editor inside the group like other editors.
  • Editor initialization is more smooth.
    • We will not wait with all rendering anymore until data is loaded, some elements can always be rendered.
    • Turning off "Hide property group container" will contribute a lot too as hiding the group during intialization is very noticeable on page load (it will appear then hide when this editor is loaded).
  • Cleaned up NuGet dependencies. Only UmbracoCms.Web remains.
  • Restored transition effect on closing/opening settings button.
  • Removes date from "Last update:", only showing time now.

v1.2.1 - 2020-05-15

  • Show server validation messages properly if property is culture variant.
  • Fixes "jumpy" layout sliders by not showing them until fully initialized.

v1.2.0 - 2020-05-08

  • Initial public release