Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 7.2.0 #340

Merged
merged 3 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## 7.2.0
- Added `MessageSigningDigest` class to generate digests for message signing
- Added support for company identity attributes
- Deprecated encrypted transfers. They are partially removed since protocol version 7
Expand Down
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,30 @@ A signer is then added to a `TransactionSigner` as follows:
}), ... );

```

# Development notes

## Testing unreleased changes locally in an application
1. Update all the SDK artifacts version to `X.Y.Z-SNAPSHOT`,
having `X.Y.Z` the next version from the current according to semver.
Do it once the changes made require semver version change.
Otherwise, the same `-SNAPSHOT` can be re-written
2. Optionally, if updated `concordium-base`, run `make` or `make-android`
3. Run `mvn install`, so the artifacts get installed in your local Maven repo
(an `.m2` directory under your home directory)
4. In your application, reference the new SDK snapshot.
Make sure to have Maven Local repository in your dependency resolution configuration

## Releasing
1. Create a `v.X.Y.Z` tag for a commit to release
2. Manually trigger the Release workflow for the tag
3. Ask for approval for the last part of the Release workflow
4. Sign in to https://s01.oss.sonatype.org/
5. In the Build Promotion menu in the left select the Staging Repositories item
6. Select the Concordium repository
7. "Close" the selected repository to prepare it for release
8. Once the closing is complete, "Release" it
9. Wait for the version to appear under https://repo1.maven.org/maven2/com/concordium/sdk/
10. Manually add Changelog entries of this version to the GitHub release

[Maven – Releasing the deployment](https://central.sonatype.org/publish/release/)
2 changes: 1 addition & 1 deletion concordium-android-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.concordium.sdk</groupId>
<artifactId>concordium-sdk-base</artifactId>
<version>7.2.0-SNAPSHOT</version>
<version>7.2.0</version>
</parent>

<artifactId>concordium-android-sdk</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion concordium-sdk-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>com.concordium.sdk</groupId>
<artifactId>concordium-sdk</artifactId>
<version>7.2.0-SNAPSHOT</version>
<version>7.2.0</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion concordium-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.concordium.sdk</groupId>
<artifactId>concordium-sdk-base</artifactId>
<version>7.2.0-SNAPSHOT</version>
<version>7.2.0</version>
</parent>

<groupId>com.concordium.sdk</groupId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.concordium.sdk</groupId>
<artifactId>concordium-sdk-base</artifactId>
<version>7.2.0-SNAPSHOT</version>
<version>7.2.0</version>
<packaging>pom</packaging>

<url>https://github.com/Concordium/concordium-java-sdk</url>
Expand Down
Loading