Skip to content

Commit

Permalink
Merge "Prepare release-1.2 branch for release" into release-1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mastersingh24 authored and Gerrit Code Review committed Jul 3, 2018
2 parents 00c8764 + ba41d5f commit cae2ad4
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 1 deletion.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## v1.2.0
Tue Jul 3 06:33:45 EDT 2018

* [7803660fc](https://github.com/hyperledger/fabric/commit/7803660fc) Prepare release-1.2 branch for release
* [c8e992a50](https://github.com/hyperledger/fabric/commit/c8e992a50) [FAB-10960](https://jira.hyperledger.org/browse/FAB-10960) Clarify doc for private data limitations
* [79e15a055](https://github.com/hyperledger/fabric/commit/79e15a055) [FAB-10933](https://jira.hyperledger.org/browse/FAB-10933) Update Baseimage version 0.4.10
* [891e96593](https://github.com/hyperledger/fabric/commit/891e96593) [FAB-10747](https://jira.hyperledger.org/browse/FAB-10747) Fix endorsedAt block in transientstore
* [ef12bf641](https://github.com/hyperledger/fabric/commit/ef12bf641) [FAB-10888](https://jira.hyperledger.org/browse/FAB-10888) Turn skipped pvt due BTL log to WARN
* [11bba2158](https://github.com/hyperledger/fabric/commit/11bba2158) [FAB-10617](https://jira.hyperledger.org/browse/FAB-10617) Add writeset validation check during commit
* [1b9581a38](https://github.com/hyperledger/fabric/commit/1b9581a38) [FAB-10854](https://jira.hyperledger.org/browse/FAB-10854) Update bootstrap script
* [7d12c1fa0](https://github.com/hyperledger/fabric/commit/7d12c1fa0) [FAB-10847](https://jira.hyperledger.org/browse/FAB-10847) Update peer channel docs
* [24e84744c](https://github.com/hyperledger/fabric/commit/24e84744c) [FAB-10836](https://jira.hyperledger.org/browse/FAB-10836) Fix releases in README
* [82a6056bf](https://github.com/hyperledger/fabric/commit/82a6056bf) [FAB-10788](https://jira.hyperledger.org/browse/FAB-10788) Fix range query info in simulation results
* [61a129021](https://github.com/hyperledger/fabric/commit/61a129021) [FAB-10843](https://jira.hyperledger.org/browse/FAB-10843) Properly detect validation execution errors
* [2f3512167](https://github.com/hyperledger/fabric/commit/2f3512167) [FAB-10837](https://jira.hyperledger.org/browse/FAB-10837) Fix links on releases
* [4c9a8e17c](https://github.com/hyperledger/fabric/commit/4c9a8e17c) [FAB-10818](https://jira.hyperledger.org/browse/FAB-10818) Minor edit to Intro
* [d789a2596](https://github.com/hyperledger/fabric/commit/d789a2596) [FAB-10815](https://jira.hyperledger.org/browse/FAB-10815) remove javaenv from get-images.sh
* [2f8d10a06](https://github.com/hyperledger/fabric/commit/2f8d10a06) [FAB-10751](https://jira.hyperledger.org/browse/FAB-10751) prepare for next release

## v1.2.0-rc1
Thu Jun 21 17:17:37 EDT 2018

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ PROJECT_NAME = $(PROJECT_NAME)/fabric
else
PROJECT_NAME = hyperledger/fabric
endif
EXPERIMENTAL ?= true
EXPERIMENTAL ?= false

BUILD_DIR ?= .build

Expand Down
1 change: 1 addition & 0 deletions orderer/common/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"net"
"net/http"
_ "net/http/pprof" // This is essentially the main package for the orderer

"os"
"time"

Expand Down
99 changes: 99 additions & 0 deletions release_notes/v1.2.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
v1.2.0 Release Notes - July 3, 2018
----------------------------------------

What's New in v1.2
------------------

The following features/epics are included in this release:

FAB-8718 - Channel Private Data
Keep chaincode data confidential among a subset of channel members.

FAB-8727 - Access control for peer functions
Configure which client identities can interact with peer functions, per channel.

FAB-8729 - Pluggable endorsement and validation
Utilize pluggable endorsement and validation logic per chaincode.

FAB-8779 - Service Discovery
Discover network services dynamically, including orderers, peers, chaincode,
and endorsement policies, to simplify client applications.

Hygiene and Technical debt
Ginkgo-based integration tests have been added, and component code has been
refactored for improved readability and maintainability.


Changes, Known Issues, and Workarounds
--------------------------------------

FAB-10151 - configtx.yaml samples fixed

Previous releases included example input files for configtxgen (configtx.yaml)
that contained invalid YAML which referenced YAML anchors before they were
defined. It was not a problem in prior releases since the golang YAML parser
tolerated references before definitions.
The configtx.yaml samples are corrected in version v1.2. Users are advised
to evaluate their configtxgen input documents for places where YAML anchors
are referenced before they are defined. Either reorder nodes to ensure
anchors are defined before they are referenced, or re-create YAML documents
using the updated configtx.yaml sample documents as a starting point.
Refer to https://jira.hyperledger.org/browse/FAB-10151 for more details.


FAB-8557 - Transaction index and query behavior changed

There is a change to how some of the indexes maintained by ledger are updated.
Specifically, this includes indexes that maintain information by txid. In the rare
scenario when two transactions were submitted with the same transaction ids,
in the previous releases, the last transaction would be indexed. Only the first
instance of a transaction can be valid, therefore it was possible for an invalid
transaction to overwrite the status of a valid transaction, and therefore APIs
such as 'GetTransactionByID' and 'GetBlockByTxID' may return the latter invalid
transaction. In these cases the ledger remained correct, however transaction
queries may have returned unexpected results.
In this release, the behavior is changed so that the first transaction (the only
instance that can be valid) will not be overwritten in the index.
In the rare scenario where this problem has occurred on a channel, the peer's
transaction index can be rebuilt after upgrading to version v1.2, by stopping the
peer, deleting the <CORE_PEER_FILESYSTEMPATH>/ledgersData/chains/index directory,
and restarting the peer. The peer will automatically rebuild its indexes
using the new behavior.
Refer to https://jira.hyperledger.org/browse/FAB-8557 for more details.


FAB-8877 - Reserved field validation for CouchDB state database

Prior releases did not validate chaincode data against all state database
content restrictions. Specifically, version v1.2 adds validation during
chaincode execution to ensure that keys that will be written to CouchDB
state database are UTF8 complaint, do not start with an underscore, and
that there are no top-level JSON fields named '~version' or that start with
underscores, as these fields are reserved for use by CouchDB (and Fabric).
If these conditions are found during chaincode execution, an error will
be returned to the client in the proposal response.
For the same reason, all peers on a channel must utilize the same state
database type, and it is not possible to convert a channel's peers from
using LevelDB state database to CouchDB state database, unless the
chaincode performs the same validations.
Refer to https://jira.hyperledger.org/browse/FAB-8877 for more details.


Known Vulnerabilities
---------------------
FAB-8664 - Peer does not detect his own org ejection
This is a relatively low severity problem, because it requires a significant
conspiracy of network admins, but it will be addressed in an upcoming release.


Resolved Vulnerabilities
------------------------
FAB-10537 - Reject CONFIG/ORDERER_TRANSACTION messages
Ensures that clients cannot submit transactions intended to be generated
from orderer nodes.


Other improvements and fixes
----------------------------
For the full list of improvements and fixes, refer to the release change log:
https://github.com/hyperledger/fabric/blob/master/CHANGELOG.md#v120

0 comments on commit cae2ad4

Please sign in to comment.