New
Publish 0.8.0
- Publish now uses (and requires) Swift 5.4.
- Full support has been added for Plot's new component-based API, with dedicated
Componentimplementations for markdown rendering (Markdown), video playback (VideoPlayer), and the ability to use Plot'sAudioPlayercomponent with Publish'sAudiomodels. - Since Publish now contains a type called
Markdown, if you want to refer to Ink's type with the same name, you have to useInk.Markdown. That's the only potentially breaking change within this release, and should hopefully not have a big impact on any Publish-based code base. - The
Content.Bodytype can now also be used directly as a Plot component. - You can now specify what Git branch to deploy to when using the
.gitand.gitHubdeployment methods (by @Kilo-Loco). - If you generate a website called "Website" using the Publish CLI, the generator will now prefix the
Websiteprotocol withPublishas to not cause conflicts with the website definition itself (by @sviatoslav). - When generating site map files, the
excludedPathsargument is now interpreted as a prefix, rather than using absolute string matching, which enables you to exclude entire sections/folders at once (by @bensyverson).