All Versions
11
Latest Version
Avg Release Cycle
108 days
Latest Release
18 days ago

Changelog History
Page 1

  • v5.5.0

    February 01, 2020

    👀 See all commits since 5.4.1.

    🆕 New Features

  • v5.4.1

    July 01, 2019

    👀 See all commits since 5.4.

    🐛 Bug Fixes

    • Stop exporting a compatibility alias that was only ever intended to be used in the example project. Note that this is technically a breaking change, but it is unlikely that anyone was actually depending on the alias being there.
  • v5.4

    May 31, 2019

    👀 See all commits since 5.3.

    🆕 New Features

    • ➕ Add support for Xcode 10.2 and Swift 5.0

    🐛 Bug Fixes

    🗄 Deprecations

    • ⬇️ Drops official support for Xcode 9.x
  • v5.3

    September 21, 2018

    👀 See all commits since 5.2.

    🆕 New Features

  • v5.2

    March 01, 2018

    👀 See all commits since 5.1.

    🆕 New Features

    • ➕ Add the ability to join a sequence of Composable and produce an attributed string. The upshot of this is that if you have an array of attributed strings, you can call joined(separator:) on them, supplying a string, attributed string, or other Composable as the separator, and get an attributed string. (#328 via #329, @ZevEisenberg)
  • v5.1

    February 24, 2018

    👀 See all commits since 5.0.1.

    🆕 New Features

    • Add support for making a font bold , italic, and _ bold/italic _ via the new .emphasis attribute. The cool thing about emphasis is that it can modify existing fonts, without having to re-specify the font. This means that you can do something like this: StringStyle(.font(.systemFont(ofSize: 17)), .emphasis(.italic)), and you'll get an italic version of the system font. Or, you can take any style and get the bold and/or italic version of it without knowing what its font is: someExistingStyle.byAdding(.emphasis([.bold, .italic])). Check out the example project for a cool use case for this in XML parsing! (@ZevEisenberg, #303 via #325)
    • 👉 Make Tracking's kerning(for:) method public. (@acacuce, #324)

    👌 Improvements

  • v5.0.1

    January 31, 2018

    👀 See all commits since 5.0

    🐎 Performance Improvements

    • Return existing font if it would be unmodified anyway. (#313, @muukii)

    🐛 Bug Fixes

    • 👕 Stop linting code when building via Carthage. (#309 via #319)
    • Specify swift_version in podspec for compatibility with CocoaPods 1.4.0.

    Miscellaneous

    • ⚡️ Update build for Xcode 9.2.
    • Minor readme cleanup.
  • v5.0

    October 13, 2017

    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.

  • v4.3.1

    March 30, 2017

    👀 See all commits since 4.3

    🐛 Bug Fixes

    • 🔄 Change link property to take a URL instead of NSURL Provide compatibility alias for URL on Swift 2.x. (#277 via #278, @ZevEisenberg)
  • v4.3

    March 27, 2017

    👀 See all commits since 4.2

    🆕 New Features

    • ➕ Add support for text case transforms. You can now transform arbitrary strings or substrings to lowercase, uppercase, and capitalized, with variants for both the default locale or a custom locale. You can also pass a custom transform function to perform whatever string transformations you want. See the Transform.swift and TransformTests.swift for API and usage examples. (#26 via #275, @ZevEisenberg)

    Other changes

    • ⚡️ Update source code to use SwiftLint 0.17.0