Skip to content

Commit b44b529

Browse files
committed
New version: 4.2.1
1 parent f8c42a1 commit b44b529

33 files changed

+630
-585
lines changed

Diff for: .jazzy.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ objc: No
33
author: Stefan van den Oord
44
author_url: https://github.com/svdo
55
github_url: https://github.com/svdo/swift-netutils
6-
github_file_prefix: https://github.com/svdo/swift-netutils/tree/4.1.0
6+
github_file_prefix: https://github.com/svdo/swift-netutils/tree/4.2.1
77
module: NetUtils
8-
module_version: 4.2.0
8+
module_version: 4.2.1
99
readme: README.md
1010
copyright: Copyright © 2015 [Stefan van den Oord](https://github.com/svdo). All rights reserved

Diff for: CHANGELOG

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Version 4.2.1
2+
=============
3+
- Fixes runtime crash using `withMemoryRebound` and `sockaddr_storage` on iOS16 and macOS13
4+
(thanks to @palerikm and @dsmurfin)
5+
16
Version 4.2.0
27
=============
38
- Makes `Interface` `Identifiable` so that it's possible to iterate them

Diff for: NetUtils.podspec.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "NetUtils",
3-
"version": "4.2.0",
3+
"version": "4.2.1",
44
"summary": "Swift library that simplifies getting information about your network interfaces and their properties, both for iOS and OS X.",
55
"homepage": "https://github.com/svdo/swift-netutils",
66
"documentation_url": "http://svdo.github.io/swift-netutils",
@@ -9,7 +9,7 @@
99
},
1010
"source": {
1111
"git": "https://github.com/svdo/swift-netutils.git",
12-
"tag": "4.2.0"
12+
"tag": "4.2.1"
1313
},
1414
"authors": "Stefan van den Oord",
1515
"platforms": {

Diff for: NetUtils.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@
415415
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
416416
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
417417
MACOSX_DEPLOYMENT_TARGET = 10.14;
418-
MARKETING_VERSION = 4.2.0;
418+
MARKETING_VERSION = 4.2.1;
419419
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
420420
MTL_FAST_MATH = YES;
421421
PRODUCT_BUNDLE_IDENTIFIER = com.vandenoord.NetUtils;
@@ -451,7 +451,7 @@
451451
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
452452
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
453453
MACOSX_DEPLOYMENT_TARGET = 10.14;
454-
MARKETING_VERSION = 4.2.0;
454+
MARKETING_VERSION = 4.2.1;
455455
MTL_FAST_MATH = YES;
456456
PRODUCT_BUNDLE_IDENTIFIER = com.vandenoord.NetUtils;
457457
PRODUCT_NAME = NetUtils;
@@ -641,7 +641,7 @@
641641
INFOPLIST_FILE = NetUtils/Info.plist;
642642
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
643643
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
644-
MARKETING_VERSION = 4.2.0;
644+
MARKETING_VERSION = 4.2.1;
645645
PRODUCT_BUNDLE_IDENTIFIER = "com.vandenoord.$(PRODUCT_NAME:rfc1034identifier)";
646646
PRODUCT_NAME = "$(TARGET_NAME)";
647647
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -669,7 +669,7 @@
669669
INFOPLIST_FILE = NetUtils/Info.plist;
670670
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
671671
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
672-
MARKETING_VERSION = 4.2.0;
672+
MARKETING_VERSION = 4.2.1;
673673
PRODUCT_BUNDLE_IDENTIFIER = "com.vandenoord.$(PRODUCT_NAME:rfc1034identifier)";
674674
PRODUCT_NAME = "$(TARGET_NAME)";
675675
PROVISIONING_PROFILE_SPECIFIER = "";

Diff for: Tests/Linux/App/Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let package = Package(
88
dependencies: [
99
// Dependencies declare other packages that this package depends on.
1010
// .package(url: /* package url */, from: "1.0.0"),
11-
.package(url: "../../..", from: "4.2.0")
11+
.package(url: "../../..", from: "4.2.1")
1212
],
1313
targets: [
1414
// Targets are the basic building blocks of a package. A target can define a module or a test suite.

Diff for: docs/Classes.html

+8-9
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@
1717
<a title="Classes Reference"></a>
1818
<header>
1919
<div class="content-wrapper">
20-
<p><a href="index.html">NetUtils 4.2.0 Docs</a> (95% documented)</p>
21-
<p class="header-right"><a href="https://github.com/svdo/swift-netutils"><img src="img/gh.png"/>View on GitHub</a></p>
22-
<p class="header-right">
20+
<p><a href="index.html">NetUtils 4.2.1 Docs</a> (95% documented)</p>
21+
<p class="header-right"><a href="https://github.com/svdo/swift-netutils"><img src="img/gh.png" alt="GitHub"/>View on GitHub</a></p>
22+
<div class="header-right">
2323
<form role="search" action="search.json">
2424
<input type="text" placeholder="Search documentation" data-typeahead>
2525
</form>
26-
</p>
26+
</div>
2727
</div>
2828
</header>
2929
<div class="content-wrapper">
3030
<p id="breadcrumbs">
3131
<a href="index.html">NetUtils Reference</a>
32-
<img id="carat" src="img/carat.png" />
32+
<img id="carat" src="img/carat.png" alt=""/>
3333
Classes Reference
3434
</p>
3535
</div>
@@ -101,7 +101,7 @@ <h4>Declaration</h4>
101101
</div>
102102
</div>
103103
<div class="slightly-smaller">
104-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L34-L248">Show on GitHub</a>
104+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L34-L245">Show on GitHub</a>
105105
</div>
106106
</section>
107107
</div>
@@ -111,11 +111,10 @@ <h4>Declaration</h4>
111111
</section>
112112
</section>
113113
<section id="footer">
114-
<p>Copyright © 2015 <a class="link" href="https://github.com/svdo" target="_blank" rel="external">Stefan van den Oord</a>. All rights reserved</p>
115-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.5</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
114+
<p>Copyright © 2015 <a class="link" href="https://github.com/svdo" target="_blank" rel="external noopener">Stefan van den Oord</a>. All rights reserved</p>
115+
<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>
116116
</section>
117117
</article>
118118
</div>
119119
</body>
120-
</div>
121120
</html>

Diff for: docs/Classes/Interface.html

+25-26
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@
1717
<a title="Interface Class Reference"></a>
1818
<header>
1919
<div class="content-wrapper">
20-
<p><a href="../index.html">NetUtils 4.2.0 Docs</a> (95% documented)</p>
21-
<p class="header-right"><a href="https://github.com/svdo/swift-netutils"><img src="../img/gh.png"/>View on GitHub</a></p>
22-
<p class="header-right">
20+
<p><a href="../index.html">NetUtils 4.2.1 Docs</a> (95% documented)</p>
21+
<p class="header-right"><a href="https://github.com/svdo/swift-netutils"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
22+
<div class="header-right">
2323
<form role="search" action="../search.json">
2424
<input type="text" placeholder="Search documentation" data-typeahead>
2525
</form>
26-
</p>
26+
</div>
2727
</div>
2828
</header>
2929
<div class="content-wrapper">
3030
<p id="breadcrumbs">
3131
<a href="../index.html">NetUtils Reference</a>
32-
<img id="carat" src="../img/carat.png" />
32+
<img id="carat" src="../img/carat.png" alt=""/>
3333
Interface Class Reference
3434
</p>
3535
</div>
@@ -79,7 +79,7 @@ <h1>Interface</h1>
7979
</div>
8080

8181
<div class="slightly-smaller">
82-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L34-L248">Show on GitHub</a>
82+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L34-L245">Show on GitHub</a>
8383
</div>
8484
</section>
8585
<section class="section task-group-section">
@@ -110,7 +110,7 @@ <h4>Declaration</h4>
110110
</div>
111111
</div>
112112
<div class="slightly-smaller">
113-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L">Show on GitHub</a>
113+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L35">Show on GitHub</a>
114114
</div>
115115
</section>
116116
</div>
@@ -141,7 +141,7 @@ <h4>Declaration</h4>
141141
</div>
142142
</div>
143143
<div class="slightly-smaller">
144-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L37-L55">Show on GitHub</a>
144+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L37-L55">Show on GitHub</a>
145145
</div>
146146
</section>
147147
</div>
@@ -177,7 +177,7 @@ <h4>Return Value</h4>
177177
<p>An array containing all network interfaces in your system.</p>
178178
</div>
179179
<div class="slightly-smaller">
180-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L63-L80">Show on GitHub</a>
180+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L63-L80">Show on GitHub</a>
181181
</div>
182182
</section>
183183
</div>
@@ -211,7 +211,7 @@ <h4>Return Value</h4>
211211
<p>An instance of Interface that does <em>not</em> represent a real network interface.</p>
212212
</div>
213213
<div class="slightly-smaller">
214-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L86-L89">Show on GitHub</a>
214+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L86-L89">Show on GitHub</a>
215215
</div>
216216
</section>
217217
</div>
@@ -241,7 +241,7 @@ <h4>Declaration</h4>
241241
</div>
242242
</div>
243243
<div class="slightly-smaller">
244-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L94-L104">Show on GitHub</a>
244+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L94-L104">Show on GitHub</a>
245245
</div>
246246
</section>
247247
</div>
@@ -271,7 +271,7 @@ <h4>Declaration</h4>
271271
</div>
272272
</div>
273273
<div class="slightly-smaller">
274-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L183-L201">Show on GitHub</a>
274+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L180-L198">Show on GitHub</a>
275275
</div>
276276
</section>
277277
</div>
@@ -301,7 +301,7 @@ <h4>Declaration</h4>
301301
</div>
302302
</div>
303303
<div class="slightly-smaller">
304-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L204">Show on GitHub</a>
304+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L201">Show on GitHub</a>
305305
</div>
306306
</section>
307307
</div>
@@ -331,7 +331,7 @@ <h4>Declaration</h4>
331331
</div>
332332
</div>
333333
<div class="slightly-smaller">
334-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L207">Show on GitHub</a>
334+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L204">Show on GitHub</a>
335335
</div>
336336
</section>
337337
</div>
@@ -361,7 +361,7 @@ <h4>Declaration</h4>
361361
</div>
362362
</div>
363363
<div class="slightly-smaller">
364-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L210">Show on GitHub</a>
364+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L207">Show on GitHub</a>
365365
</div>
366366
</section>
367367
</div>
@@ -391,7 +391,7 @@ <h4>Declaration</h4>
391391
</div>
392392
</div>
393393
<div class="slightly-smaller">
394-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L213">Show on GitHub</a>
394+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L210">Show on GitHub</a>
395395
</div>
396396
</section>
397397
</div>
@@ -421,7 +421,7 @@ <h4>Declaration</h4>
421421
</div>
422422
</div>
423423
<div class="slightly-smaller">
424-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L216">Show on GitHub</a>
424+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L213">Show on GitHub</a>
425425
</div>
426426
</section>
427427
</div>
@@ -451,7 +451,7 @@ <h4>Declaration</h4>
451451
</div>
452452
</div>
453453
<div class="slightly-smaller">
454-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L219">Show on GitHub</a>
454+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L216">Show on GitHub</a>
455455
</div>
456456
</section>
457457
</div>
@@ -481,7 +481,7 @@ <h4>Declaration</h4>
481481
</div>
482482
</div>
483483
<div class="slightly-smaller">
484-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L222">Show on GitHub</a>
484+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L219">Show on GitHub</a>
485485
</div>
486486
</section>
487487
</div>
@@ -511,7 +511,7 @@ <h4>Declaration</h4>
511511
</div>
512512
</div>
513513
<div class="slightly-smaller">
514-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L225">Show on GitHub</a>
514+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L222">Show on GitHub</a>
515515
</div>
516516
</section>
517517
</div>
@@ -541,7 +541,7 @@ <h4>Declaration</h4>
541541
</div>
542542
</div>
543543
<div class="slightly-smaller">
544-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L228">Show on GitHub</a>
544+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L225">Show on GitHub</a>
545545
</div>
546546
</section>
547547
</div>
@@ -571,7 +571,7 @@ <h4>Declaration</h4>
571571
</div>
572572
</div>
573573
<div class="slightly-smaller">
574-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L236">Show on GitHub</a>
574+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L233">Show on GitHub</a>
575575
</div>
576576
</section>
577577
</div>
@@ -601,7 +601,7 @@ <h4>Declaration</h4>
601601
</div>
602602
</div>
603603
<div class="slightly-smaller">
604-
<a href="https://github.com/svdo/swift-netutils/tree/4.1.0/NetUtils/Interface.swift#L239-L247">Show on GitHub</a>
604+
<a href="https://github.com/svdo/swift-netutils/tree/4.2.1/NetUtils/Interface.swift#L236-L244">Show on GitHub</a>
605605
</div>
606606
</section>
607607
</div>
@@ -611,11 +611,10 @@ <h4>Declaration</h4>
611611
</section>
612612
</section>
613613
<section id="footer">
614-
<p>Copyright © 2015 <a class="link" href="https://github.com/svdo" target="_blank" rel="external">Stefan van den Oord</a>. All rights reserved</p>
615-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.5</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
614+
<p>Copyright © 2015 <a class="link" href="https://github.com/svdo" target="_blank" rel="external noopener">Stefan van den Oord</a>. All rights reserved</p>
615+
<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>
616616
</section>
617617
</article>
618618
</div>
619619
</body>
620-
</div>
621620
</html>

0 commit comments

Comments
 (0)