Skip to content

Commit cbb751b

Browse files
committed
Deprecate date formatter initializers
1 parent 3c54c03 commit cbb751b

File tree

3 files changed

+5
-66
lines changed

3 files changed

+5
-66
lines changed

RELEASE_NOTES.md

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ SwiftUIKit makes its best effort to honor semver, but breaking changes can occur
88

99
Thanks to [pnewell](https://github.com/pnewell), SwiftUIKit now supports Catalyst.
1010

11+
### 🗑️ Deprecations
12+
13+
* The `DateFormatter` init extensions have been deprecated.
14+
1115

1216

1317
## 5.2

Sources/SwiftUIKit/Date/DateFormatter+Init.swift renamed to Sources/SwiftUIKit/_Deprecated/DateFormatter+Init.swift

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
import Foundation
1010

11+
@available(*, deprecated, message: "This is no longer used within the library and will be removed in the next major release.")
1112
public extension DateFormatter {
1213

1314
/**

Tests/SwiftUIKitTests/Date/DateFormatter+InitTests.swift

-66
This file was deleted.

0 commit comments

Comments
 (0)