Skip to content

Commit

Permalink
Changes to version 1.2.0 and updates CHANGES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shifteverywhere committed Oct 11, 2022
1 parent c1ac44a commit 73c0e5d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 8 deletions.
34 changes: 33 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# CHANGES

## Version 1.2.0 - 2022-10-11
- Full implementation of DiME data format specification (v1)
- Grace period added to Dime as a global setting (this means breaking changes from 1.1.0 in verify methods)
- Many methods marked as deprecated in version 1.1.1 and earlier removed
- Introduces KeyRing to hold multiple keys and identities as trusted
- Removes trusted Identity in Dime and Identity
- Verify has been reworked to support key ring
- isTrusted has been replaced with verify in Identity
- IntegrityState introduced to hold result of a verification
- Introduced getClaim/putClaim/removeClaim to allow for more flexible claim handling
- Removes many claim convenience methods, simplifies usage and code
- Removes Claim.USE and replaces it with Claim.CAP (KeyCapability/IdentityCapability)
- Cleaned up, removed and renamed package specific exceptions

**NOTE** *Version 1.2.0 includes changes that will break 1.1.1 and earlier. These are only code-breaking changes, so all previously created DiME items will continue to work.*

## Version 1.1.1 - 2022-09-25
- Refactored KeyUse to Key.Use
- Minor improvements and fixes

## Version 1.1.0 - 2022-08-18
- Adds possibility for multiple signatures for items
- Adds feature to strip an item of any signatures, so it can be modified and then resigned
- Refactors item linking and allows linking to multiple items
- Adds plugin model for other cryptographic suites
- Introduces JSON canonicalization to guarantee some order of JSON data, avoiding breaking of signatures
- Implements Tag item
- Implements Data item
- Adds the possibility to override the current time, intended for troubleshooting
- Numerous minor improvements and fixes
- Breaking changes in Envelope (sign/verify) removes return item

## Version 1.0.3 - 2022-04-19
- Minor fix to prepare for an upcoming change that allows for more than one item to be linked to a Message item

Expand All @@ -16,7 +48,7 @@
- Updates org.json dependency to version 20211205
- Official acknowledgements added, credits where credits are due, thank you!

**NOTE:** *Version 1.0.1 includes changes that will break 1.0.0. These are only code-breaking changes, so all previously issued identities and other created Di:ME items will continue to work.*
**NOTE** *Version 1.0.1 includes changes that will break 1.0.0. These are only code-breaking changes, so all previously issued identities and other created DiME items will continue to work.*

## Version 1.0.0 - 2022-01-24
- Official version 1.0.0 (**Hurray!**)
Expand Down
12 changes: 5 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,23 @@
//
plugins {
id 'java-library'
id "org.sonarqube" version "3.4.0.2513"
}

group 'io.dimeformat'
version '1.1'
version '1.2.0'

repositories {
mavenCentral()
flatDir {
dirs 'dependencies'
}
}

dependencies {
api 'com.goterl:lazysodium-java:5.1.1'
api 'net.java.dev.jna:jna:5.11.0'
api 'org.json:json:20220320'
api name: 'json-canonicalizer'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
api 'org.slf4j:slf4j-simple:2.0.3'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
}

test {
Expand Down

0 comments on commit 73c0e5d

Please sign in to comment.