Skip to content

Commit

Permalink
Merge pull request #90 from apivideo/chore/java_swift_android_rate_li…
Browse files Browse the repository at this point in the history
…miting_release

chore(config): bump java and swift clients/uploaders version
  • Loading branch information
bot-api-video authored Apr 25, 2024
2 parents 020d190 + ccd0f4c commit 7b8ccdf
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ApiVideoUploader.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = '10.0'
# Add back when CocoaPods/CocoaPods#11558 is released
#s.watchos.deployment_target = '3.0'
s.version = '1.2.2'
s.source = { :git => 'https://github.com/apivideo/api.video-swift-uploader', :tag => 'v1.2.2' }
s.version = '1.2.3'
s.source = { :git => 'https://github.com/apivideo/api.video-swift-uploader', :tag => 'v1.2.3' }
s.authors = { 'Ecosystem Team' => 'ecosystem@api.video' }
s.license = { :type => 'MIT' }
s.homepage = 'https://docs.api.video'
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
All changes to this project will be documented in this file.

## [1.2.3] - 2024-04-25
- Add API to get rate limiting headers

## [1.2.2] - 2023-08-25
- Fix progressive upload with upload token and video id

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ It allows you to upload videos in two ways:
Specify it in your `Cartfile`:

```
github "apivideo/api.video-swift-uploader" ~> 1.2.2
github "apivideo/api.video-swift-uploader" ~> 1.2.3
```

Run `carthage update`

#### CocoaPods

Add `pod 'ApiVideoUploader', '1.2.2'` in your `Podfile`
Add `pod 'ApiVideoUploader', '1.2.3'` in your `Podfile`

Run `pod install`

Expand Down
2 changes: 1 addition & 1 deletion Sources/APIs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Foundation
public class ApiVideoUploader {
public static var apiKey: String? = nil
public static var basePath = "https://ws.api.video"
internal static var customHeaders:[String: String] = ["AV-Origin-Client": "swift-uploader:1.2.2"]
internal static var customHeaders:[String: String] = ["AV-Origin-Client": "swift-uploader:1.2.3"]
private static var chunkSize: Int = 50 * 1024 * 1024
internal static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory()
internal static var credential = ApiVideoCredential()
Expand Down
2 changes: 1 addition & 1 deletion project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ targets:
sources: [Sources]
info:
path: ./Info.plist
version: 1.2.2
version: 1.2.3
settings:
APPLICATION_EXTENSION_API_ONLY: true
scheme: {}
Expand Down

0 comments on commit 7b8ccdf

Please sign in to comment.