Packages
poolex
0.3.0
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.0
1.5.0-rc.0
1.4.2
1.4.1
1.4.0
1.3.0
1.2.1
1.2.0
1.1.0
1.0.0
1.0.0-rc.0
0.10.0
0.9.0
0.9.0-rc.2
0.9.0-rc.1
0.9.0-rc.0
0.8.0
0.8.0-rc.1
0.8.0-rc.0
0.7.6
0.7.5
0.7.4
retired
0.7.3
0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
0.5.1
0.5.0
0.4.0
0.3.1
retired
0.3.0
retired
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
The library for managing pools of workers.
Retired package: Release invalid - Compilation error
Current section
Files
Jump to
Current section
Files
CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.3.0] - 2023-02-03
### Added
- The ability to set your own implementations for `workers` and `callers`. [Read more about it](docs/guides/custom-implementations.md)
- New interface `Poolex.debug_info/1`.
### Changed
- All documentation is divided into separate guides. A table of contents with links has been added to the [Readme](README.md).
- Several changes have been made to the `Poolex.State` structure:
- Fields `busy_workers_count` and `busy_workers_pids` removed in favor of `busy_workers_state`.
- Fields `idle_workers_count` and `idle_workers_pids` removed in favor of `idle_workers_state`.
- Field `waiting_callers` changed to `waiting_callers_state`.
## [0.2.2] - 2023-01-28
### Added
- Docs for functions with examples of use.
### Changed
- Use [ex_check](https://github.com/karolsluszniak/ex_check) for static analysis.
## [0.2.1] - 2023-01-27
### Changed
- Updated minimum required versions
- Elixir: `1.7`
- OTP: `22`
## [0.2.0] - 2023-01-25
### Changed
- `run/3` was moved to `run!/3` since it can raise runtime errors.
- `run/3` function now handles errors and returns:
- `{:ok, any()}` on success;
- `:all_workers_are_busy` when no idle worker is found in the pool;
- `{:runtime_error, any()}` on runtime errors.
### Fixed
- Now workers are running under [DynamicSupervisor](https://hexdocs.pm/elixir/1.13/DynamicSupervisor.html) for better control.
- Fix bug on worker release logic.
## [0.1.1] - 2023-01-06
### Fixed
- Fix `Poolex.run/3` spec.
## [0.1.0] - 2023-01-06
### Added
- Supported main interface `Poolex.run/3` with `:timeout` option.
[unreleased]: https://github.com/general-CbIC/poolex/compare/v0.3.0...HEAD
[0.3.0]: https://github.com/general-CbIC/poolex/compare/v0.2.2...v0.3.0
[0.2.2]: https://github.com/general-CbIC/poolex/compare/v0.2.1...v0.2.2
[0.2.1]: https://github.com/general-CbIC/poolex/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/general-CbIC/poolex/compare/v0.1.1...v0.2.0
[0.1.1]: https://github.com/general-CbIC/poolex/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/general-CbIC/poolex/releases/tag/v0.1.0