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.
0.5.1 - 2021-05-04
- Added
replace(child:with:)methods for container nodes. #26 by @mattt.
- Fixed documentation for
List. #29 by @mattt.
- Changed implementation of
Hashableconformance forNode. Previously the hash value of a node was computed from its content. Now it's computed from the opaque cmark pointer. #30 by @Lukas-Stuehrk.
0.5.0 - 2021-01-14
- Added support for the visitor pattern,
by adding
protocol Visitor/protocol Visitable&enum VisitorContinueKind. #13 by @regexident.
- Fixed document parsing options. #21 by @regexident.
- Fixed memory leaks. #22 by @regexident.
0.4.0 - 2020-05-01
- Added a changelog. #17 by @mattt.
- Changed
rendermethod, as well as nestedRenderingFormatandRenderingOptionstypes, fromDocumenttoNode. #18 by @mattt.
- Fixed abbreviation for "Universal Declaration of Human Rights" (UDHR) throughout project. #12 by @regexident.
0.3.2 - 2020-04-24
- Fixed implementations of
insertmethods. #10 by @Lukas-Stuehrk
0.3.1 - 2020-04-23
- Fixed error caused by missing a case for
CMARK_NODE_DOCUMENTinNode.create. #8 by @mattt.
- Removed
assertionFailureinNodecmark_node_typeclass property. 1903d99 by @mattt.
0.3.0 - 2020-04-10
- Added implementations of
buildIfandbuildEithertoStringBuilder. #5 by @mattt.
- Breaking Change.
Changed
HTML, renaming it toRawHTML. #4 by @mattt. - Changed
Nodeto conform toCodable. #6 by @mattt. - Changed access level of
Nodefromopentopublic. #6 by @mattt. - Change access level for APIs referencing
cmark_nodetointernal#6 by @mattt. - Changed swift-cmark dependency to more recent version. 2239c9c by @mattt.
- Fixed error 'Top-level Document encoded as string JSON fragment.' 727e38f by @mattt.
0.2.2 - 2020-02-06
- Fixed bug in how closed ranges are constructed from reported source positions. #2 by @mattt.
0.2.1 - 2020-01-25
- Added
ForEachtype toCommonMarkBuildermodule. 3cee5da by @mattt. - Added implementations of
buildIfandbuildEithertoCommonMarkBuilder. a125d23 by @mattt. - Added convenience initializers to
Listfor mapping sequence of values. ec61c45 by @mattt.
- Changed
List.Itemto allow initialization withInlineorBlockchildren. c21468c0 by @mattt. - Changed inline types conform to
ListItemConvertible. ffe900bf by @mattt. - Changed access of children to
publicand conformed them toBlock & Node. 5e88c519 by @mattt
- Removed conformance of
DocumenttoCustomReflectable. 6b92588e by @mattt. - Removed
Childtypealias in favor of explicit compound types. c9a5b199 by @mattt.
0.2.0 - 2020-01-24
- Added CommonMarkBuilder interface. 79a98dd by @mattt.
- Changed access level for
Nodeto open. 79a98dd by @mattt. - Changed initialization pattern of
Node. 79a98dd by @mattt. - Changed
ListItem, renaming it toList.Item. 79a98dd by @mattt. - Changed initializers for
Nodesubclasses 79a98dd by @mattt.
- Removed
BulletListandOrderedList, consolidating them into into a newListtype. 79a98dd by @mattt.
0.1.2 - 2020-01-22
- Changed cmark dependency to pin to a tag in a fork. 2f5a2a4 by @mattt.
0.1.1 - 2020-01-22
- Changed cmark dependency to pin to a specific revision. 90704ff by @mattt.
0.1.0 - 2020-01-22
- Added node creation and mutation functionality. a41ba246 by @mattt.
0.0.1 - 2020-01-27
Initial release.