Skip to content

Commit 6feb585

Browse files
committed
[4.0.0] release prep + rebuild docs
closes #63
1 parent fe0831f commit 6feb585

11 files changed

+36
-30
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ NEXT
1010
4.0.0
1111
-----
1212

13+
This release closes the [4.0.0 milestone](https://github.com/jessesquires/Foil/milestone/5?closed=1).
14+
1315
### New
1416

1517
- The publisher projected by the property wrapper now sends values when user defaults changes from anywhere. Previously, only when using the property wrapper's setter would the projected publisher send a new value. ([#61](https://github.com/jessesquires/Foil/pull/61), [@nolanw](https://github.com/nolanw))
@@ -22,6 +24,10 @@ NEXT
2224
- Key names containing a `.` character _anywhere_ in the name **do not** notify observers on updates. (This is a side-effect of `KeyPaths` which include periods.)
2325
- Example: `com.myApp.my-key-name`
2426

27+
### Changed
28+
29+
- Upgrade to Xcode 14
30+
- Upgrade to Swift 5.7
2531

2632
3.0.0
2733
-----

Foil.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Foil'
3-
s.version = '3.0.0'
3+
s.version = '4.0.0'
44
s.license = 'MIT'
55

66
s.summary = 'A lightweight property wrapper for UserDefaults'
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
1212
s.source = { :git => 'https://github.com/jessesquires/Foil.git', :tag => s.version }
1313
s.source_files = 'Sources/*.swift'
1414

15-
s.swift_version = '5.5'
15+
s.swift_version = '5.7'
1616

1717
s.ios.deployment_target = '13.0'
1818
s.tvos.deployment_target = '13.0'

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,14 @@ Adding support for custom types is possible by conforming to `UserDefaultsSerial
163163
### [CocoaPods](http://cocoapods.org)
164164

165165
````ruby
166-
pod 'Foil', '~> 3.0.0'
166+
pod 'Foil', '~> 4.0.0'
167167
````
168168

169169
### [Swift Package Manager](https://swift.org/package-manager/)
170170

171171
```swift
172172
dependencies: [
173-
.package(url: "https://github.com/jessesquires/Foil.git", from: "3.0.0")
173+
.package(url: "https://github.com/jessesquires/Foil.git", from: "4.0.0")
174174
]
175175
```
176176

docs/Protocols.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<a title="Protocols Reference"></a>
1818
<header>
1919
<div class="content-wrapper">
20-
<p><a href="index.html">Foil 3.0.0 Docs</a> (100% documented)</p>
20+
<p><a href="index.html">Foil 4.0.0 Docs</a> (100% documented)</p>
2121
<p class="header-right"><a href="https://github.com/jessesquires/Foil"><img src="img/gh.png" alt="GitHub"/>View on GitHub</a></p>
2222
<div class="header-right">
2323
<form role="search" action="search.json">
@@ -118,8 +118,8 @@ <h4>Declaration</h4>
118118
</section>
119119
</section>
120120
<section id="footer">
121-
<p>&copy; 2022 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2022-04-16)</p>
122-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.2</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
121+
<p>&copy; 2022 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2022-12-23)</p>
122+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
123123
</section>
124124
</article>
125125
</div>

docs/Protocols/UserDefaultsSerializable.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<a title="UserDefaultsSerializable Protocol Reference"></a>
1818
<header>
1919
<div class="content-wrapper">
20-
<p><a href="../index.html">Foil 3.0.0 Docs</a> (100% documented)</p>
20+
<p><a href="../index.html">Foil 4.0.0 Docs</a> (100% documented)</p>
2121
<p class="header-right"><a href="https://github.com/jessesquires/Foil"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
2222
<div class="header-right">
2323
<form role="search" action="../search.json">
@@ -197,8 +197,8 @@ <h4>Parameters</h4>
197197
</section>
198198
</section>
199199
<section id="footer">
200-
<p>&copy; 2022 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2022-04-16)</p>
201-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.2</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
200+
<p>&copy; 2022 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2022-12-23)</p>
201+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
202202
</section>
203203
</article>
204204
</div>

docs/Structs.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<a title="Structures Reference"></a>
1818
<header>
1919
<div class="content-wrapper">
20-
<p><a href="index.html">Foil 3.0.0 Docs</a> (100% documented)</p>
20+
<p><a href="index.html">Foil 4.0.0 Docs</a> (100% documented)</p>
2121
<p class="header-right"><a href="https://github.com/jessesquires/Foil"><img src="img/gh.png" alt="GitHub"/>View on GitHub</a></p>
2222
<div class="header-right">
2323
<form role="search" action="search.json">
@@ -132,8 +132,8 @@ <h4>Declaration</h4>
132132
</section>
133133
</section>
134134
<section id="footer">
135-
<p>&copy; 2022 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2022-04-16)</p>
136-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.2</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
135+
<p>&copy; 2022 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2022-12-23)</p>
136+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
137137
</section>
138138
</article>
139139
</div>

docs/Structs/WrappedDefault.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<a title="WrappedDefault Structure Reference"></a>
1818
<header>
1919
<div class="content-wrapper">
20-
<p><a href="../index.html">Foil 3.0.0 Docs</a> (100% documented)</p>
20+
<p><a href="../index.html">Foil 4.0.0 Docs</a> (100% documented)</p>
2121
<p class="header-right"><a href="https://github.com/jessesquires/Foil"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
2222
<div class="header-right">
2323
<form role="search" action="../search.json">
@@ -232,8 +232,8 @@ <h4>Parameters</h4>
232232
</section>
233233
</section>
234234
<section id="footer">
235-
<p>&copy; 2022 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2022-04-16)</p>
236-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.2</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
235+
<p>&copy; 2022 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2022-12-23)</p>
236+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
237237
</section>
238238
</article>
239239
</div>

docs/Structs/WrappedDefaultOptional.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<a title="WrappedDefaultOptional Structure Reference"></a>
1818
<header>
1919
<div class="content-wrapper">
20-
<p><a href="../index.html">Foil 3.0.0 Docs</a> (100% documented)</p>
20+
<p><a href="../index.html">Foil 4.0.0 Docs</a> (100% documented)</p>
2121
<p class="header-right"><a href="https://github.com/jessesquires/Foil"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
2222
<div class="header-right">
2323
<form role="search" action="../search.json">
@@ -116,7 +116,7 @@ <h4>Declaration</h4>
116116
<section class="section">
117117
<div class="pointer"></div>
118118
<div class="abstract">
119-
<p>The value retreived from <code>UserDefaults</code>, if any exists.</p>
119+
<p>The value retrieved from <code>UserDefaults</code>, if any exists.</p>
120120

121121
</div>
122122
<div class="declaration">
@@ -220,8 +220,8 @@ <h4>Parameters</h4>
220220
</section>
221221
</section>
222222
<section id="footer">
223-
<p>&copy; 2022 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2022-04-16)</p>
224-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.2</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
223+
<p>&copy; 2022 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2022-12-23)</p>
224+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
225225
</section>
226226
</article>
227227
</div>

docs/index.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<a title="Foil Reference"></a>
1717
<header>
1818
<div class="content-wrapper">
19-
<p><a href="index.html">Foil 3.0.0 Docs</a> (100% documented)</p>
19+
<p><a href="index.html">Foil 4.0.0 Docs</a> (100% documented)</p>
2020
<p class="header-right"><a href="https://github.com/jessesquires/Foil"><img src="img/gh.png" alt="GitHub"/>View on GitHub</a></p>
2121
<div class="header-right">
2222
<form role="search" action="search.json">
@@ -201,17 +201,17 @@ <h2 id='supported-platforms' class='heading'>Supported Platforms</h2>
201201
<h2 id='requirements' class='heading'>Requirements</h2>
202202

203203
<ul>
204-
<li>Swift 5.5+</li>
205-
<li>Xcode 13.0+</li>
204+
<li>Swift 5.7+</li>
205+
<li>Xcode 14.0+</li>
206206
<li><a href="https://github.com/realm/SwiftLint">SwiftLint</a></li>
207207
</ul>
208208
<h2 id='installation' class='heading'>Installation</h2>
209209
<h3 id='a-href-http-cocoapods-org-cocoapods-a' class='heading'><a href="http://cocoapods.org">CocoaPods</a></h3>
210-
<pre class="highlight ruby"><code><span class="n">pod</span> <span class="s1">'Foil'</span><span class="p">,</span> <span class="s1">'~&gt; 3.0.0'</span>
210+
<pre class="highlight ruby"><code><span class="n">pod</span> <span class="s1">'Foil'</span><span class="p">,</span> <span class="s1">'~&gt; 4.0.0'</span>
211211
</code></pre>
212212
<h3 id='a-href-https-swift-org-package-manager-swift-package-manager-a' class='heading'><a href="https://swift.org/package-manager/">Swift Package Manager</a></h3>
213213
<pre class="highlight swift"><code><span class="nv">dependencies</span><span class="p">:</span> <span class="p">[</span>
214-
<span class="o">.</span><span class="nf">package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/jessesquires/Foil.git"</span><span class="p">,</span> <span class="nv">from</span><span class="p">:</span> <span class="s">"3.0.0"</span><span class="p">)</span>
214+
<span class="o">.</span><span class="nf">package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/jessesquires/Foil.git"</span><span class="p">,</span> <span class="nv">from</span><span class="p">:</span> <span class="s">"4.0.0"</span><span class="p">)</span>
215215
<span class="p">]</span>
216216
</code></pre>
217217

@@ -245,8 +245,8 @@ <h2 id='license' class='heading'>License</h2>
245245
</section>
246246
</section>
247247
<section id="footer">
248-
<p>&copy; 2022 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2022-04-16)</p>
249-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.2</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
248+
<p>&copy; 2022 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2022-12-23)</p>
249+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
250250
</section>
251251
</article>
252252
</div>

docs/js/jquery.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/search.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"Structs/WrappedDefaultOptional.html#/s:4Foil22WrappedDefaultOptionalV3keySSvp":{"name":"key","abstract":"<p>The key for the value in <code>UserDefaults</code>.</p>","parent_name":"WrappedDefaultOptional"},"Structs/WrappedDefaultOptional.html#/s:4Foil22WrappedDefaultOptionalV12wrappedValuexSgvp":{"name":"wrappedValue","abstract":"<p>The value retreived from <code>UserDefaults</code>, if any exists.</p>","parent_name":"WrappedDefaultOptional"},"Structs/WrappedDefaultOptional.html#/s:4Foil22WrappedDefaultOptionalV14projectedValue7Combine12AnyPublisherVyxSgs5NeverOGvp":{"name":"projectedValue","abstract":"<p>A publisher that delivers updates to subscribers.</p>","parent_name":"WrappedDefaultOptional"},"Structs/WrappedDefaultOptional.html#/s:4Foil22WrappedDefaultOptionalV3key12userDefaultsACyxGSS_So06NSUserG0Ctcfc":{"name":"init(key:userDefaults:)","abstract":"<p>Initializes the property wrapper.</p>","parent_name":"WrappedDefaultOptional"},"Structs/WrappedDefault.html#/s:4Foil14WrappedDefaultV3keySSvp":{"name":"key","abstract":"<p>The key for the value in <code>UserDefaults</code>.</p>","parent_name":"WrappedDefault"},"Structs/WrappedDefault.html#/s:4Foil14WrappedDefaultV12wrappedValuexvp":{"name":"wrappedValue","abstract":"<p>The value retrieved from <code>UserDefaults</code>.</p>","parent_name":"WrappedDefault"},"Structs/WrappedDefault.html#/s:4Foil14WrappedDefaultV14projectedValue7Combine12AnyPublisherVyxs5NeverOGvp":{"name":"projectedValue","abstract":"<p>A publisher that delivers updates to subscribers.</p>","parent_name":"WrappedDefault"},"Structs/WrappedDefault.html#/s:4Foil14WrappedDefaultV12wrappedValue3key12userDefaultsACyxGx_SSSo06NSUserH0Ctcfc":{"name":"init(wrappedValue:key:userDefaults:)","abstract":"<p>Initializes the property wrapper.</p>","parent_name":"WrappedDefault"},"Structs/WrappedDefault.html":{"name":"WrappedDefault","abstract":"<p>A property wrapper that uses <code>UserDefaults</code> as a backing store,"},"Structs/WrappedDefaultOptional.html":{"name":"WrappedDefaultOptional","abstract":"<p>A property wrapper that uses <code>UserDefaults</code> as a backing store,"},"Protocols/UserDefaultsSerializable.html#/s:4Foil24UserDefaultsSerializableP11StoredValueQa":{"name":"StoredValue","abstract":"<p>The type of the value that is stored in <code>UserDefaults</code>.</p>","parent_name":"UserDefaultsSerializable"},"Protocols/UserDefaultsSerializable.html#/s:4Foil24UserDefaultsSerializableP11storedValue06StoredF0Qzvp":{"name":"storedValue","abstract":"<p>The value to store in <code>UserDefaults</code>.</p>","parent_name":"UserDefaultsSerializable"},"Protocols/UserDefaultsSerializable.html#/s:4Foil24UserDefaultsSerializableP11storedValuex06StoredF0Qz_tcfc":{"name":"init(storedValue:)","abstract":"<p>Initializes the object using the provided value.</p>","parent_name":"UserDefaultsSerializable"},"Protocols/UserDefaultsSerializable.html":{"name":"UserDefaultsSerializable","abstract":"<p>Describes a value that can be saved to and fetched from <code>UserDefaults</code>.</p>"},"Protocols.html":{"name":"Protocols","abstract":"<p>The following protocols are available globally.</p>"},"Structs.html":{"name":"Structures","abstract":"<p>The following structures are available globally.</p>"}}
1+
{"Structs/WrappedDefaultOptional.html#/s:4Foil22WrappedDefaultOptionalV3keySSvp":{"name":"key","abstract":"<p>The key for the value in <code>UserDefaults</code>.</p>","parent_name":"WrappedDefaultOptional"},"Structs/WrappedDefaultOptional.html#/s:4Foil22WrappedDefaultOptionalV12wrappedValuexSgvp":{"name":"wrappedValue","abstract":"<p>The value retrieved from <code>UserDefaults</code>, if any exists.</p>","parent_name":"WrappedDefaultOptional"},"Structs/WrappedDefaultOptional.html#/s:4Foil22WrappedDefaultOptionalV14projectedValue7Combine12AnyPublisherVyxSgs5NeverOGvp":{"name":"projectedValue","abstract":"<p>A publisher that delivers updates to subscribers.</p>","parent_name":"WrappedDefaultOptional"},"Structs/WrappedDefaultOptional.html#/s:4Foil22WrappedDefaultOptionalV3key12userDefaultsACyxGSS_So06NSUserG0Ctcfc":{"name":"init(key:userDefaults:)","abstract":"<p>Initializes the property wrapper.</p>","parent_name":"WrappedDefaultOptional"},"Structs/WrappedDefault.html#/s:4Foil14WrappedDefaultV3keySSvp":{"name":"key","abstract":"<p>The key for the value in <code>UserDefaults</code>.</p>","parent_name":"WrappedDefault"},"Structs/WrappedDefault.html#/s:4Foil14WrappedDefaultV12wrappedValuexvp":{"name":"wrappedValue","abstract":"<p>The value retrieved from <code>UserDefaults</code>.</p>","parent_name":"WrappedDefault"},"Structs/WrappedDefault.html#/s:4Foil14WrappedDefaultV14projectedValue7Combine12AnyPublisherVyxs5NeverOGvp":{"name":"projectedValue","abstract":"<p>A publisher that delivers updates to subscribers.</p>","parent_name":"WrappedDefault"},"Structs/WrappedDefault.html#/s:4Foil14WrappedDefaultV12wrappedValue3key12userDefaultsACyxGx_SSSo06NSUserH0Ctcfc":{"name":"init(wrappedValue:key:userDefaults:)","abstract":"<p>Initializes the property wrapper.</p>","parent_name":"WrappedDefault"},"Structs/WrappedDefault.html":{"name":"WrappedDefault","abstract":"<p>A property wrapper that uses <code>UserDefaults</code> as a backing store,"},"Structs/WrappedDefaultOptional.html":{"name":"WrappedDefaultOptional","abstract":"<p>A property wrapper that uses <code>UserDefaults</code> as a backing store,"},"Protocols/UserDefaultsSerializable.html#/s:4Foil24UserDefaultsSerializableP11StoredValueQa":{"name":"StoredValue","abstract":"<p>The type of the value that is stored in <code>UserDefaults</code>.</p>","parent_name":"UserDefaultsSerializable"},"Protocols/UserDefaultsSerializable.html#/s:4Foil24UserDefaultsSerializableP11storedValue06StoredF0Qzvp":{"name":"storedValue","abstract":"<p>The value to store in <code>UserDefaults</code>.</p>","parent_name":"UserDefaultsSerializable"},"Protocols/UserDefaultsSerializable.html#/s:4Foil24UserDefaultsSerializableP11storedValuex06StoredF0Qz_tcfc":{"name":"init(storedValue:)","abstract":"<p>Initializes the object using the provided value.</p>","parent_name":"UserDefaultsSerializable"},"Protocols/UserDefaultsSerializable.html":{"name":"UserDefaultsSerializable","abstract":"<p>Describes a value that can be saved to and fetched from <code>UserDefaults</code>.</p>"},"Protocols.html":{"name":"Protocols","abstract":"<p>The following protocols are available globally.</p>"},"Structs.html":{"name":"Structures","abstract":"<p>The following structures are available globally.</p>"}}

0 commit comments

Comments
 (0)