-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to publish 0.9.0, concurrency support, rss fixes #1
base: Multi-Language
Are you sure you want to change the base?
Update to publish 0.9.0, concurrency support, rss fixes #1
Commits on Dec 30, 2020
-
Fix horizontal scrolling in README.md (JohnSundell#98)
Current code formatting in the themes snippet requires horizontal scrolling. If it's slightly reformatted, horizontal scrolling can be avoided improving readability.
Configuration menu - View commit details
-
Copy full SHA for 56ddc6d - Browse repository at this point
Copy the full SHA 56ddc6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92e37a0 - Browse repository at this point
Copy the full SHA 92e37a0View commit details -
Fix incorrect version in PublishCLI/main.swift (JohnSundell#96)
Bump version to 0.7.0
Configuration menu - View commit details
-
Copy full SHA for b7bdaed - Browse repository at this point
Copy the full SHA b7bdaedView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2987fc - Browse repository at this point
Copy the full SHA d2987fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e36464a - Browse repository at this point
Copy the full SHA e36464aView commit details
Commits on Mar 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6a2003f - Browse repository at this point
Copy the full SHA 6a2003fView commit details
Commits on May 3, 2021
-
Update the project to Swift 5.4 (JohnSundell#110)
- Publish now uses the Swift 5.4 toolchain. - Since Swift 5.4 now enables automatic test discovery on all supported platforms, all of the infrastructure that was previously used to maintain Linux unit testing compatibility has now been removed. - Bump Ink to version 0.5.1, which includes a fix for Swift 5.4 compatibility.
Configuration menu - View commit details
-
Copy full SHA for c932b35 - Browse repository at this point
Copy the full SHA c932b35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9490cc8 - Browse repository at this point
Copy the full SHA 9490cc8View commit details
Commits on May 11, 2021
-
Adopt Plot's new Component-based API (JohnSundell#111)
- Bump Plot to version `0.9.0`. - Publish now ships with a few implementations of Plot's new `Component` protocol - specifically `Markdown` (for rendering Markdown inline within a component hierarchy), `VideoPlayer` (for rendering an inline video player), and an extension that makes it possible to directly use Plot's `AudioPlayer` component with Publish's `Audio` model. - The `Content.Body` type now also conforms to `Component`, which makes it possible to place such instances directly within a component hierarchy. That type has now also been fully documented, since it was previously missing documentation for some of its properties and initializers. - The built-in Foundation theme as been rewritten using the new component API. While it remains functionally identical to the previous implementation, it should act as a nice example of how this new API can be used. - Because Publish now ships with a type called `Markdown`, it's possible that some API users might need to disambiguate between this new type and Ink's `Markdown` type. However, that tradeoff was considered worth it, since using the new `Markdown` component will likely be a much more common use case.
Configuration menu - View commit details
-
Copy full SHA for 1402af3 - Browse repository at this point
Copy the full SHA 1402af3View commit details
Commits on May 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9e1b20a - Browse repository at this point
Copy the full SHA 9e1b20aView commit details
Commits on Apr 20, 2022
-
Checkout target deployment destination (JohnSundell#116)
* Checkout target deployment destination * Init git repository with intended branch * Create branch if it doesn't exist * Add test master branch switch
Configuration menu - View commit details
-
Copy full SHA for 68c3ed9 - Browse repository at this point
Copy the full SHA 68c3ed9View commit details -
Bump Publish from 0.7.0 to 0.8.0 (JohnSundell#128)
Make the Publish CLI use version 0.8.0 of Publish.
Configuration menu - View commit details
-
Copy full SHA for f8c386f - Browse repository at this point
Copy the full SHA f8c386fView commit details -
Add initial support for Swift Concurrency (JohnSundell#117)
This change adds initial support for running certain publishing operations concurrently using Swift's new built-in concurrency system. This doesn't involve any breaking changes to the public API, apart from now requiring all Publish users to ensure that their HTML theme and multi-item mutation code can be executed in a concurrent manner. The following key changes were made as part of this: - Bump the project's Swift version to `5.5`, and update the CLI's project template accordingly. - Add CollectionConcurrencyKit as a new package dependency, which adds concurrent versions of the various sequence mapping functions that Publish makes heavy use of. - Make `PublishingStep` use an `async` closure type as its body, which in turn enables asynchronous calls to be made within any step, both built-in and custom ones. - Each publishing pipeline is still performed in sequence, just like before. So it's only the internal operations within each step that may now be parallelized. - The top-level `Website.publish` APIs are still completely synchronous, and uses an internal `DispatchSemaphore` to await the completion of the website's publishing pipeline before returning. - A new built-in `mutateAllItems(in sections:)` API has been added, to make it convenient to iterate over all items within a certain set of sections in a concurrent manner. - `HTMLGenerator` now executes concurrently, meaning that it can output a large number of HTML files in parallel, rather than writing all files one-by-one. - `MarkdownFileHandler` now also runs concurrently, and processes all of its Markdown files in parallel, rather than doing so sequentially. - `RSSFeedGenerator` and `PodcastFeedGenerator` now generates their respective feeds concurrently. Overall, this set of changes results in a 4x speed improvement when generating Swift by Sundell using the M1 Max chip. As part of this, Publish now requires macOS 12, to be able to use Swift Concurrency in a predictable way. macOS version 12.0 has been out for quite a while now, so it's safe to require it at this point.
Configuration menu - View commit details
-
Copy full SHA for a0d30bc - Browse repository at this point
Copy the full SHA a0d30bcView commit details -
CLI: Always use Python 3 (JohnSundell#132)
Since Publish now requires macOS 12, we can safely require Python 3 when using the CLI's `run` command to start a local web server.
Configuration menu - View commit details
-
Copy full SHA for 2beedc7 - Browse repository at this point
Copy the full SHA 2beedc7View commit details
Commits on Apr 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1c8ad00 - Browse repository at this point
Copy the full SHA 1c8ad00View commit details
Commits on May 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 36c60df - Browse repository at this point
Copy the full SHA 36c60dfView commit details
Commits on May 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4c41ebb - Browse repository at this point
Copy the full SHA 4c41ebbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73be8f0 - Browse repository at this point
Copy the full SHA 73be8f0View commit details
Commits on May 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6869592 - Browse repository at this point
Copy the full SHA 6869592View commit details
Commits on May 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 29b85b8 - Browse repository at this point
Copy the full SHA 29b85b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48cfa20 - Browse repository at this point
Copy the full SHA 48cfa20View commit details
Commits on May 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9a7d455 - Browse repository at this point
Copy the full SHA 9a7d455View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4563892 - Browse repository at this point
Copy the full SHA 4563892View commit details
Commits on Feb 15, 2023
-
Nikolai Trukhin committed
Feb 15, 2023 Configuration menu - View commit details
-
Copy full SHA for 6961707 - Browse repository at this point
Copy the full SHA 6961707View commit details