Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Upstream changes:
0.029 2021-10-25 00:02:53+02:00
- Fix basic implicit mappings in flow sequences, e.g. [a, b: c, d]
0.028 2021-10-21 22:00:36+02:00
- Fix empty values with properties in flow mappings and sequences
(`[ &foo , bar]`, `{ &foo , k: v }`)
- Fix: Allow comment lines with tabs in flow
- Fix: parsing of explicit block indenting (issue #46)
- Automatically tie new hashes inside tied hashes (issue #44)
- yamlpp-load-dump: Add options --dump-module and --include*
- docs: Add mising constants (issue #45)
|
|
Upstream changes:
Changes for version 0.027 - 2021-04-09
Forbid duplicate keys by default like announced in 0.026
Add possibility to preserve alias names (see 'preserve' option)
Highlighter: Add option to expand tabs in ansi color mode
yamlpp-events: Add option --module
Improve error message when trying to load an undefined alias
Fix a test for perl 5.8.8
|
|
|
|
0.026 2020-09-11 00:39:09+02:00
- Add option 'duplicate_keys'. The default allows it for now and will
change to forbid in the next release.
0.025 2020-09-06 22:14:07+02:00
- Emitter: Fix indentation issues for non-default indents
- Emitter: Add option 'width' for maximum columns
- Improve error message for unhandled reftypes
|
|
|
|
|
|
0.024 2020-08-17 12:07:01+02:00
- Parser: fix flow mappings on one line
- Improve utility tools yamlpp-load(-dump) (add new options --merge,
--perl and --module) #35
- Minor improvements to emitter scalar style output
- Emitter supports flow style
- Support for preserving flow style in Loader/Dumper
- Create preserved nodes from scratch with preserved_* methods
- Minor fixes for the Perl schema and globs
- Update testsuite to data-2020-08-01
0.023 2020-07-09 22:09:50+02:00
- Support loading and dumping typeglobs. Issue #15
- Dumper: Don't use aliases for JSON::PP/boolean.pm booleans, because they
alwas use the same reference. Issue #32
- Fix float comparison in test. Issue #33
- Make aliases in custom tags work
- YAML::PP::Highlight: colorize mapping keys
0.022 2020-05-04 17:40:36+02:00
- Emitter: Also quote if string starts with '...'
- Emitter: Fix bug when emitting complex keys
- Preserve also quoting style of hash keys
- Schema: Fix YAML 1.1 integers (no keading zeros)
- Scripts: Rename yamlpp5- to yamlpp- and symlink
- Scripts: Add options to yamlpp-load-dump
- Tests: Support reporting flow style in testsuite event output
- Tests: Restructure schema tests and outsource test data
- Events: Make version_directive compatible to libyaml
- Docs: Restructure
0.021 2020-02-27 19:04:58+01:00
- Add option 'preserve' for preserving hash key order and quoting
style when loading and dumping
0.020 2020-02-17 15:35:44+01:00
- Change default schema from JSON to Core (this change was supposed
|
|
Encode has been part of perl since ~forever
|
|
|
|
- Important (and possibly breaking) changes:
- Change default schema from JSON to Core.
Reason: This is the recommended Schema for YAML 1.2, and what people
would expect to be the default.
- load* in scalar context returns first document.
Reason: I think this is the most reasonable behaviour, and it
will continue to work the same if you later add documents to a file.
- Empty nodes in YAML 1.2 JSON Schema resolve to '' by default like
before, but now it can be configured
- Fix some control character escaping and encoding issues (issue#16, issue#17)
YAML::PP will now just assume all input data are unicode characters
and won't do an explicit utf8::upgrade
- Fix Core schema resolver for inf: add +.inf, +.Inf, +.INF
- Improve emitter regarding empty lists/hashes (no newline before []/{})
- Spelling and grammar fixes (PR#23 @gregoa)
- Fix YAML::PP::Grammar pod (PR#22 @gregoa)
- Fix yamlpp5-load-dump
- Fix error tokens output
- Update yaml-test-suite to data-2020-02-11
|
|
to support YAML 1.2 and YAML 1.1.
The YAML::PP frontend will currently load all documents, and return only
the last if called with scalar context.
The YAML backend is implemented in a modular way that allows to add
custom handling of YAML tags, perl objects and data types.
|