File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ### 0.4.0 - ` YamlCodec ` completed
4+
5+ ` YamlCodec ` completed (fixes [ #4 ] ( https://github.com/smarie/python-yamlable/issues/4 ) ):
6+ - ` YamlCodec.decode_yamlable ` renamed ` decode ` and ` YamlCodec.encode_yamlable ` renamed ` encode `
7+ - added some checks in ` YamlCodec.encode ` to help users implement ` to_yaml_dict ` correctly
8+ - fixed bug in ` register_with_pyyaml ` : the wrong decoding method was registered
9+ - ` YamlCodec.create_from_yaml_dict ` renamed ` from_yaml_dict ` for consistency
10+ - added tests and usage documentation
11+
12+ Renamed internal ` AbstractYamlObject ` methods with dunder (fixes [ #3 ] ( https://github.com/smarie/python-yamlable/issues/3 ) ):
13+ - ` from_yaml_dict ` becomes ` __from_yaml_dict__ `
14+ - and ` to_yaml_dict ` become ` __to_yaml_dict__ `
15+ Legacy names will remain supported for a while, added a tet to check that.
16+
17+
318### 0.3.1 - minor error message improvement
419
520 * Filled ` yaml_info ` docstring.
You can’t perform that action at this time.
0 commit comments