Releases: dirtyhenry/swift-blocks
Releases · dirtyhenry/swift-blocks
0.5.0
- Slug creation tool. A
slugify
function for strings, or anything
conforming toStringProtocol
, has been added. There's a demo available in
the example app, and the function is also accessible through the CLI. I wrote
[a blog article][1] that explains in detail the requirements, the
implementation, and provides examples—including emoji characters and various
alphabets. - JSON dictionary merging tool. A new CLI command can now merge two files
containing simple string-to-string dictionary objects. [Why might you need
this?][2] - Imported legacy demo app. This repository is my latest attempt to collect
useful Swift code for reuse across projects, demos, and proof-of-concepts.
Learn more about [whyswift-blocks
is already a successful effort][3]. I
also imported a previous project called Martinet—named after the swift bird in
French, not [the punishment tool for misbehaving children][4]—as part of
consolidating my GitHub repositories to reduce maintenance. While it includes
some legacy features, it brings back fond memories and could be useful in the
future.
0.4.0
What's Changed
- Edit changelog with a more human-readable version by @dirtyhenry in #80
- Iterate on list device script by @dirtyhenry in #81
- Improve error management for listDevices by @dirtyhenry in #82
- Add awesome Social preview image for the project by @dirtyhenry in #83
- Improve documentation of StatusCodeCheckingTransport by @dirtyhenry in #84
- README improvements by @dirtyhenry in #85
- Add OpenGraph and FrontMatter structs by @dirtyhenry in #88
- Add JS date formatter by @dirtyhenry in #89
- Add retry transport by @dirtyhenry in #87
- QR code tooling by @dirtyhenry in #90
- Add logging playground to the app by @dirtyhenry in #91
Full Changelog: 0.3.0...0.4.0
0.3.0
- Add ways to list XCode devices as a CLI command and a CI script;
- New project icon
- Add
Bundle
extension syntactic sugar to loadData
andString
contents - Add
CopyUtils
to lint copy text - Start handling colors in CLI utils
MailtoComponents
now conforms toEquatable
(for TCA usage)- Improve the macOS app layout
- Add
allFontNames
extension forAppKit
- Add
Pasteboard
utility struct - Iterate on
TaskStateButton
- Add new
PlainDatePicker
SwiftUI component (with demo) - Fix Linux support
- Improve usability of
MockTransport
- Use
URLRequestHeaderItem
in Endpoint
0.2.0
This release includes the following enhancements:
- 🌐 Transport. Added a tinier version of objcio’s
tiny-networking
for concise endpoint description, combining URL requests and response parsing. IntroducedURLRequestHeaderItem
struct mimicking Foundation’sURLQueryItem
. - 📅 Calendar. Improved internal architecture and developer experience using result builders.
- 🔐 Security. Introduced support for PKCE and associated helpers.
- 🛟 Error Management. Introduced
SimpleMessageError
for convenient error handling, eliminating the need for forced unwrapping. Ideal for scenarios where a full error domain is not necessary. - 🎨 SwiftUI. Introduced
TaskStateButton
interface components, for representing asynchronous task states. Supports four states: not started, running, completed (success), or failed.
The documentation for this package is now hosted on the Swift Package Index.
0.1.0
A first symbolic release. 🎉