Repository navigation
v4.19.2 - Optimized Data Masking #1015
jongpie
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Thanks to @EnglundAndreas for reporting issue #639 and thanks to @anthonygiuliano for fixing it in PR #959 🥳
Core Unlocked Package Changes
Fixed #639
System.LimitException: Regex too complicatedwhenLogEntryEventBuilder.applyDataMaskRulesprocesses long strings (~35K+ chars).The existing chunking logic in
applyDataMaskRuleToLongLinehad three issues that this release addresses:expandReplacement: The old iterativeString.replace('$' + i, groups[i])reinterpreted$Npatterns inside captured group values (e.g., if group 1 capturedPRICE:$3, the$3would be replaced with group 3's value). The new implementation scans the replacement template left-to-right, only interpreting$Nin the template itself — matching Java'sMatcher.appendReplacementbehavior.Installation Info
CoreUnlocked Package - no namespaceFull Changelog: v4.19.1...v4.19.2
sf package install --wait 20 --security-type AdminsOnly --package 04tg7000000HNrRAAWThis discussion was created from the release v4.19.2 - Optimized Data Masking.
All reactions