Skip to content

Releases: theblixguy/Invalidating

Name migration

02 Jul 17:20
1e53176
Compare
Choose a tag to compare

Unfortunately, the property wrapper needs to be renamed otherwise name lookup will treat a reference to Invalidating and other types as ambiguous in Xcode 13 due to conflicts with the same type name in UIKit/AppKit. I did not expect this behavior because I assumed the new types would be effectively unavailable on lower deployment targets and the compiler will allow me to shadow those types with mine, however that does not seem to be the case.

I have tried to isolate the changes to just the name of the property wrapper slightly (to ViewInvalidating), removing the Invalidations type from the UIView/NSView namespace and making it standalone and renaming UIViewInvalidating/NSViewInvalidating by adding a Type suffix to it.

These changes alone were enough to resolve the problems while still making it super easy to migrate to the new type names when the deployment target is changed to iOS 15+/tvOS 15+/macOS 12+. This is achieved by adding @available annotations and providing the new type names for the renamed argument. The renamed type name is then provided as a fix-it on the availability errors making it very easy for the user to migrate without manually needing to rename anything.

Drop min requirement to iOS 11/macOS 10.11

30 Jun 08:44
Compare
Choose a tag to compare
  • Drops the min requirement to iOS 11, tvOS 11 and macOS 10.11.
  • Drops the min requirement to Swift 5.1

More invalidation options and etc

29 Jun 17:55
Compare
Choose a tag to compare
  • Adds Restorable State (macOS only) and Configuration (iOS 14+ only) invalidation options
  • Adds support for specifying up to 10 invalidation options

Minor tweaks

28 Jun 23:34
Compare
Choose a tag to compare
  • Rename an internal type and clean it up
  • Minor tweaks to README

Initial release

28 Jun 22:58
Compare
Choose a tag to compare

This is the initial release.