Skip to content

Commit

Permalink
Merge branch 'master' into update-nodejs-wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoGlastra authored May 21, 2021
2 parents cb17e1b + 8993d0b commit 503e8bc
Show file tree
Hide file tree
Showing 25 changed files with 167 additions and 45 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 1.16.0 - 2020-11-17
* Removed 32-bit iOS targets
* Update Rust version to 1.46.0
* Various documentation updates, including release acceptance testing
* Add support for metrics to libindy and wrappers
* Add support for attribute value resrictions to presentation predicate restrictions
* Add support for custom loggers to libindy
* Performance improvements when ssearching wallets with large number of DIDs
* Added test_zmq tool
* LibVCX:
* Added `protocol_type:4.0` implying that all inputs and outputs are expected to be in the Aries message format.
* Added a new function `vcx_delete_credential` to delete credential from the wallet.
* Changed behavior of `vcx_*_update_state_with_message` functions to not update the status of messages on the Agency. Instead, the application using VCX should care about changing of message status.
* Bugfixes
* Bugfixes

## 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.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ The documents that provide necessary information for Libindy migrations.
* [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)
* [v1.15.0 → v1.16.x](docs/migration-guides/migration-guide-1.15.0-1.16.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
23 changes: 23 additions & 0 deletions Specs/libindy/1.16.0/libindy.podspec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "libindy",
"version": "1.16.0",
"summary": "Summary TODO.",
"description": "Description TODO.",
"homepage": "TODO",
"license": {
"type": "Apache License 2.0",
"file": "LICENSE"
},
"authors": {
"Daniel Hardman": "[email protected]"
},
"platforms": {
"ios": "10.0"
},
"source": {
"http": "https://repo.sovrin.org/ios/libindy/stable/libindy-core/1.16.0/libindy.tar.gz"
},
"source_files": "*.h",
"vendored_libraries": "*.a",
"requires_arc": false
}
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.15.0"
version = "1.16.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.15.0", path = "../wrappers/rust/" }
indy = { version = "1.16.0", path = "../wrappers/rust/" }

[package.metadata.deb]
depends = "libindy (= 1.15.0), libncursesw5-dev"
depends = "libindy (= 1.16.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.15.0)"
provides = "indy-cli (= 1.16.0)"

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

[ Hyperledger ]

## 1.16.0
* Bugfixes

## 1.15.0
* Bugfixes

Expand Down
29 changes: 29 additions & 0 deletions docs/migration-guides/migration-guide-1.15.0-1.16.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!-- 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)
* [Libindy 1.14 to 1.15 migration](https://github.com/hyperledger/indy-sdk/blob/v1.15.0/docs/migration-guides/migration-guide-1.14.0-1.15.0.md)

## Table of contents

* [Notes](#notes)
* [Libindy 1.15 to 1.16 migration](#libindy-115-to-116-migration)

## Libindy 1.15 to 1.16 migration

The Libindy 1.16 release contains bug fixes that don't affect API functions.
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.15.0"
version = "1.16.0"
authors = ["Hyperledger Indy Contributors <[email protected]>"]
edition = "2018"

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

[package.metadata.deb.variants.libindy-xenial]
provides = "libindy (= 1.15.0)"
provides = "libindy (= 1.16.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.15.0)"
provides = "libindy (= 1.16.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.15.0)"
provides = "libindy-dev (= 1.16.0)"
name = "libindy-dev"
depends = "libindy (= 1.15.0)"
depends = "libindy (= 1.16.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.15.0)"
provides = "libindy-dev (= 1.16.0)"
name = "libindy-dev"
depends = "libindy (= 1.15.0)"
depends = "libindy (= 1.16.0)"
assets = [
["include/*.h", "usr/include/indy/", "644"],
["target/release/libindy.a", "usr/lib/", "644"],
Expand Down
12 changes: 11 additions & 1 deletion libindy/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
libindy (1.15.0) unstable; urgency=medium
libindy (1.16.0) unstable; urgency=medium

[ Hyperledger ]

## 1.16.0
* Update Rust version to 1.46.0
* Various documentation updates, including release acceptance testing
* Add support for metrics to libindy and wrappers
* Add support for attribute value resrictions to presentation predicate restrictions
* Add support for custom loggers to libindy
* Performance improvements when ssearching wallets with large number of DIDs
* Added test_zmq tool
* Bugfixes

## 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.
Expand Down
8 changes: 4 additions & 4 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.15.0"
version = "1.16.0"
authors = ["Hyperledger Indy Contributors <[email protected]>"]
license = "MIT/Apache-2.0"
description = """\
Expand Down Expand Up @@ -35,7 +35,7 @@ indy = { version="1.15.0", path="../wrappers/rust" }
android_logger = "0.5"

[package.metadata.deb]
depends = "libindy (= 1.15.0)"
depends = "libindy (= 1.16.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.15.0)"
provides = "libnullpay (= 1.16.0)"

[package.metadata.deb.variants.libnullpay-bionic]
name = "libnullpay"
provides = "libnullpay (= 1.15.0)"
provides = "libnullpay (= 1.16.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.15.0) unstable; urgency=medium
libnullpay (1.16.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 @@ -278,3 +278,4 @@ The documents that provide necessary information for Libvcx migrations.
* [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)
* [v0.8.x → v0.9.0](docs/migration-guide-0.8.x-0.9.0.md)
33 changes: 33 additions & 0 deletions vcx/docs/migration-guide-0.8.x-0.9.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# LibVCX migration guide from 0.8.x to 0.9.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.9.x from LibVCX 0.8.x.

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

#### Protocols compatibility

* Supported `protocol_version`: `4.0`.
When VCX is set to use `protocol_version`: `4.0` for all VCX API functions the following met:
* all inputs are expected to be in the Aries message format.
* all outputs will be in the Aries message format.

* Added a new function `vcx_delete_credential` to delete credential from the wallet.


* Changed behavior of `vcx_*_update_state_with_message` functions for Aries protocols handling.

In previous Libvcx versions was possible situation when
1. VCX processed some message
2. VCX automatically update message status on the Agency
3. VCX return result to the app
4. An application failed before storing new VCX object state.
5. That makes the message unavailable anymore.

The behavior of `vcx_*_update_state_with_message` functions was changed to not update the status of messages on the Agency internally.
Instead, the application using VCX should care about changing of message status using `vcx_messages_update_status` function.

* Bugfixes

6 changes: 3 additions & 3 deletions vcx/libvcx/Cargo.lock

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

12 changes: 6 additions & 6 deletions vcx/libvcx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "libvcx"
version = "0.8.0"
version = "0.9.0"
authors = ["Hyperledger Indy Contributors <[email protected]>"]
publish = false
description = "This is the official SDK for Evernym's VCX"
Expand Down Expand Up @@ -43,8 +43,8 @@ rmp-serde = "0.13.7"
base64 = "0.8.0"
openssl = "0.10"
num-traits = "0.2.0"
indy = { version = "1.15.0", path = "../../wrappers/rust/" }
indy-sys = { version = "1.15.0", path = "../../wrappers/rust/indy-sys/" }
indy = { version = "1.16.0", path = "../../wrappers/rust/" }
indy-sys = { version = "1.16.0", path = "../../wrappers/rust/indy-sys/" }
tokio-threadpool = "0.1.6"
futures = "0.1.23"
libloading = "0.5.0"
Expand All @@ -64,7 +64,7 @@ serde_json = "1.0"
serde_derive = "1.0"

[package.metadata.deb]
depends = "libindy (= 1.15.0)"
depends = "libindy (= 1.16.0)"
extended-description = """\
This is the official SDK for Hyperledger Indy, which provides a\
distributed-ledger-based foundation for self-sovereign identity.\
Expand All @@ -85,11 +85,11 @@ changelog = "./debian/changelog"

[package.metadata.deb.variants.libvcx-xenial]
name = "libvcx"
provides = "libvcx (= 0.8.0)"
provides = "libvcx (= 0.9.0)"

[package.metadata.deb.variants.libvcx-bionic]
name = "libvcx"
provides = "libvcx (= 0.8.0)"
provides = "libvcx (= 0.9.0)"

[profile.release]
debug = true
Expand Down
8 changes: 7 additions & 1 deletion vcx/libvcx/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
libvcx (0.8.0) unstable; urgency=medium
libvcx (0.9.0) unstable; urgency=medium

[ Hyperledger ]

## 0.9.0
* Added `protocol_type:4.0` implying that all inputs and outputs are expected to be in the Aries message format.
* Added a new function `vcx_delete_credential` to delete credential from the wallet.
* Changed behavior of `vcx_*_update_state_with_message` functions to not update the status of messages on the Agency. Instead, the application using VCX should care about changing of message status.
* Bugfixes

## 0.8.0
* Bugfixes
* Fixed compatibility between proprietary (`protocol_version`: `2.0`/`1.0`) and aries protocols (`protocol_version`: `3.0`).
Expand Down
Loading

0 comments on commit 503e8bc

Please sign in to comment.