Permalink
Browse files

Preparing 1.0.4 and edge-0.3.0 release

Major promises update
  • Loading branch information...
1 parent 959e764 commit be39a0a79c8b2750ce4c157d91bafdd11d12d44f @pitr-ch pitr-ch committed Dec 27, 2016
Showing with 36 additions and 18 deletions.
  1. +2 −1 .travis.yml
  2. +1 −0 .yardopts
  3. +24 −12 CHANGELOG.md
  4. +1 −0 lib/concurrent/atom.rb
  5. +1 −0 lib/concurrent/edge/promises.rb
  6. +2 −2 lib/concurrent/version.rb
  7. +5 −3 support/release.sh
View
@@ -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
View
@@ -14,3 +14,4 @@ doc/thread_pools.md
doc/promises.out.md
README.md
LICENSE.txt
+CHANGELOG.md
View
@@ -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
@@ -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`.
@@ -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`
@@ -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)
@@ -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
@@ -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
@@ -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.
@@ -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
@@ -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`
@@ -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:
@@ -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.
@@ -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
@@ -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
View
@@ -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"
@@ -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
@@ -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

0 comments on commit be39a0a

Please sign in to comment.