Skip to content

Commit e26723c

Browse files
committed
Releasing version 5.3.0.
1 parent 321258c commit e26723c

File tree

76 files changed

+544
-205
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+544
-205
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
33

44
# Next
55

6+
## [5.3.0](https://github.com/MLSDev/TRON/releases/tag/5.3.0)
7+
68
### Added
79

810
* Ability to modify `URLRequests` before it's adapted and sent:

Supporting files/Framework.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>5.2.0</string>
18+
<string>5.3.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

TRON.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'TRON'
3-
s.version = "5.2.0"
3+
s.version = "5.3.0"
44
s.license = 'MIT'
55
s.summary = 'Lightweight network abstraction layer, written on top of Alamofire'
66
s.homepage = 'https://github.com/MLSDev/TRON'

docs/Classes.html

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="index.html">
2424
TRON Docs
2525
</a>
26-
(89% documented)
26+
(88% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -293,6 +293,34 @@ <h4>Declaration</h4>
293293
</section>
294294
</div>
295295
</li>
296+
<li class="item">
297+
<div>
298+
<code>
299+
<a name="/s:4TRON16UploadAPIRequestC"></a>
300+
<a name="//apple_ref/swift/Class/UploadAPIRequest" class="dashAnchor"></a>
301+
<a class="token" href="#/s:4TRON16UploadAPIRequestC">UploadAPIRequest</a>
302+
</code>
303+
</div>
304+
<div class="height-container">
305+
<div class="pointer-container"></div>
306+
<section class="section">
307+
<div class="pointer"></div>
308+
<div class="abstract">
309+
<p><code>UploadAPIRequest</code> encapsulates upload request creation logic, stubbing options, and response/error parsing.</p>
310+
311+
<a href="Classes/UploadAPIRequest.html" class="slightly-smaller">See more</a>
312+
</div>
313+
<div class="declaration">
314+
<h4>Declaration</h4>
315+
<div class="language">
316+
<p class="aside-title">Swift</p>
317+
<pre class="highlight swift"><code><span class="kd">open</span> <span class="kd">class</span> <span class="kt">UploadAPIRequest</span><span class="o">&lt;</span><span class="kt">Model</span><span class="p">,</span> <span class="kt">ErrorModel</span><span class="o">&gt;</span> <span class="p">:</span> <span class="kt"><a href="Classes/BaseRequest.html">BaseRequest</a></span><span class="o">&lt;</span><span class="kt">Model</span><span class="p">,</span> <span class="kt">ErrorModel</span><span class="o">&gt;</span> <span class="k">where</span> <span class="kt">ErrorModel</span> <span class="p">:</span> <span class="kt"><a href="Protocols/ErrorSerializable.html">ErrorSerializable</a></span></code></pre>
318+
319+
</div>
320+
</div>
321+
</section>
322+
</div>
323+
</li>
296324
<li class="item">
297325
<div>
298326
<code>
@@ -491,34 +519,6 @@ <h4>Declaration</h4>
491519
</section>
492520
</div>
493521
</li>
494-
<li class="item">
495-
<div>
496-
<code>
497-
<a name="/s:4TRON16UploadAPIRequestC"></a>
498-
<a name="//apple_ref/swift/Class/UploadAPIRequest" class="dashAnchor"></a>
499-
<a class="token" href="#/s:4TRON16UploadAPIRequestC">UploadAPIRequest</a>
500-
</code>
501-
</div>
502-
<div class="height-container">
503-
<div class="pointer-container"></div>
504-
<section class="section">
505-
<div class="pointer"></div>
506-
<div class="abstract">
507-
<p><code>UploadAPIRequest</code> encapsulates upload request creation logic, stubbing options, and response/error parsing.</p>
508-
509-
<a href="Classes/UploadAPIRequest.html" class="slightly-smaller">See more</a>
510-
</div>
511-
<div class="declaration">
512-
<h4>Declaration</h4>
513-
<div class="language">
514-
<p class="aside-title">Swift</p>
515-
<pre class="highlight swift"><code><span class="kd">open</span> <span class="kd">class</span> <span class="kt">UploadAPIRequest</span><span class="o">&lt;</span><span class="kt">Model</span><span class="p">,</span> <span class="kt">ErrorModel</span><span class="o">&gt;</span> <span class="p">:</span> <span class="kt"><a href="Classes/BaseRequest.html">BaseRequest</a></span><span class="o">&lt;</span><span class="kt">Model</span><span class="p">,</span> <span class="kt">ErrorModel</span><span class="o">&gt;</span> <span class="k">where</span> <span class="kt">ErrorModel</span> <span class="p">:</span> <span class="kt"><a href="Protocols/ErrorSerializable.html">ErrorSerializable</a></span></code></pre>
516-
517-
</div>
518-
</div>
519-
</section>
520-
</div>
521-
</li>
522522
</ul>
523523
</div>
524524
</div>
@@ -527,7 +527,7 @@ <h4>Declaration</h4>
527527
</article>
528528
</div>
529529
<section class="footer">
530-
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-08-11)</p>
530+
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-10-22)</p>
531531
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
532532
</section>
533533
</body>

docs/Classes/APIError.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="../index.html">
2424
TRON Docs
2525
</a>
26-
(89% documented)
26+
(88% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -438,7 +438,7 @@ <h4>Declaration</h4>
438438
</article>
439439
</div>
440440
<section class="footer">
441-
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-08-11)</p>
441+
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-10-22)</p>
442442
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
443443
</section>
444444
</body>

docs/Classes/APIRequest.html

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="../index.html">
2424
TRON Docs
2525
</a>
26-
(89% documented)
26+
(88% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -402,6 +402,33 @@ <h4>Declaration</h4>
402402
</section>
403403
</div>
404404
</li>
405+
<li class="item">
406+
<div>
407+
<code>
408+
<a name="/s:4TRON10APIRequestC9publisher7Combine12AnyPublisherVyxq_GyF"></a>
409+
<a name="//apple_ref/swift/Method/publisher()" class="dashAnchor"></a>
410+
<a class="token" href="#/s:4TRON10APIRequestC9publisher7Combine12AnyPublisherVyxq_GyF">publisher()</a>
411+
</code>
412+
</div>
413+
<div class="height-container">
414+
<div class="pointer-container"></div>
415+
<section class="section">
416+
<div class="pointer"></div>
417+
<div class="abstract">
418+
<p>Undocumented</p>
419+
420+
</div>
421+
<div class="declaration">
422+
<h4>Declaration</h4>
423+
<div class="language">
424+
<p class="aside-title">Swift</p>
425+
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">publisher</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="kt">AnyPublisher</span><span class="o">&lt;</span><span class="kt">Model</span><span class="p">,</span> <span class="kt">ErrorModel</span><span class="o">&gt;</span></code></pre>
426+
427+
</div>
428+
</div>
429+
</section>
430+
</div>
431+
</li>
405432
</ul>
406433
</div>
407434
</div>
@@ -410,7 +437,7 @@ <h4>Declaration</h4>
410437
</article>
411438
</div>
412439
<section class="footer">
413-
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-08-11)</p>
440+
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-10-22)</p>
414441
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
415442
</section>
416443
</body>

docs/Classes/APIStub.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="../index.html">
2424
TRON Docs
2525
</a>
26-
(89% documented)
26+
(88% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -554,7 +554,7 @@ <h4>Parameters</h4>
554554
</article>
555555
</div>
556556
<section class="footer">
557-
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-08-11)</p>
557+
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-10-22)</p>
558558
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
559559
</section>
560560
</body>

docs/Classes/BaseRequest.html

Lines changed: 80 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="../index.html">
2424
TRON Docs
2525
</a>
26-
(89% documented)
26+
(88% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -450,7 +450,34 @@ <h4>Declaration</h4>
450450
<h4>Declaration</h4>
451451
<div class="language">
452452
<p class="aside-title">Swift</p>
453-
<pre class="highlight swift"><code><span class="kd">open</span> <span class="k">var</span> <span class="nv">interceptor</span><span class="p">:</span> <span class="kt">RequestInterceptor</span><span class="p">?</span></code></pre>
453+
<pre class="highlight swift"><code><span class="kd">open</span> <span class="k">var</span> <span class="nv">interceptor</span><span class="p">:</span> <span class="kt">RequestInterceptor</span></code></pre>
454+
455+
</div>
456+
</div>
457+
</section>
458+
</div>
459+
</li>
460+
<li class="item">
461+
<div>
462+
<code>
463+
<a name="/s:4TRON11BaseRequestC15requestModifierXevp"></a>
464+
<a name="//apple_ref/swift/Property/requestModifier" class="dashAnchor"></a>
465+
<a class="token" href="#/s:4TRON11BaseRequestC15requestModifierXevp">requestModifier</a>
466+
</code>
467+
</div>
468+
<div class="height-container">
469+
<div class="pointer-container"></div>
470+
<section class="section">
471+
<div class="pointer"></div>
472+
<div class="abstract">
473+
<p>Closure which provides a <code>URLRequest</code> for mutation.</p>
474+
475+
</div>
476+
<div class="declaration">
477+
<h4>Declaration</h4>
478+
<div class="language">
479+
<p class="aside-title">Swift</p>
480+
<pre class="highlight swift"><code><span class="kd">open</span> <span class="k">var</span> <span class="nv">requestModifier</span><span class="p">:</span> <span class="kt">Session</span><span class="o">.</span><span class="kt">RequestModifier</span></code></pre>
454481

455482
</div>
456483
</div>
@@ -1117,6 +1144,56 @@ <h4>Return Value</h4>
11171144
</section>
11181145
</div>
11191146
</li>
1147+
<li class="item">
1148+
<div>
1149+
<code>
1150+
<a name="/s:4TRON11BaseRequestC06modifyC0yXeXeF"></a>
1151+
<a name="//apple_ref/swift/Method/modifyRequest(_:)" class="dashAnchor"></a>
1152+
<a class="token" href="#/s:4TRON11BaseRequestC06modifyC0yXeXeF">modifyRequest(_:)</a>
1153+
</code>
1154+
</div>
1155+
<div class="height-container">
1156+
<div class="pointer-container"></div>
1157+
<section class="section">
1158+
<div class="pointer"></div>
1159+
<div class="abstract">
1160+
<p>Sets per-request modifier to configure URLRequest, that will be created.</p>
1161+
1162+
</div>
1163+
<div class="declaration">
1164+
<h4>Declaration</h4>
1165+
<div class="language">
1166+
<p class="aside-title">Swift</p>
1167+
<pre class="highlight swift"><code><span class="kd">open</span> <span class="kd">func</span> <span class="nf">modifyRequest</span><span class="p">(</span><span class="n">_</span> <span class="nv">closure</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="kt">Session</span><span class="o">.</span><span class="kt">RequestModifier</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="k">Self</span></code></pre>
1168+
1169+
</div>
1170+
</div>
1171+
<div>
1172+
<h4>Parameters</h4>
1173+
<table class="graybox">
1174+
<tbody>
1175+
<tr>
1176+
<td>
1177+
<code>
1178+
<em>closure</em>
1179+
</code>
1180+
</td>
1181+
<td>
1182+
<div>
1183+
<p>request modifier closure</p>
1184+
</div>
1185+
</td>
1186+
</tr>
1187+
</tbody>
1188+
</table>
1189+
</div>
1190+
<div>
1191+
<h4>Return Value</h4>
1192+
<p>configured request</p>
1193+
</div>
1194+
</section>
1195+
</div>
1196+
</li>
11201197
<li class="item">
11211198
<div>
11221199
<code>
@@ -1386,7 +1463,7 @@ <h4>Return Value</h4>
13861463
</article>
13871464
</div>
13881465
<section class="footer">
1389-
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-08-11)</p>
1466+
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-10-22)</p>
13901467
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
13911468
</section>
13921469
</body>

docs/Classes/CodableParser.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="../index.html">
2424
TRON Docs
2525
</a>
26-
(89% documented)
26+
(88% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -276,7 +276,7 @@ <h4>Declaration</h4>
276276
</article>
277277
</div>
278278
<section class="footer">
279-
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-08-11)</p>
279+
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-10-22)</p>
280280
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
281281
</section>
282282
</body>

docs/Classes/CodableSerializer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="../index.html">
2424
TRON Docs
2525
</a>
26-
(89% documented)
26+
(88% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -550,7 +550,7 @@ <h4>Return Value</h4>
550550
</article>
551551
</div>
552552
<section class="footer">
553-
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-08-11)</p>
553+
<p>&copy; 2020 <a class="link" href="https://github.com/DenTelezhkin" target="_blank" rel="external">Denys Telezhkin</a>. All rights reserved. (Last updated: 2020-10-22)</p>
554554
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
555555
</section>
556556
</body>

0 commit comments

Comments
 (0)