From d3331dfa97b6adb71542dd3d0d415ee7d20d1626 Mon Sep 17 00:00:00 2001 From: NianJi <765409243@qq.com> Date: Fri, 26 Apr 2019 15:10:23 +0800 Subject: [PATCH] pre release for 1.2.0 --- CHANGELOG.md | 19 +++++++++++++++++++ cocore.podspec | 4 ++-- coobjc.podspec | 6 +++--- coswift.podspec | 6 +++--- 4 files changed, 27 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1aeedbb..5428157 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 1.2.0 - 2019-04-26 + +### Added + +- `-[COChan receiveAll]` +- `-[COChan receiveWithCount:]` + +### Fixed + +- Fix Channel may wrong when send fail + +### Changed + +- Add CODispatch.m to manager dispatch_queue or thread +- Use channel to implement COProgressPromise +- Remove COChan's `cancel` and `onCancel:` api. +- Add COChan's `cancelForCoroutine:`, `receiveWithOnCancel:`, `send:onCancel` +- `batch_await` use subroutines. + ## 1.1.3 - 2019-03-22 ### Added diff --git a/cocore.podspec b/cocore.podspec index e53a1b4..8073895 100644 --- a/cocore.podspec +++ b/cocore.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "cocore" - s.version = "1.1.3" + s.version = "1.2.0" s.summary = "coobjc's core implement" s.description = <<-DESC @@ -20,7 +20,7 @@ Pod::Spec.new do |s| s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.12' - s.source = { :git => "https://github.com/alibaba/coobjc.git", :tag => '1.1.3' } + s.source = { :git => "https://github.com/alibaba/coobjc.git", :tag => '1.2.0' } s.source_files = 'cocore/*.{h,m,s,c,mm}' s.requires_arc = 'cocore/*.m' diff --git a/coobjc.podspec b/coobjc.podspec index 104d554..968dae9 100644 --- a/coobjc.podspec +++ b/coobjc.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "coobjc" - s.version = "1.1.3" + s.version = "1.2.0" s.summary = "A coroutine framework for Objective-C" s.description = <<-DESC @@ -20,9 +20,9 @@ Pod::Spec.new do |s| s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.12' - s.source = { :git => "https://github.com/alibaba/coobjc.git", :tag => '1.1.3' } + s.source = { :git => "https://github.com/alibaba/coobjc.git", :tag => '1.2.0' } s.source_files = 'coobjc/**/*.{h,m}' s.requires_arc = ['coobjc/co/*.m', 'coobjc/generator/*.m', 'coobjc/actor/*.m', 'coobjc/promise/*.m'] - s.dependency 'cocore', '~> 1.1.3' + s.dependency 'cocore', '~> 1.2.0' end diff --git a/coswift.podspec b/coswift.podspec index 345cd9a..372de4b 100644 --- a/coswift.podspec +++ b/coswift.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "coswift" - s.version = "1.1.3" + s.version = "1.2.0" s.summary = "A coroutine framework for swift." s.description = <<-DESC @@ -21,10 +21,10 @@ Pod::Spec.new do |s| s.osx.deployment_target = '10.12' s.requires_arc = true - s.source = { :git => "https://github.com/alibaba/coobjc.git", :tag => '1.1.3' } + s.source = { :git => "https://github.com/alibaba/coobjc.git", :tag => '1.2.0' } s.source_files = 'coswift/*.{h,swift}' s.swift_version = '4.2' - s.dependency 'cocore', '~> 1.1.3' + s.dependency 'cocore', '~> 1.2.0' end