11 curated breaking changes across major versions of SnapKit. Use this as a migration checklist before bumping dependencies.
Removed Cocoapods support
Bumped minimum Swift toolchain to 6.0+
Bumped minimum macOS to 12.0+
Bumped minimum iOS/tvOS to 14.0+
Removed Carthage support
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cocoapods/SnapKitDebug labels must now use a function rather than a property. `snp.label = ""` is now `snp.setLabel("")`
`.inset()` will no longer take `CGPoint` or `CGSize` as input
Constraints are now updated through `update(offset:)`, `update(inset:)` and `update(priority:)`
DSL is now accessed through `.snp.*` rather than `.snp_*`. For example `view.snp.makeConstraints { }`
`install` and `uninstall` have been deprecated, use `activate` and `deactivate` instead
iOS 7.0 support has been removed