Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2141 from Artemkaaas/bugfix/pending-messages
Browse files Browse the repository at this point in the history
Indy 1.15.0
  • Loading branch information
Artemkaaas authored Mar 24, 2020
2 parents 5907e69 + acd2d70 commit f85afd2
Show file tree
Hide file tree
Showing 45 changed files with 276 additions and 159 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Changelog

## 1.14.4 - 2020-03-10
## 1.15.0 - 2020-03-25
* Correction for `Fix proof verification in case of credential attribute encoded value contains leading zeros` (IS-1491).
Indy 1.14.3 changes "0" to "" which leads to proof rejection.
* LibVCX: Fixed compatibility between proprietary (`protocol_version`: `2.0`) and aries communication protocols (`protocol_version`: `3.0`).

* LibVCX: Supported `protocol_version`: `3.0` which actually is an alternative to combination of settings: `protocol_version`: `2.0` and `communication_method`: `aries`.
* LibVCX: Fixed compatibility between proprietary (`protocol_version`: `2.0`/`1.0`) and aries communication protocols (`protocol_version`: `3.0`).
* Bugfixes

## 1.14.3 - 2020-03-04
* LibVCX:
* Removed `connection_handle` from functions to get protocol messages.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ The documents that provide necessary information for Libindy migrations.
* [v1.11.0 → v1.12.x](docs/migration-guides/migration-guide-1.11.0-1.12.0.md)
* [v1.12.0 → v1.13.x](docs/migration-guides/migration-guide-1.12.0-1.13.0.md)
* [v1.13.0 → v1.14.x](docs/migration-guides/migration-guide-1.13.0-1.14.0.md)
* [v1.14.0 → v1.15.x](docs/migration-guides/migration-guide-1.14.0-1.15.0.md)

## How to Contribute
* We'd love your help; see these [HL Indy Wiki](https://wiki.hyperledger.org/display/indy/How+to+Contribute) and [slides on how to contribute](http://bit.ly/2ugd0bq).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "libindy",
"version": "1.14.4",
"version": "1.15.0",
"summary": "Summary TODO.",
"description": "Description TODO.",
"homepage": "TODO",
Expand All @@ -15,7 +15,7 @@
"ios": "10.0"
},
"source": {
"http": "https://repo.sovrin.org/ios/libindy/stable/libindy-core/1.14.4/libindy.tar.gz"
"http": "https://repo.sovrin.org/ios/libindy/stable/libindy-core/1.15.0/libindy.tar.gz"
},
"source_files": "*.h",
"vendored_libraries": "*.a",
Expand Down
10 changes: 5 additions & 5 deletions cli/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "indy-cli"
version = "1.14.4"
version = "1.15.0"
authors = ["Hyperledger Indy Contributors <[email protected]>"]
license = "MIT/Apache-2.0"
description = """\
Expand Down Expand Up @@ -34,10 +34,10 @@ serde_json = "1.0.40"
serde_derive = "1.0.97"
term = "0.4.6"
rpassword = "1.0.0"
indy = { version = "1.14.4", path = "../wrappers/rust/" }
indy = { version = "1.15.0", path = "../wrappers/rust/" }

[package.metadata.deb]
depends = "libindy (= 1.14.4), libncursesw5-dev"
depends = "libindy (= 1.15.0), libncursesw5-dev"
section = "devel"
priority = "optional"
assets = [
Expand All @@ -48,8 +48,8 @@ changelog = "./debian/changelog"

[package.metadata.deb.variants.indy-cli-xenial]
name = "indy-cli"
provides = "indy-cli (= 1.14.4)"
provides = "indy-cli (= 1.15.0)"

[package.metadata.deb.variants.indy-cli-bionic]
name = "indy-cli"
provides = "indy-cli (= 1.14.4)"
provides = "indy-cli (= 1.15.0)"
4 changes: 2 additions & 2 deletions cli/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
indy-cli (1.14.4) unstable; urgency=medium
indy-cli (1.15.0) unstable; urgency=medium

[ Hyperledger ]

## 1.14.4
## 1.15.0
* Bugfixes

## 1.14.3
Expand Down
5 changes: 0 additions & 5 deletions docs/migration-guides/migration-guide-1.13.0-1.14.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ version you can check migration guides history:
* [Ledger API](#ledger-api)
* [Libindy 1.14.0 to 1.14.1 migration](#libindy-1140-to-1141-migration-guide)
* [Libindy 1.14.1 to 1.14.2 migration](#libindy-1141-to-1142-migration-guide)
* [Libindy 1.14.2 to 1.14.4 migration](#libindy-1142-to-1144-migration-guide)

## Libindy 1.13 to 1.14 migration

Expand Down Expand Up @@ -120,7 +119,3 @@ Both `rev_reg_def_id` and `credential_id` can be used as map keys.
`credential_id` must be used in case of proving that two credentials matching the same `rev_reg_id` are not revoked at the same timestamp (IS-1447).
* others minor bugfixes
## Libindy 1.14.2 to 1.14.4 migration Guide
The Libindy 1.14.4 release contains fixes that don't affect API functions.
31 changes: 31 additions & 0 deletions docs/migration-guides/migration-guide-1.14.0-1.15.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!-- markdownlint-disable MD033 -->

# Libindy 1.14 to 1.15 migration Guide

This document is written for developers using Libindy to provide necessary information and
to simplify their transition to Libindy 1.14 from Libindy 1.15. If you are using older Libindy
version you can check migration guides history:

* [Libindy 1.3 to 1.4 migration](https://github.com/hyperledger/indy-sdk/blob/v1.4.0/doc/migration-guide.md)
* [Libindy 1.4 to 1.5 migration](https://github.com/hyperledger/indy-sdk/blob/v1.5.0/doc/migration-guide-1.4.0-1.5.0.md)
* [Libindy 1.5 to 1.6 migration](https://github.com/hyperledger/indy-sdk/blob/v1.6.0/doc/migration-guide-1.5.0-1.6.0.md)
* [Libindy 1.6 to 1.7 migration](https://github.com/hyperledger/indy-sdk/blob/v1.7.0/doc/migration-guide-1.6.0-1.7.0.md)
* [Libindy 1.7 to 1.8 migration](https://github.com/hyperledger/indy-sdk/blob/v1.8.0/doc/migration-guide-1.7.0-1.8.0.md)
* [Libindy 1.8 to 1.9 migration](https://github.com/hyperledger/indy-sdk/blob/v1.9.0/docs/migration-guides/migration-guide-1.8.0-1.9.0.md)
* [Libindy 1.9 to 1.10 migration](https://github.com/hyperledger/indy-sdk/blob/v1.10.0/docs/migration-guides/migration-guide-1.9.0-1.10.0.md)
* [Libindy 1.10 to 1.11 migration](https://github.com/hyperledger/indy-sdk/blob/v1.11.0/docs/migration-guides/migration-guide-1.10.0-1.11.0.md)
* [Libindy 1.11 to 1.12 migration](https://github.com/hyperledger/indy-sdk/blob/v1.12.0/docs/migration-guides/migration-guide-1.11.0-1.12.0.md)
* [Libindy 1.12 to 1.13 migration](https://github.com/hyperledger/indy-sdk/blob/v1.13.0/docs/migration-guides/migration-guide-1.12.0-1.13.0.md)
* [Libindy 1.13 to 1.14 migration](https://github.com/hyperledger/indy-sdk/blob/v1.14.0/docs/migration-guides/migration-guide-1.13.0-1.14.0.md)

## Table of contents

* [Notes](#notes)
* [Libindy 1.14 to 1.15 migration](#libindy-114-to-115-migration)

## Libindy 1.14 to 1.15 migration

The Libindy 1.14.5 release contains bug fixes that don't affect API functions.
The most important of them:
* Provided correction for `Fix proof verification in case of credential attribute encoded value contains leading zeros` (IS-1491).
Indy 1.14.3 changes "0" to "" which leads to proof rejection.
12 changes: 6 additions & 6 deletions libindy/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions libindy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libindy"
version = "1.14.4"
version = "1.15.0"
authors = ["Hyperledger Indy Contributors <[email protected]>"]
edition = "2018"

Expand Down Expand Up @@ -98,34 +98,34 @@ maintainer-scripts = "./debian"
changelog = "./debian/changelog"

[package.metadata.deb.variants.libindy-xenial]
provides = "libindy (= 1.14.4)"
provides = "libindy (= 1.15.0)"
name = "libindy"
depends = "libzmq5, libsodium18, libssl1.0.0"
assets = [
["target/release/libindy.so", "usr/lib/", "644"],
]

[package.metadata.deb.variants.libindy-bionic]
provides = "libindy (= 1.14.4)"
provides = "libindy (= 1.15.0)"
name = "libindy"
depends = "libzmq5, libsodium23, libssl1.1"
assets = [
["target/release/libindy.so", "usr/lib/", "644"],
]

[package.metadata.deb.variants.libindy-dev-xenial]
provides = "libindy-dev (= 1.14.4)"
provides = "libindy-dev (= 1.15.0)"
name = "libindy-dev"
depends = "libindy (= 1.14.4)"
depends = "libindy (= 1.15.0)"
assets = [
["include/*.h", "usr/include/indy/", "644"],
["target/release/libindy.a", "usr/lib/", "644"],
]

[package.metadata.deb.variants.libindy-dev-bionic]
provides = "libindy-dev (= 1.14.4)"
provides = "libindy-dev (= 1.15.0)"
name = "libindy-dev"
depends = "libindy (= 1.14.4)"
depends = "libindy (= 1.15.0)"
assets = [
["include/*.h", "usr/include/indy/", "644"],
["target/release/libindy.a", "usr/lib/", "644"],
Expand Down
7 changes: 4 additions & 3 deletions libindy/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
libindy (1.14.4) unstable; urgency=medium
libindy (1.15.0) unstable; urgency=medium

[ Hyperledger ]

## 1.14.4
## 1.15.0
* Correction for `Fix proof verification in case of credential attribute encoded value contains leading zeros` (IS-1491).
Indy 1.14.3 changes "0" to "" which leads to proof rejection.

* Bugfixes

## 1.14.3
* Bugfixes
* Fix proof verification in case of credential attribute encoded value contains leading zeros (IS-1491).
Expand Down
10 changes: 5 additions & 5 deletions libnullpay/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions libnullpay/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "null-payment-method"
version = "1.14.4"
version = "1.15.0"
authors = ["Hyperledger Indy Contributors <[email protected]>"]
license = "MIT/Apache-2.0"
description = """\
Expand Down Expand Up @@ -29,13 +29,13 @@ serde_derive = "1.0.97"

[dev-dependencies]
dirs = "1.0.4"
indy = { version="1.14.4", path="../wrappers/rust" }
indy = { version="1.15.0", path="../wrappers/rust" }

[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.5"

[package.metadata.deb]
depends = "libindy (= 1.14.4)"
depends = "libindy (= 1.15.0)"
section = "devel"
priority = "optional"
assets = [
Expand All @@ -46,8 +46,8 @@ changelog = "./debian/changelog"

[package.metadata.deb.variants.libnullpay-xenial]
name = "libnullpay"
provides = "libnullpay (= 1.14.4)"
provides = "libnullpay (= 1.15.0)"

[package.metadata.deb.variants.libnullpay-bionic]
name = "libnullpay"
provides = "libnullpay (= 1.14.4)"
provides = "libnullpay (= 1.15.0)"
2 changes: 1 addition & 1 deletion libnullpay/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libnullpay (1.14.4) unstable; urgency=medium
libnullpay (1.15.0) unstable; urgency=medium

[ Hyperledger ]
* Initial release
1 change: 1 addition & 0 deletions vcx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,4 @@ The documents that provide necessary information for Libvcx migrations.
* [v0.4.x → v0.5.0](docs/migration-guide-0.4.x-0.5.0.md)
* [v0.5.x → v0.6.0](docs/migration-guide-0.5.x-0.6.0.md)
* [v0.6.x → v0.7.0](docs/migration-guide-0.6.x-0.7.0.md)
* [v0.7.x → v0.8.0](docs/migration-guide-0.7.x-0.8.0.md)
9 changes: 1 addition & 8 deletions vcx/docs/migration-guide-0.6.x-0.7.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,4 @@ Added a new function `vcx_disclosed_proof_decline_presentation_request` to expli

There are two rejecting options:
- Prover wants to propose using a different presentation - pass `proposal` parameter
- Prover doesn't want to continue interaction - pass `reason` parameter.

#### Protocols compatibility
Supported `protocol_version`: `3.0` which actually is an alternative to combination of settings: `protocol_version`: `3.0` and `communication_method`: `aries`.

Added a new enum variant `Pending` for IssuerCredentials/Credentials/Proofs/DisclosedProofs objects.
Initially create `Pending` objects and convert them to V1/V3 after receiving the connection handle.
`Pending` objects have `3.0` versions during serialization.
- Prover doesn't want to continue interaction - pass `reason` parameter.
18 changes: 18 additions & 0 deletions vcx/docs/migration-guide-0.7.x-0.8.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# LibVCX migration guide from 0.7.x to 0.8.0
## A Developer Guide for LibVCX migration

This document is written for developers using LibVCX to provide necessary information and
to simplify their transition to LibVCX 0.8.x from LibVCX 0.7.x.

* [API](#api)
* [Protocols Compatibility](#protocols-compatibility)

#### Protocols compatibility

* Supported `protocol_version`: `3.0` which actually is an alternative to combination of settings: `protocol_version`: `2.0` and `communication_method`: `aries`.

* Fixed compatibility between proprietary (`protocol_version`: `2.0`/`1.0`) and aries communication protocols (`protocol_version`: `3.0`).

Added a new enum variant `Pending` for IssuerCredentials/Credentials/Proofs/DisclosedProofs objects.
Initially create `Pending` objects and convert them to V1/V3 after receiving the connection handle.
`Pending` objects have `3.0` versions during serialization.
Loading

0 comments on commit f85afd2

Please sign in to comment.