BonMot v5.0 Release Notes

Release Date: 2017-10-13 // over 6 years ago
  • BonMot 5.0 adds support for Xcode 9 and Swift 4, and drops support for Swift 2.x and 3.x. This means it also requires Xcode 9 and Swift 4. Please don't update if you're still using Xcode 8! In Xcode 9, even if your project is all on Swift 3.2, you can build BonMot using Swift 4, as long as you're using CocoaPods 1.4.0+.

    🛠 We also snuck in a feature and two bug fixes.

    👀 See all commits since 4.3.1.

    🆕 New Features

    • 👌 Support for Swift 4 and Xcode 9 #296
    • ➕ Add support for new accessibility attributes introduced in iOS 11, tvOS 11, and watchOS 4 #292

    👌 Improvements

    • 👍 Better Carthage support in tests: #295

    🐛 Bug Fixes

    • 🛠 Fix a bug where styles that inherit from other styles were not properly overriding their parent styles' attributes #267
    • 🛠 Fix a regression from the BonMot 3.x → 4.0 Swift rewrite. We now once again intelligently remove NSAttributedStringKey.kern from the last character, unless it's being concatenated into a large string. #290 (Reason)
    • Minor readme cleanup.

    💥 Breaking Changes

    • ⬇️ Drops support for Swift 2.x and 3.x.

    🚀 Thanks to @Imperiopolis and @joe-goullaud for their help with this release.