Skip to content

Releases: ArtSabintsev/Siren

2.0.0 Release!

08 Apr 05:55
Compare
Choose a tag to compare

What started off as a minor change to address https://github.com/ArtSabintsev/Siren#words-of-caution, turned into a hefty refactor, while still addressing the issue.

The reason for releasing 2.0.0 so soon after releasing 1.0.0 (~6 months) is due to a breaking public API change. Specifically, showAlertAfterCurrentVersionHasBeenReleasedForDays changed from Int? to Int and now has a default value of 1 to avoid a timing issue between the App Store JSON being updated faster than the App Store receiving your updated app binary. This means that, by default, the App Update will appear 24 hours after the value that appears in the JSON to make sure the App Stores has the latest binary. Many users who used the .force reported experiencing infinite loops. This should be addressed now.

Other updates include:

  • The SirenDelegate protocol has moved to SirenDelegate.swift
  • SirenTestHelper.swift now contains the XCTest Helper functions
  • public and private enums have had their names and scopes changed. For example:
    • SirenLanguageType -> Siren.LanguageType
    • SirenAlertType -> Siren.AlertType

I've also made the code more readable, by adding more:

  • Error handling
  • Debug messages
  • Documentation
  • Sample Project Improvements

SirenDateExtension + Safety

22 Mar 03:32
Compare
Choose a tag to compare

#134:

  • Moved Date-specific code to SirenDateExtension.
  • Removed two remaining force-unwrapped variables.

Update Jazzy Docs and Scope Changes

18 Mar 04:21
Compare
Choose a tag to compare
  • Updated Jazzy Docs
  • Changed scoping from public to external for extensions that were made moments ago in v1.2.3 (from #131)

Split Siren Into Multiple Files

18 Mar 04:17
Compare
Choose a tag to compare
  • #131: Created a few files for and put the Siren-specific extensions in them (versus having them all in Siren.swift).

Fixed Carthage Support

18 Mar 04:16
Compare
Choose a tag to compare

Broke Carthage support in 1.2.1. It's fixed now.

Improved Swift PM Support

04 Mar 07:18
Compare
Choose a tag to compare

Siren now properly work with Swift PM.

Big Changes

04 Mar 07:17
Compare
Choose a tag to compare
  • Deprecated sharedInstance in favor of shared
  • Updated Inline Comments
  • Added Jazzy Docs
  • Added SwiftLint

Multiple Alert Bugfix + More

14 Jan 21:28
Compare
Choose a tag to compare
  • Addresses multiple UIAlertController instances (#91, #114)
  • Replaces all instances of AnyObject with Any
  • Updates comments to follow Apple's preferred styling
  • Removes lots of vertical whitespace

Added Norwegian Localization and Cache Policy

09 Dec 19:09
Compare
Choose a tag to compare

Indonesian and Finnish Localization

27 Nov 02:27
Compare
Choose a tag to compare