Skip to content

Releases: dfinity/response-verification

3.0.2

20 Dec 15:33
0d4a131
Compare
Choose a tag to compare

3.0.2 (2024-12-20)

Fix

  • ic-asset-certification: include range header in streaming request certification (#417)

3.0.1

20 Dec 11:18
2e6418b
Compare
Choose a tag to compare

3.0.1 (2024-12-20)

Fix

  • update dependencies (#415)

3.0.0

18 Dec 13:17
7a5cbfe
Compare
Choose a tag to compare

3.0.0 (2024-12-18)

BREAKING CHANGE

  • removed serde feature from ic-http-certification, condensed serde_bytes into serde feature of ic-certification.
  • removed serde feature from ic-http-certification, condensed serde_bytes into serde feature of ic-certification.
  • removed serde feature from ic-http-certification, condensed serde_bytes into serde feature of ic-certification.

Feat

  • ic-asset-certification: allow adding additional headers to redi… (#400)
  • ic-http-certification: add http response convenience methods (#398)
  • ic-asset-certification: add ability to delete assets by path (#402)
  • ic-http-certification: add request method enum (#397)
  • ic-asset-certification: allow overriding asset response status code (#394)
  • ic-asset-certification: add function to delete all assets (#393)
  • ic-asset-certification: add asset map for querying assets in the asset router (#387)
  • ic-asset-certification: add Range as a certified request header
  • ic-asset-certification: add certification for individual chunks
  • @dfinity/response-verification: unify request and response types with the corresponding HTTP Gateway types
  • ic-asset-certification: add chunkwise-handling of long assets with encodings
  • ic-asset-certification: add 206-chunking of long assets
  • ic-http-certification: add add_certificate_header util function
  • ic-http-certification: add common constructs to skip certification
  • ic-http-certification: add add_certificate_header util function
  • ic-asset-certification: integrate add_certificate_header into the library so consumers do not need to call it manually
  • ic-http-certification: add add_certificate_header util function
  • ic-response-verification: remove unused debug feature
  • ic-asset-certification: allow deleting assets
  • ic-asset-certification: use owned string internally, remove less common HTTP method helpers and add helper docs
  • ic-asset-certification: improve handling of URLs with full domain
  • improve http request and response types
  • ic-asset-certification: use response header exclusions instead of inclusions for better security
  • ic-asset-certification: more ergonomic config for alternative asset encodings

Fix

  • ic-http-certification: fix handling of uncertified query parameters (#403)
  • update tests and fix a corner-case
  • remove text_io-dependency
  • ic-asset-certification: remove dependency on regex to reduce WASM size
  • clippy
  • clippy
  • address review feedback
  • clippy
  • clippy
  • clippy

Refactor

  • AssetRouter response handling, for extensibility
  • remove tmp files
  • remove unnecessary asset response type
  • rename asset encoding default and custom config methods
  • add default mapping for asset encodings

2.6.0

24 Jul 15:40
Compare
Choose a tag to compare

2.6.0 (2024-07-24)

Feat

  • ic-asset-certification: add support for alt response encodings
  • make error types clonable
  • ic-asset-certification: add support for asset redirection
  • ic-asset-certification: add alias support to asset router
  • ic-asset-certification: add support for multiple fallbacks per asset
  • ic-asset-certification: optionally init asset router with HTTP Certification tree
  • ic-asset-certification: add initial asset router

Fix

  • return certificate headers in v0 responses
  • ic-http-certification: ensure all possible wildcards are witnessed
  • ic-certification: remove empty subtrees after removing nodes on a path
  • ic-http-certification: fixed an issue where an asset that has a wildcard but not an exact path is not witnessed correctly
  • ic-certificate-verification: redundant dependency

Refactor

  • address comments
  • remove unnecessary filtering of ic-certificateexpression header

2.4.0

19 Feb 20:55
Compare
Choose a tag to compare

2.4.0 (2024-02-19)

Feat

  • hide enums from interfaces that provide factories/constructors
  • ic-http-certification: add HttpCertificationTree

Fix

  • ic-certification: allow empty hash trees to be merged with other hash trees

Refactor

  • restructure examples and http certification tests

2.3.0

15 Jan 14:06
Compare
Choose a tag to compare

2.3.0 (2024-01-15)

Feat

  • ic-http-certification: add upgrade property to HttpResponse struct

Fix

  • ic-certification-testing: remove unnecessary CertificationTestError conversion

2.2.0

11 Jan 15:43
Compare
Choose a tag to compare

2.2.0 (2024-01-11)

Feat

  • update candid

2.1.0

11 Jan 10:37
Compare
Choose a tag to compare

2.1.0 (2024-01-11)

Feat

  • add bls signature cache
  • ic-http-certification: add certification builder

2.0.1

20 Dec 14:41
Compare
Choose a tag to compare

2.0.1 (2023-12-20)

Fix

  • Revert "chore: bump candid to 0.10"

2.0.0

20 Dec 12:52
Compare
Choose a tag to compare

2.0.0 (2023-12-20)

Feat

  • move request and response hashing from ic-response-verification to ic-http-certification
  • migrate http request and response types from ic-response-verification to ic-http-certification
  • add copy on write support to CEL definition types
  • add cel builder to ic-http-certification crate
  • add-ic-http-certification-crate add CEL expression generation

Fix

  • disallow nested delegations when verifying certificates
  • missing certification object in CEL expressions