Skip to content

Commit

Permalink
Preparing 1.0.4 and edge-0.3.0 release
Browse files Browse the repository at this point in the history
Major promises update
  • Loading branch information
pitr-ch committed Dec 27, 2016
1 parent 959e764 commit be39a0a
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 18 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ cache: bundler

rvm:
# start with the latest
- 2.3.1
- 2.4.0
- jruby-9.1.5.0

# older versions
- 2.3.3
- 2.2
- 2.1
- 2.0
Expand Down
1 change: 1 addition & 0 deletions .yardopts
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ doc/thread_pools.md
doc/promises.out.md
README.md
LICENSE.txt
CHANGELOG.md
36 changes: 24 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
## Current Release v1.0.3 (17 Dec 2016)
## Current Release v1.0.4 (27 Dec 2016)

concurrent-ruby:

* Nothing

concurrent-ruby-edge:

* New promises' API renamed, lots of improvements, edge bumped to 0.3.0
* **Incompatible** with previous 0.2.3 version
* see https://github.com/ruby-concurrency/concurrent-ruby/pull/522

## Release v1.0.3 (17 Dec 2016)

* Trigger execution of flattened delayed futures
* Avoid forking for processor_count if possible
Expand All @@ -21,7 +33,7 @@
* Improved documentation and examples
* Minor updates to Edge

### Release v1.0.1 (27 February 2016)
## Release v1.0.1 (27 February 2016)

* Fix "uninitialized constant Concurrent::ReentrantReadWriteLock" error.
* Better handling of `autoload` vs. `require`.
Expand All @@ -34,7 +46,7 @@
* Improved documentation.
* Updated README and CONTRIBUTING.

### Release v1.0.0 (13 November 2015)
## Release v1.0.0 (13 November 2015)

* Rename `attr_volatile_with_cas` to `attr_atomic`
* Add `clear_each` to `LockFreeStack`
Expand Down Expand Up @@ -82,7 +94,7 @@
* Many improved tests
* Some internal reorganization

### Release v0.9.1 (09 August 2015)
## Release v0.9.1 (09 August 2015)

* Fixed a Rubiniux bug in synchronization object
* Fixed all interpreter warnings (except circular references)
Expand All @@ -96,7 +108,7 @@
* `ThreadLocalVar#bind` method is now public
* Refactored many tests

### Release v0.9.0 (10 July 2015)
## Release v0.9.0 (10 July 2015)

* Updated `AtomicReference`
- `AtomicReference#try_update` now simply returns instead of raising exception
Expand Down Expand Up @@ -195,14 +207,14 @@
* Removed brute-force killing of threads in tests
* Fixed a thread pool bug when the operating system cannot allocate more threads

### Release v0.8.0 (25 January 2015)
## Release v0.8.0 (25 January 2015)

* C extension for MRI have been extracted into the `concurrent-ruby-ext` companion gem.
Please see the README for more detail.
* Better variable isolation in `Promise` and `Future` via an `:args` option
* Continued to update intermittently failing tests

### Release v0.7.2 (24 January 2015)
## Release v0.7.2 (24 January 2015)

* New `Semaphore` class based on [java.util.concurrent.Semaphore](http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Semaphore.html)
* New `Promise.all?` and `Promise.any?` class methods
Expand All @@ -219,7 +231,7 @@
* Tests now run on new Travis build environment
* Multiple documentation updates

### Release v0.7.1 (4 December 2014)
## Release v0.7.1 (4 December 2014)

Please see the [roadmap](https://github.com/ruby-concurrency/concurrent-ruby/issues/142) for more information on the next planned release.

Expand All @@ -240,7 +252,7 @@ Please see the [roadmap](https://github.com/ruby-concurrency/concurrent-ruby/iss
* Removed confusing warning when not using native extenstions
* Improved documentation

### Release v0.7.0 (13 August 2014)
## Release v0.7.0 (13 August 2014)

* Merge the [atomic](https://github.com/ruby-concurrency/atomic) gem
- Pure Ruby `MutexAtomic` atomic reference class
Expand Down Expand Up @@ -273,14 +285,14 @@ Please see the [roadmap](https://github.com/ruby-concurrency/concurrent-ruby/iss
* Removed deprecated `Actor` class
* Better support for Rubinius

### Release v0.6.1 (14 June 2014)
## Release v0.6.1 (14 June 2014)

* Many improvements to `Concurrent::Actress`
* Bug fixes to `Concurrent::RubyThreadPoolExecutor`
* Fixed several brittle tests
* Moved documentation to http://ruby-concurrency.github.io/concurrent-ruby/frames.html

### Release v0.6.0 (25 May 2014)
## Release v0.6.0 (25 May 2014)

* Added `Concurrent::Observable` to encapsulate our thread safe observer sets
* Improvements to new `Channel`
Expand Down Expand Up @@ -319,7 +331,7 @@ Please see the [roadmap](https://github.com/ruby-concurrency/concurrent-ruby/iss
* First implementation of [new, high-performance](https://github.com/ruby-concurrency/concurrent-ruby/pull/49) `Channel`
* `Actor` is deprecated in favor of new experimental actor implementation [#73](https://github.com/ruby-concurrency/concurrent-ruby/pull/73). To avoid namespace collision it is living in `Actress` namespace until `Actor` is removed in next release.

### Release v0.5.0
## Release v0.5.0

This is the most significant release of this gem since its inception. This release includes many improvements and optimizations. It also includes several bug fixes. The major areas of focus for this release were:

Expand Down
1 change: 1 addition & 0 deletions lib/concurrent/atom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
# *coordinated*, *synchronous*, change of *many* stated. Used when multiple
# value must change together, in an all-or-nothing transaction.


module Concurrent

# Atoms provide a way to manage shared, synchronous, independent state.
Expand Down
1 change: 1 addition & 0 deletions lib/concurrent/edge/promises.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1935,6 +1935,7 @@ def initialize(default_executor, intended_time)
# TODO (pitr-ch 18-Dec-2016): doc macro debug method
# TODO (pitr-ch 18-Dec-2016): add macro noting that debug methods may change api without warning


module Concurrent
module Promises

Expand Down
4 changes: 2 additions & 2 deletions lib/concurrent/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Concurrent
VERSION = '1.0.3'
EDGE_VERSION = '0.2.3'
VERSION = '1.0.4'
EDGE_VERSION = '0.3.0'
end
8 changes: 5 additions & 3 deletions support/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ then
fi


version=$(ruby -r concurrent/version -e 'puts Concurrent::VERSION')
edge_version=$(ruby -r concurrent/version -e 'puts Concurrent::EDGE_VERSION')
version=$(ruby -r ./lib/concurrent/version -e 'puts Concurrent::VERSION')
edge_version=$(ruby -r ./lib/concurrent/version -e 'puts Concurrent::EDGE_VERSION')
(echo ${version} | grep pre) && prerelease='true' || prerelease='false'

echo "concurrent-ruby: $version"
Expand All @@ -20,7 +20,7 @@ echo "prerelease: $prerelease"
set -x

mriVersion="2.3.1"
jrubyVersion="jruby-9.1.5.0"
jrubyVersion="jruby-9.1.6.0"

if [[ "$@" =~ 'build' || $@ =~ 'all' ]]
then
Expand Down Expand Up @@ -113,6 +113,8 @@ then
gem push pkg/concurrent-ruby-ext-${version}-x86-mingw32.gem

# TODO (pitr-ch 17-Dec-2016): send email

# TODO (pitr-ch 17-Dec-2016): update documentation
fi


Expand Down

0 comments on commit be39a0a

Please sign in to comment.