Skip to content

v11.2.0 - Do Not Serialize patterns.

Compare
Choose a tag to compare
@KevinJump KevinJump released this 11 May 09:46
· 9 commits to v11/dev since this release
a2a4d5a

Thisi s a minor patch release of uSync for Umbraco 11. it contains some small patch fixes and an update for RegEx based DoNotSerializePatterns HT @mayhammf

DoNotSerializePattern

This release intriduces a new setting that allows you to tell uSync to exclude properties when serializing content and media based on regex patterns.

previously (its still there) the only way to exclude properties from serialization was to list them in a DoNotSerialize property

  "uSync": {
    "Sets" : {
      "Default": {
        "HandlerDefaults" : {
          "Settings": {
            "DoNotSerialize": "HeroBackgroundImage,heroCTACaption,heroDescription,heroHeader"
          }
        }
      }
    }
  }

Now wiit hthis update you can use regEx in the DoNotSerializePattern property

  "uSync": {
    "Sets" : {
      "Default": {
        "HandlerDefaults" : {
          "Settings": {
            "DoNotSerializePattern": "(?i)^(hero)+"
          }
        }
      }
    }
  }

What's Changed

  • Ensure all dashboard urls open with rel="noopener"
  • Improved reporting on Publish Failed messages (more of the property errors get passed through)
  • Fix: Blueprints are sometimes treated as content
  • Update NoNodes.cshtml by @mistyn8 in #491
  • Reintroduces an updated Danish language file #161 by @jannikanker in #494
  • #483 Support DoNoSerialize by pattern by @mayhammf in #496
  • v11 / .net 7 build config. by @KevinJump in #499
  • Update README.md by @KevinJump in #500

New Contributors

Full Changelog: v11.1.0...v11.2.0