Skip to content

v3.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 11 Sep 08:07

Breaking

  • Require Xcode 11 and Swift 5.1 for building 90ac6f8
  • Switch from defaults to Defaults 90ac6f8
    Example: defaults[.unicorn] β†’ Defaults[.unicorn]
    Example: defaults.observable β†’ Defaults.observable
  • Rename defaults.clear to Defaults.removeAll and make it a static method 27c9997

Enhancements

  • Add .reset() method to reset the given keys back to their default value d1e4215