Skip to content

Commit

Permalink
pre release for 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NianJi committed Apr 26, 2019
1 parent efd6efa commit d3331df
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 8 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions cocore.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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'

Expand Down
6 changes: 3 additions & 3 deletions coobjc.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
6 changes: 3 additions & 3 deletions coswift.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit d3331df

Please sign in to comment.