Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.6 KB

CHANGELOG.md

File metadata and controls

43 lines (26 loc) · 1.6 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 - 2024-10-02

No breaking changes. Jumping to 1.0.0, given we're considering the package out of development phase and now in stable public API.

Added

  • SlackRequest.valid_request?/2: validates both the timestamp and the signature. When validating manually, this function should be used instead of SlackRequest.valid_timestmap?/2 or SlackRequest.valid_signature?/2.

Fixed

  • Validation returns false (instead of crashing) if signature header is repeated
  • Validation returns false (instead of crashing) if timestamp header is repeated

0.3.1 - 2024-08-28

Fixed

  • Typo in the function name recommended to use in deprecation warning

0.3.0 - 2024-08-22

Added

  • SlackRequest.BodyReader.read_and_cache_body/2 as a rename of now deprecated SlackRequest.BodyReader.read_body/2.
  • SlackRequest.BodyReader.cached_body/0 as a rename of now deprecated SlackRequest.BodyReader.get_raw_body/0.

Deprecated

  • SlackRequest.BodyReader.read_body/2. Use SlackRequest.BodyReader.read_and_cache_body/2 instead.
  • SlackRequest.BodyReader.get_raw_body/0. Use SlackRequest.BodyReader.cached_body/0 instead.