Skip to content

Commit 0c7f27e

Browse files
committed
update changelog and podspec
1 parent 67abf12 commit 0c7f27e

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

CHANGELOG.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,30 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4-
## Develop
4+
## [1.0.0-beta.1](https://github.com/MLSDev/TRON/releases/tag/1.0.0-beta.1)
55

66
TRON 1.0 is a major release with a lot of new features and breaking changes. To find out more about philosophy of those and how to adapt to new API's, read [TRON 1.0 Migration Guide](/Docs/1.0 Migration Guide.md)
77

88
### Breaking changes
99

10+
* `RequestToken` protocol removed, perform request methods now return `Alamofire.Request?` to allow customization. When request is stubbed, nil is returned.
1011
* `tron.multipartRequest(path:)` removed, use `tron.uploadMultipart(path:formData:)` method instead
11-
* `MultipartAPIRequest` `performWithSuccess(_:failure:progress:cancellableCallback:)` method is replaced by `APIRequest` `performMultipart(success:failure:encodingMemoryThreshold:encodingCompletion:)` method
12+
* `MultipartAPIRequest` `performWithSuccess(_:failure:progress:cancellableCallback:)` method is replaced by `performMultipart(success:failure:encodingMemoryThreshold:encodingCompletion:)`
1213
* `MultipartAPIRequest` no longer subclasses `APIRequest` - they both now subclass `BaseRequest`.
1314
* `appendMultipartData(_:name:filename:mimeType:)` on `MultipartAPIRequest` is removed. Please use `Alamofire.Manager.MultipartFormData` built-in methods to append multipart data
14-
* RxSwift extension on `MultipartAPIRequest` reworked to return single Observable<Model.ModelType>
15+
* RxSwift extension on `MultipartAPIRequest` reworked to return single Observable<ModelType>
1516
* `EventDispatcher` class and corresponding `TRON.dispatcher`, `APIRequest.dispatcher` property are replaced by `TRON` and `APIRequest` properties - `processingQueue` and `resultDeliveryQueue`, which are used to determine on which queue should processing be performed and on which queue results should be delivered.
1617
* `Progress` and `ProgressClosure` typealiases have been removed
1718

1819
### Added
1920

20-
Several methods on `TRON`, that allow uploads and downloads
21-
2221
* `upload(path:file:)` - upload from file
2322
* `upload(path:data:)` - upload data
2423
* `upload(path:stream:)` - upload from stream
2524
* `download(path:destination:)` - download file to destination
2625
* `download(path:destination:resumingFromData:)` - download file to destination, resuming from data
2726
* `uploadMultipart(path:formData:)` - multipart form data upload
28-
29-
Added new `perform(completion:)` method, that accepts `Alamofire.Response` -> Void block.
30-
31-
### Changed
32-
33-
* `RequestToken` protocol removed, perform request methods now return `Alamofire.Request?` to allow customization. When request is stubbed, nil is returned.
27+
* `perform(completion:)` method, that accepts `Alamofire.Response` -> Void block.
3428

3529
### Deprecations
3630

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 = '0.4.3'
3+
s.version = '1.0.0-beta.1'
44
s.license = 'MIT'
55
s.summary = 'Lightweight network abstraction layer, written on top of Alamofire'
66
s.homepage = 'https://github.com/MLSDev/TRON'

0 commit comments

Comments
 (0)