Skip to content
Open
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
39 changes: 26 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,42 @@ The promise only applies to the main crate `smart-account-auth` (in packages/bun

<!-- next-header -->

## [0.28.0] - 2025-09-19

## Fixed

- small spell check & readme QOL improvements

## Changed

- bumped cosmwasm-std & all relative cw crates to v3

## [0.26.3] - 2025-07-97

## Fixed

- `CredentialWrapper` panicking on verify when calling `primary_id`
- `CredentialWrapper`'s post validation not making sure that the sender is found when `use_native` is set

## Changed
- `CredentialWrapper`'s method `with_native` now returns a copy of the data instead of changing in place


- `CredentialWrapper`'s method `with_native` now returns a copy of the data instead of changing in place

## [0.26.2] - 2025-07-97

## Added

- Feature tags for including every single one of the supported credentials separately
- `ClientData` of passkeys can now contain additional fields on top od the most common `other_keys_can...`
- a separate testing golder
- `InfoExtension` and `PayloadExtension` as a wrapper for current and all future supported extension tyoes
- [Feature] `cosmos_arb_addr` feature tag for a Cosmos Arbitrary with a passed address type instead of deriving it from prefix
- `InfoExtension` and `PayloadExtension` as a wrapper for current and all future supported extension tyoes
- [Feature] `cosmos_arb_addr` feature tag for a Cosmos Arbitrary with a passed address type instead of deriving it from prefix
- CheckOption and ReplayParams as argument to replay attack protection methods
- `ReplayProtection` trait with methods for replay attack protection
- Definitions to `EthTypedData` credential type

## Changed

- `Verifiable` interface now has only one (mutually exclusive) `verify` method without VMs suffixes (like _cosmwasm)
- `Verifiable` now return a `CredentialInfo` object instead
- `CredentialInfo` now has an optional `address` for credentials that have them [`Caller`, `CosmosArbirary`]
Expand All @@ -46,22 +57,23 @@ The promise only applies to the main crate `smart-account-auth` (in packages/bun
- [Feature] `ethereum` feature is changed to include all ethereum related credentials. The previous behaviour can enabled with `eth_personal` separately

## Fixed

- Replay attack protection works for each credential individually now
- Overall optimisations, refactoring and including less dependencies when possible
- `PasskeyCredential` and `Secp256r1` are now in a separate crate and don't include `p256` crate for CosmWasm 2.0
- `to_json_string` imports and definitions

## Removed
- `injective` feature until adding complete support

- `injective` feature until adding complete support

## [Unreleased] Typescript

## Changed
- stopped converting `PasskeyCredential::credential_data.challenge` from `base64` to `base64-url`

- stopped converting `PasskeyCredential::credential_data.challenge` from `base64` to `base64-url`

## [0.25.0] - 2024-12-18
## [0.25.0] - 2024-12-18

## Added

Expand All @@ -74,25 +86,26 @@ The promise only applies to the main crate `smart-account-auth` (in packages/bun
- this document

## Changed

- type of CredentialId has changed from `Vec<u8>` to `String`
- response types that had ids were also changed from `Binary` to `String`
- response types that had ids were also changed from `Binary` to `String`
- `Caller` credential is now an enum struct (after being a regular struct)
- Minor changes to `ClientData` of `PasskeyCredential` related to optional key fields
- renamed module with static storage variables from `storage` to `stores`
- renamed module with static storage variables from `storage` to `stores`
- renamed `saa_type` to `saa_type` and added ability to omit exlusion of unknown properties by passing `no_deny`
- split type macros into separate files for each type
- `CredentialData`'s method was renamed to `with_native` and now inject the new caller from attached info only if the flag is set to `Some(true)` and return a miiror copy otherwise
- renamed `construct_credential` to `build_credential` and expose by default
- updated readme with features and focus-areas

## Removed

- All storage related types and primitives and logic have been removed to be moved to a separate package for each VM
- Deleted `storage` and `iterator` feature tags

## Fixed

- validation for max and min number of credentials in `CredentialData`
- fixed situatino with redundant (re-)validations
- fixed situatino with redundant (re-)validations
- removed clutter from complex derrive clauses
- macros


- macros
Loading