- Conditions can now be booleans, error properties objects or an array of conditions
- Split core logic to a separate new module:
switch-functional
- Improve documentation in
README.md
- Minimal supported Node.js version is now
18.18.0
- Minimal supported
modern-errorsversion is now6.0.0
- Minimal supported Node.js version is now
16.17.0
- Fix TypeScript types
Initial release.