This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
Releases: gonzalezreal/SwiftCommonMark
Releases · gonzalezreal/SwiftCommonMark
SwiftCommonMark 1.0.0
Breaking changes:
- Updated
Document
initializers. - Removed
Document.applyingTransform(:)
method. - Removed
Document.imageURLs
property. - Use element types as the associated values in
Inline
andBlock
enums. @BlockBuilder
has been replaced by@BlockArrayBuilder
.@InlineBuilder
has been replaced by@InlineArrayBuilder
.@ItemBuilder
has been replaced by@ItemArrayBuilder
.
New:
- Added
renderCommonMark()
andrenderHTML(options:)
toDocument
,Block
andInline
. - Added documentation for public APIs
- Embedded cmark C library.
SwiftCommonMark 1.0.0-beta.2
Breaking changes:
- Use element types as the associated values in
Inline
andBlock
enums.
SwiftCommonMark 1.0.0-beta
Breaking changes:
- Updated
Document
initializers. - Removed
Document.applyingTransform(:)
method. - Removed
Document.imageURLs
property. - Added argument labels to
Block
andInline
cases. Block.list
no longer uses theList
type, which has been repurposed for multi-expression closures in@BlockArrayBuilder
.Item
has been repurposed for multi-expression closures in@ItemArrayBuilder
.@BlockBuilder
has been replaced by@BlockArrayBuilder
.@InlineBuilder
has been replaced by@InlineArrayBuilder
.@ItemBuilder
has been replaced by@ItemArrayBuilder
.
New:
- Added
renderCommonMark()
andrenderHTML(options:)
toDocument
,Block
andInline
. - Added documentation for public APIs
- Embedded cmark C library.
SwiftCommonMark 0.1.2
- Fixed: Parse image URLs within links (thanks to @GyroJoe)
SwiftCommonMark 0.1.1
- Adds a method to apply text transformations in a document.
SwiftCommonMark 0.1.0
- Backwards compatibility with Swift 5.3
- Documentation
- CI jobs
SwiftCommonMark 0.1.0-beta
- Parse and create CommonMark documents
- Requires Xcode 12.5 beta