CHANGELOG.md

# Changelog

This changelog documents all noteworthy changes in the project.

## Next

## v0.4.4 - 13th April 2023

- Just a small bump, nothing actually.

## v0.4.3 - 26th October 2023

### Fixed

- Failing to connect when no path is given in URI.

## v0.4.2 - 12th October 2023

### Added

- New `open?/1` function, which allows you to check whether a connection is open.

## v0.4.1 - 29th September 2023

### Changed

- The payload for `:reply` has been refined to `Mint.WebSocket.frame() | [Mint.WebSocket.frame()]`, meaning it can now be either a single WebSocket frame or a list of WebSocket frames.

## v0.4.0 - 23rd September 2023

### Added

- Exponential backoff strategy for reconnection attempts.
- `:hibernate_after` Option to automatically hibernate the WebSocket connection process after a specified duration of inactivity, helping conserve system resources.

### Changed

- Enhanced documentation for a more user-friendly experience.

## v0.3.0 - 22nd September 2023

### Added

- Introduced `{:close, code, reason, state}` response for the generic callback, simplifying the process of sending a close frame to the server.
- Added the `:info_logging` option, allowing you to toggle information messages.

### Changed

- Now, disconnection messages are logged as information.

## v0.2.1 - 17th September 2023

### Added

- Introduced the `close/3` function for easier sending of close frames.

## v0.2.0 - 14th September 2023

### Added

- Implemented the `handle_terminate/2` callback for handling process termination.

### Fixed

- Addressed minor documentation issues.

## v0.1.1 - 12th September 2023

### Fixed

- Added a queue for incoming messages while the websocket is `nil`.

## v0.1.0 - 11th September 2023

### Added

- Included the missing `start/1` for the `__using__/1` macro.

## v0.1.0-rc - 9th September 2023

- Initial release of Fresh.