From ccd0f4c8e85c32e096bd17eeba5bd27912575707 Mon Sep 17 00:00:00 2001 From: ThibaultBee Date: Thu, 25 Apr 2024 13:17:15 +0000 Subject: [PATCH] chore(config): bump java and swift clients/uploaders version --- ApiVideoUploader.podspec | 4 ++-- CHANGELOG.md | 3 +++ README.md | 4 ++-- Sources/APIs.swift | 2 +- project.yml | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ApiVideoUploader.podspec b/ApiVideoUploader.podspec index aab0b94..64a0a6d 100644 --- a/ApiVideoUploader.podspec +++ b/ApiVideoUploader.podspec @@ -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' diff --git a/CHANGELOG.md b/CHANGELOG.md index 4adf2e5..08d2140 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 9ca5886..8389bac 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/Sources/APIs.swift b/Sources/APIs.swift index 5ba2602..d4b8e9f 100644 --- a/Sources/APIs.swift +++ b/Sources/APIs.swift @@ -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() diff --git a/project.yml b/project.yml index 7000872..263c15e 100644 --- a/project.yml +++ b/project.yml @@ -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: {}