All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Update signature in the call to
Psych.safe_load
(see #11)
- Depreciate "whitelist" in favor of "allowlist" by renaming the
whitelist_classes
param toallowlist_classes
.
If your project uses the whitelist_classes
param, you will need to upgrade your code as follows:
## before
loader = FrontMatterParser::Loader::Yaml.new(whitelist_classes: [Time])
## after
loader = FrontMatterParser::Loader::Yaml.new(allowlist_classes: [Time])
- Do not add
bin
development executables to generated gem.
- Allow whitelisting classes in YAML loader.
- Don't be greedy with front matter end delimiters.