Releases: robtimus/obfuscation-yaml
1.3
Added support for obfuscating mappings and sequences in more ways, through methods forMappingsByDefault
and forSequencesByDefault
of YAMLObfuscator.Builder
and methods forMappings
and forSequences
of YAMLObfuscator.PropertyConfigurer
.
Updated to the latest versions of SnakeYAML and obfuscation-core.
1.2
When obfuscating from a Reader
, the contents were completely buffered in previous versions. This could lead to memory starvation when obfuscating large YAML documents. From this version on, a YAML obfuscator tries to truncate the internal buffer as soon as a maximum size is hit. This maximum defaults to 512KB, but can be changed using system property com.github.robtimus.obfuscation.yaml.preferredMaxBufferSize
. Note that the buffer can grow to be larger than this maximum if it's needed to let the obfuscation be successful. This will usually only occur if values or completely obfuscated structures exceed this maximum.
Updated to the latest SnakeYAML version, 2.5. This version introduced a size limit on YAML documents, with a default of 3MB. Method withMaxDocumentSize
was added to YAMLObfuscator.Builder
to change this limit.