Skip to content

3.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Dec 13:17
· 6 commits to main since this release
7a5cbfe

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