Skip to content

Latest commit

 

History

History
206 lines (151 loc) · 8.82 KB

CHANGELOG.md

File metadata and controls

206 lines (151 loc) · 8.82 KB

Changelog

All notable changes to this project will be documented in this file. Willow adheres to Semantic Versioning.

4.x Releases

3.x Releases

2.x Releases

1.x Releases


Updated

  • Project and code to Swift 4.0. #28.
  • Small optimization: since the configuration is immutable, we can test the log level before taking the lock or dispatching. Avoids evaluating the log closure if the log will not be written, will increase performance for users with noisy but ignored debug logs. #28.
  • LoggerTests by refactoring into LoggerMessageTests and LoggerMessageStringTests since there are now two separate APIs to test. #28.
  • Example frameworks to not have a default logger instance. #28.
  • Example willow configuration to match new API. #28.
  • Writers such that there are now two protocols: LogWriter and LogModifierWriter. Former is a basic writer. Latter is a writer that also accepts an array of modifiers to apply to incoming messages. #28.
  • All unit tests. #28.
  • Example frameworks to show intended usage of LogMessages. #28.

Added

  • Added support for structured messages and simplified Logger setup. #28.

Removed

  • Configuration from Willow. Callers now pass a log level, writers, and execution method to init(). Greatly simplifies setup and usage. #28.

Updated

  • Network example framework to WebServices to avoid a name collision with an iOS 11 private framework with the same name.
  • SWIFT_VERSION to 3.2 in all targets. All targets still build with Swift 3.1/Xcode 8.3.x.
  • Copyright dates to 2017.

Fixed

  • Compile error for Swift 3.2/4.0.

Released on 2017-01-13. All issues associated with this milestone can be found using this filter.

Added

  • A new .swift-version file for CocoaPods pointed at Swift 3.0.
  • A migration guide for the Willow 3.0 release.
  • Support for OSLogWriter on macOS 10.12+ by removing preprocessor guards.

Updated

  • The Travis-CI YAML file to Xcode 8.2 and the latest SDKs and destinations.
  • The Travis-CI YAML file by re-enabling pod lib lint since lint issue is resolved.
  • The Xcode projects to Xcode 8.2 and disabled automatic signing on frameworks.
  • Instances of OSX with macOS including the framework and target names.
  • ExecutionMethod enum cases to be lowercased to match Swift API Design Guidelines.

Fixed

  • Crash in WriterTests on iOS and tvOS 9 where os_log APIs are not available.
  • Compiler warnings in the example app around private and fileprivate ACLs.

Released on 2016-09-07. All issues associated with this milestone can be found using this filter.

Added

  • OSLogWriter to use the os_log APIs indirectly through a Logger instance.
  • The Method enumeration on ConsoleWriter to switch between print and NSLog functions.
  • A Willow 2.0 Migration Guide detailing all breaking changes between 1.x and 2.0.

Updated

  • All source, test and example logic and project settings to compile against Swift 3.0.
  • The Formatter protocol to be LogMessageModifier to avoid naming collisions with Foundation.
  • The Writer protocol to be LogMessageWriter to match LogMessageModifier naming convention.
  • The README and all sample code to match the new APIs and conventions.

Removed

  • Code generation from all framework targets by default due to instability issues.

Released on 2016-09-07. All issues associated with this milestone can be found using this filter.

Updated

  • All source, test and example logic to compile against Swift 2.3 and Xcode 8.
  • The Travis CI yaml file to build against iOS 10 and the new suite of simulators.
  • The iOS Example app to use emoticons in the PrefixFormatter.

Removed

  • Slather reporting from the test suite due to instability issues with Xcode and Travis CI.
  • CocoaPods linting from the Travis CI yaml file due to current instabilities with Xcode 8.
  • The ColorFormatter and all logic associated with it since plugins are no longer supported.
  • Removed the color formatting section and examples from the README.

Released on 2016-07-11. All issues associated with this milestone can be found using this filter.

Added

  • New autoclosure(escaping) variants of the logging methods.

Updated

  • The README to explain the differences between autoclosure and closure APIs.

Released on 2016-06-27.

Added