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 #1542 from Artemkaaas/indy-1.8.2
Browse files Browse the repository at this point in the history
Libindy 1.8.2 release preparation
  • Loading branch information
ashcherbakov authored Mar 26, 2019
2 parents c463b95 + 254ed63 commit d8eac63
Show file tree
Hide file tree
Showing 610 changed files with 22,054 additions and 12,485 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ Podfile.lock

/wrappers/python/venv/
.vscode
_build/
74 changes: 53 additions & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,32 @@
# Changelog

## 1.8.1 - 2019-02-08
## 1.8.2 - 2019-03-26
* Added new functions to Libindy Ledger API:
* `indy_build_auth_rule_request` to change an existing ledger auth rule.
* `indy_build_get_auth_rule_request` to get either specific one or all ledger auth rules.
* Added `ledger auth-rule` and `ledger get-auth-rule` commands to Indy CLI.
* Added function `vcx_get_current_error` to get additional information for last error occurred in Libvcx.
* Updated Libvcx wrappers for automatic getting error details:
* Python - added `sdk_error_full_message`, `sdk_error_cause` and `sdk_error_backtrace` fields to `VcxError` object.
* Java - added `sdkMessage`, `sdkFullMessage`, `sdkCause` and `sdkBacktrace` fields to `VcxException`.
* Objective-C - added `error`, `message`, `cause`, `backtrace` fields to `userInfo` dictionary in `NSError` object.
* Removed Deprecation warnings from `indy_crypto_anon_crypt` and `indy_crypto_anon_decrypt` functions.
* Changed location of Java artifacts on `repo.sovrin.org`.
* Added Postgres wallet storage plugin. Updated Libvcx and Cli to support work with it.
* Updated Vcx to support community A2A protocol.
Added `protocol_type` field to VCX provisioning config with indicates A2A message format will be used.
* `1.0` means the current protocol.
* `2.0` means community (IN PROGRESS) protocol which in the current state includes draft implementation of the following HIPES:
* [Message Types](https://github.com/hyperledger/indy-hipe/tree/master/text/0021-message-types),
* [Message Threading](https://github.com/hyperledger/indy-hipe/tree/master/text/0027-message-id-and-threading)
* [Wire Message](https://github.com/hyperledger/indy-hipe/tree/master/text/0028-wire-message-format).
* Set default freshness threshold to 600 seconds.
* Bugfixes:
* Restart catchup in case of outdated pool cache.
* Fixed publishing of nodejs package for VCX wrapper.
* others minor bugfixes

## 1.8.1 - 2019-02-08
* Bugfixes:
* Set default freshness threshold to u64::MAX -- if you need to change it, look at the `indy_set_runtime_config` call.
* Fixed a bug in freshness threshold calculation.
Expand All @@ -14,7 +39,7 @@
* Java - added `sdkBacktrace` field to `IndyException`. Libindy `error message` set as the main for `IndyException`.
* NodeJS - added `indyMessage` and `indyBacktrace` fields to `IndyError` object.
* Rust - changed type of returning value from enum `ErrorCode` on structure `IndyError` with `error_code`, `message`, `indy_backtrace` fields.
* Objective-C - added `message` and `indy_backtrace` fields to `userInfo` dictionary in `NSError` object.
* Objective-C - added `message` and `indy_backtrace` fields to `userInfo` dictionary in `NSError` object.
* Updated Indy-Cli to show Libindy error message in some cases.
* Implemented automatic filtering of outdated responses based on comparison of local time with latest transaction ordering time.
* Added *EXPERIMENTAL* `indy_pack_message` and `indy_unpack_message` functions to support *Wire Messages* described in [AMES HIPE](https://github.com/hyperledger/indy-hipe/pull/43)
Expand All @@ -23,7 +48,10 @@
* Added `NETWORK_MONITOR` role to NYM transaction builder.
* Bugfixes

NOTE: This version of libindy will work slower with older versions of node due to freshness changes.
Notes:

* This version of libindy will work slower with older versions of node due to freshness changes.
* There is [migration guide](docs/migration-guides/migration-guide-1.7.0-1.8.0.md) about API changes.

## 1.7.0 - 2018-12-21
* Added VCX - a library built over libindy for **V**erifiable **C**redentials e**X**change. API is EXPERIMENTAL.
Expand All @@ -33,17 +61,21 @@ NOTE: This version of libindy will work slower with older versions of node due t
* Added function `indy_set_logger` for client apps and wrappers to receive logs from libindy
* Integrated libindy logging into Slf4j for Java wrapper and into python logging facade
* Updated API of Rust wrapper. Now there is no three methods for each API call, there is only one that returns Future.
* Introduced multithreading for Wallet API and CRED_DEF generation
* Introduced multithreading for Wallet API and CRED_DEF generation
* Bugfixes

Notes:

* There is [migration guide](docs/migration-guides/migration-guide-1.6.0-1.7.0.md) about API changes.

## 1.6.8 - 2018-11-22
* Fix State Proof verification for some types of GET requests to the ledger
* Additional clean-up for secrets in logs
* Update CLI help

## 1.6.7 - 2018-10-9
* Supported setting fees in `did rotate-key` CLI command.
* Supported hexadecimal seed for did and key creation.
* Supported hexadecimal seed for did and key creation.
* Removed TGB role.
* Added EXPERIMENTAL Rust wrapper for Libindy.
* Bugfixes.
Expand All @@ -66,7 +98,7 @@ NOTE: This version of libindy will work slower with older versions of node due t
## 1.6.3 - 2018-08-28
* Performed the following changes related to Libindy Wallet API:
* Added separate API function `indy_generate_wallet_key` to generate a random wallet master key.
* Updated `key_derivation_method` parameter of wallet `credentials` to accept the addition type - `RAW`.
* Updated `key_derivation_method` parameter of wallet `credentials` to accept the addition type - `RAW`.
By using this type, the result of `indy_generate_wallet_key` can be passed as a wallet master key (key derivation will be skipped).
* Updated Indy CLI wallet related commands to accept the addition parameter `key_derivation_method`.
* Updated `data` parameter of `indy_build_node_request` API function to accept `blskey_pop` (Proof of possession for BLS key).
Expand All @@ -76,34 +108,34 @@ NOTE: This version of libindy will work slower with older versions of node due t

## 1.6.2 - 2018-08-14
* Performed the following changes related to Libindy Ledger API:
* Added `indy_submit_action` endpoint that provides the ability to send either GET_VALIDATOR_INFO or
* Added `indy_submit_action` endpoint that provides the ability to send either GET_VALIDATOR_INFO or
POOL_RESTART request to specific nodes and to specify custom timeout for a response from a node.
* Updated `indy_build_pool_upgrade_request` API function to accept the additional parameter `package` that allow specify package to be upgraded.* Bugfixes
* Added `pool restart` command in Indy CLI.
* Updated Libindy CD pipeline to run iOS tests and to publish artifacts for Libindy and Libnullpay.
* Updated wallet `credentials` to accept the additional parameter `key_derivation_method`.
This parameter provides the ability to use different crypto algorithms for master key derivation.
* Bugfixes

## 1.6.1 bugfixes - 2018-07-30
* Fix connection performance issue
* Fix Android publishing

## 1.6.0 - 2018-07-27
* Integrated tags based search in Anoncreds workflow:
* Updated `indy_prover_store_credential` API function to create tags for a stored credential object.
* API functions `indy_prover_get_credentials` and `indy_prover_get_credentials_for_proof_req` marked as `Deprecated`.
* Added two chains of APIs related to credentials search that allows fetching records by batches:
* Simple credentials search - `indy_prover_search_credentials`
* Search credentials for proof request - `indy_prover_search_credentials_for_proof_req`
* Supported [WQL query language](https://github.com/hyperledger/indy-sdk/tree/master/doc/design/011-wallet-query-language) for all search functions in Anoncreds API.
* Supported [WQL query language](https://github.com/hyperledger/indy-sdk/tree/master/docs/design/011-wallet-query-language) for all search functions in Anoncreds API.
* Added `indy_prover_get_credential` API function allows to get human-readable credential by the specific id from Wallet.
* Performed changes related to Libindy Wallet behavior:
* Changed Wallet export serialization format to use the same message pack as the rest of LibIndy.
* Removed association between Wallet and Pool.
* Removed persistence of Wallet configuration by Libindy.
* Updated `wallet_create`, `wallet_open`, `wallet_delete` functions to accept wallet configuration as a single JSON.
* Performed changes related to Libindy [Pool behavior](https://github.com/hyperledger/indy-sdk/tree/master/doc/design/009-efficient-connections):
* Performed changes related to Libindy [Pool behavior](https://github.com/hyperledger/indy-sdk/tree/master/docs/design/009-efficient-connections):
* Changed Pool connection logic to avoid unnecessary opened connections.
* Changed Catch-up process to get all transactions from a single node.
* Implemented logic of persisting of actual Pool Leger at the end of catch-up process and starting from this point on the next time.
Expand All @@ -121,32 +153,32 @@ Performed the following changes related to Libindy Payments API:

Notes:

* There is [migration guide](doc/migration-guide-1.5.0-1.6.0.md) about API changes.
* There is [migration guide](docs/migration-guides/migration-guide-1.5.0-1.6.0.md) about API changes.
* Wallet format of libindy v1.6 isn't compatible with a wallet format of libindy v1.5. As result it is impossible to use wallets
created with older libindy versions with libindy v1.6.

## 1.5.0 - 2018-06-28

* Introduction of [Wallet Storage](https://github.com/hyperledger/indy-sdk/tree/master/doc/design/003-wallet-storage) concept:
* Introduction of [Wallet Storage](https://github.com/hyperledger/indy-sdk/tree/master/docs/design/003-wallet-storage) concept:
* In v1.4 libindy allowed to plug different wallet implementations. Plugged wallet in v1.4 handled both security
and storage layers. In contrast Libindy v1.5 restricts plugged interface by handling only storage layer.
All encryption is performed in libindy. It simplifies plugged wallets and provides warranty of a good security level
for 3d party wallets implementations.
* The format of wallet data was changed for better security and support of efficient search
* Added EXPERIMENTAL [Wallet Export/Import API](https://github.com/hyperledger/indy-sdk/tree/master/doc/design/009-wallet-export-import) and
* Added EXPERIMENTAL [Wallet Export/Import API](https://github.com/hyperledger/indy-sdk/tree/master/docs/design/009-wallet-export-import) and
corresponded commands to Indy CLI
* ```indy_list_wallets``` endpoint is DEPRECATED and will be removed in the next release. The main idea is avoid
maintaining created wallet list on libindy side. It will allow to access wallets from a cluster and solve
some problems on mobile platforms. ```indy_create_wallet``` and ```indy_open_wallet``` endpoints will
also get related changes in the next release.
* Added [Non-Secrets API](https://github.com/hyperledger/indy-sdk/tree/master/doc/design/003-wallet-storage#non-secrets-api) that allows store and read
* Added [Non-Secrets API](https://github.com/hyperledger/indy-sdk/tree/master/docs/design/003-wallet-storage#non-secrets-api) that allows store and read
application specific data in the wallet
* Added EXPERIMENTAL [Generic Payments API](https://github.com/hyperledger/indy-sdk/tree/master/doc/design/004-payment-interface#payment-method-api) that provides
* Added EXPERIMENTAL [Generic Payments API](https://github.com/hyperledger/indy-sdk/tree/master/docs/design/004-payment-interface#payment-method-api) that provides
ability to register custom payment method
and then create payment addresses, build payment-related transactions, assign fees to transactions
* Added ability to [load custom plugins using Indy CLI](https://github.com/hyperledger/indy-sdk/tree/master/doc/design/006-cli-plugins)
* Added ability to [load custom plugins using Indy CLI](https://github.com/hyperledger/indy-sdk/tree/master/docs/design/006-cli-plugins)
* Added the set of commands in Indy CLI providing ability to perform
[the main payments operations](https://github.com/hyperledger/indy-sdk/tree/master/doc/design/007-cli-payments):
[the main payments operations](https://github.com/hyperledger/indy-sdk/tree/master/docs/design/007-cli-payments):
* Creation of payment address
* Listing of payment addresses
* Getting list of UTXO for payment address
Expand All @@ -165,7 +197,7 @@ Notes:

Notes:

* There is [migration guide](doc/migration-guide-1.4.0-1.5.0.md) about API changes
* There is [migration guide](docs/migration-guides/migration-guide-1.4.0-1.5.0.md) about API changes
* Wallet format of libindy v1.5 isn't compatible with a wallet format of libindy v1.4. As result it is impossible to use wallets
created with older libindy versions with libindy v1.5.
* Tails handling contains breaking-change hotfix and blob-storage tails files generated by v1.4 is incompatible with 1.5.
Expand Down Expand Up @@ -193,7 +225,7 @@ Notes:

Notes:

* There is [migration guide](doc/migration-guide-1.3.0-1.4.0.md) about API changes
* There is [migration guide](docs/migration-guides/migration-guide-1.3.0-1.4.0.md) about API changes
* The changes for Credential Revocation invalidates any Anoncreds made with SDK 1.3. They must be reissued
* This release is intended for development purposes only. The 1.5.0 release of the SDK will contain changes to the wallet format. If you plan to put durable artifacts in the wallet, let us know so we can discuss migration to the future format

Expand Down
Loading

0 comments on commit d8eac63

Please sign in to comment.