Skip to content

Releases: stackotter/swift-bundler

v2.0.4

10 May 22:10
Compare
Choose a tag to compare

Fix issue where Metal shaders are built for the current device's macOS version instead of the app's minimum macOS version.

v2.0.3

24 Apr 23:12
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.2...v2.0.3

v2.0.2

09 Apr 09:27
Compare
Choose a tag to compare

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

02 Apr 22:31
Compare
Choose a tag to compare

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

02 Apr 11:52
0f03132
Compare
Choose a tag to compare

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 of throws 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

18 Feb 20:36
ef57655
Compare
Choose a tag to compare

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

03 Feb 06:04
Compare
Choose a tag to compare
  • Add configuration options for adding arbitrary key-value pairs to the generated Info.plist

v1.4.6

12 Jan 01:56
Compare
Choose a tag to compare

Fixes the remove-file-headers sub command. It now only attempts to remove file headers from swift files.

v1.4.5

19 Dec 22:27
Compare
Choose a tag to compare

Fixes crash in universal builds.

v1.4.4

01 Dec 22:15
Compare
Choose a tag to compare

Fixes a crash caused by a force-unwrap.