Releases: stackotter/swift-bundler
v2.0.4
v2.0.3
What's Changed
- Change docs target by @finestructure in #20
- Fix Xcode not finding swift-bundler on the path by @stackotter in #23
Full Changelog: v2.0.2...v2.0.3
v2.0.2
Adds usage documentation and a handy tip on opening projects with Xcode after generating Xcode support.
From now on, all builds attached to releases will also be universal binaries (previously they were x86_64 builds).
v2.0.1
This release removes reliance on Swift Bundler being installed at /opt/swift-bundler
and updates the installation instructions accordingly. The recommended installation method is now via mint.
If you have previously installed Swift Bundler via the installation script method, you must delete the /opt/swift-bundler
directory.
Full Changelog: v2.0.0...v2.0.1
v2.0.0
After a month of work and over 120 commits, I have finished rewriting and improving the entirety of Swift Bundler 🎉
For a nice overview of the changes go and read my blog post.
Improvements
- Better configuration format
- Help messages are more useful
- Error messages are more descriptive
- Commands are more intuitive
- Command line output is colourful!
- Improved consistency between SwiftPM and Xcode builds
- Automatic migration from old configuration format (
Bundle.json
) to new configuration format (Bundler.toml
) - Swift Bundler is now released under the more permissive
Apache 2.0
- Swift Bundler is less opinionated about the layout of your project and the only requirement is that
Bundler.toml
is in the root directory - The chance of fatal errors occurring has been significantly reduced by avoiding all force unwraps (and similar), and removing many other sources of fatal errors
New features
- Package templates
- Commands give tips on what to do next
- Multi-app packages
- Plist entries can contain variables (e.g.
{COMMIT_HASH}
can be used to insert the current commit hash into the Info.plist at build time) - Option to set indentation style when creating a new package
- Stylish and helpful command-line output
- Documentation site
Internal changes
- Swift Bundler is now written in a functional style for maximum reusability and maintainability
Result
-based error handling is now used instead ofthrows
to ensure that error messages are always descriptive and always have user-friendly error messages- All errors implement
errorDescription
- The monolithic
Bundler
type has been split into several smaller self-contained utilities - All child processes are terminated when the
swift-bundler
process is killed - Errors are now propagated instead of just terminating the process when the error occurs, allowing for centralised error handling
v1.4.8
Add a license (GPL-v3 for now). I could swear I had already added a license, but I guess I hadn't.
v1.4.7
- Add configuration options for adding arbitrary key-value pairs to the generated Info.plist
v1.4.6
Fixes the remove-file-headers
sub command. It now only attempts to remove file headers from swift files.
v1.4.5
Fixes crash in universal builds.
v1.4.4
Fixes a crash caused by a force-unwrap.