Skip to content

Commit

Permalink
Release 0.8.9 (#84)
Browse files Browse the repository at this point in the history
* FIX: Cleaning up the codebase

* Bumping crate dependencies
- cleaning up code warnings

* Listing and selecting DIDs in the admin interface

* Updated ratatui image from 3.x to 4.x
- requires some code changes

* Various Global ACL Implementation Changes
- Configuration support
- Definitions of acls
- Getting ACL Configuration

* Authentication ACL Checks in place

Changed SDK authentication behavior to hard fail
on ACL Denied

* Refactoring Mediator Session handling to streamline it

* global_acl being saved and restored from database

* acl_authentication_check()
- use either session or database lookup
- optimisation

* refresh tokens now checks global_acl if blocked

* Global ACL checks placed on handlers
NOTE: Specific protocol ACL's not implemented yet
- forwarding
- self administration

* Fixing panic caused by blind expect() and unwrap() calls

* Refactored global ACL checks to be trait based.
Added forwarding ACL checks

* Initial implementation of local acls
- configuration
- refactoring of namespaces

* Initial implementation of local acls
- configuration setup
- structure
- refactoring of namespace

* Cleaned up how DIDs are registered
- now occurs during authentication stage
- only if they are allowed to be local as configured by global_acls

Changed database commands where possible to be exec not query

* Updating crates
- updated axum from 0.7.x to 0.8.x
  - required a number of breaking changes

* Direct delivery mode for mediator created
- you can send diretcly locally, no need to wrap in a forward

Look at the mediator.toml config file for instructions
DANGER: Enabling direct mode means there is some risk of bad
messages making their way to the client. The client needs to ensure safety
of the unpacked messages.

* Updated mediator.toml files

* Adding additional permission checks on local direct delivery

* Updating crates
Updated Changelog

* Removed double dereference in `store.rs`

Changed named of anon_outbound in config to anon_received to be clearer on intent

* Refactoring of ACL Management
- removed the concept of global/local acls
- much simpler and easier to understand ACL model

* FIX: text-client didn't handle empty VCard templates

* Cleaning up how the account lists are generated and represented

* Adding additional details to account lists
- formatting improvements on the mediator management listings

* Cleaning up ACL Administration protocols
- fixed authentication ACL rules
- DID accounts are now created in the mediator correctly with defaults
- on session creation, check if DID known, if not then create if allowed

* Administration and account management admin_updates- staging

* Staging before merge

* Bumping support crate versions
Added background message deletion
Added option to SDK so you can auto-delete

* Release changes for 0.8.9
  • Loading branch information
stormer78 authored Jan 16, 2025
1 parent 575711c commit 32ed3f8
Show file tree
Hide file tree
Showing 100 changed files with 5,016 additions and 1,792 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,39 @@

## Changelog history

## 16th January 2025 (0.8.9)

### All (0.8.9)

* Added Global-ACL Support

### Mediator (0.8.9)

* Added Global ACL Support
* Added default_acl to `security` block in configuration
* Allows to set the default ACL to apply
* New error type ACLDenied added
* Local Direct Delivery added
* Allows for known recipient DIDs to receive messages directly sent to the
mediator without wrapping them in a forward envelope

### SDK (0.8.9)

* Authentication will now fail due to ACL Errors and not retry.
* Deleting Messages has been split between direct and background
* Direct: immediate deletion and the main thread will block
* Background: requests are handled via a background task

### Affinidi Text Client (0.8.9)

* Updated ratatui-image from 3.x to 4.x

### Affinidi DIDComm (0.8.9)

* MetaEnvelope::new() no longer checks for recipient keys.
* This has been shifted to the unpack() function
* This allows for easier handling of any DIDComm message even if recipient is not known by it's secrets

## 16th December 2024 (0.8.1)

### All (0.8.1)
Expand Down
Loading

0 comments on commit 32ed3f8

Please sign in to comment.