1.2.0
Overview
This release adds a lot of test fixes, documentation and CI improvements. The main new feature is support of metrics package. Collecting statistics using the metrics package is enabled by default if the package metrics >= 0.11.0 is installed.
4 counters will be created:
- expirationd_checked_count
- expirationd_expired_count
- expirationd_restarts
- expirationd_working_time
The meaning of counters is same as for expirationd.stats().
It can be disabled using the expirationd.cfg call:
expirationd.cfg({metrics = false})
Breaking changes
None.
New features
- Check types of function arguments with checks module (#58).
- Add messages about obsolete methods.
- Add metrics support (#100).
Bugfixes
- Prevent iteration through a functional index for Tarantool < 2.8.4 (#101).
- Fix processing tasks with zero length box.cfg.replication (#95).
Testing
- Tests use new version of API.
- Add tests for expirationd.stats() (#77).
- Gather code coverage and send report to coveralls on GitHub CI (#85).
- Remove check for vinyl engine (#76).
- Print engine passed to tests (#76).
- Fix flakiness (#76, #90, #80).
- Make iterate_with() conform to declared interface (#84).
- Use default 'vinyl_memory' quota for tests (#104).
Other
- Update documentation and convert to LDoc format (#60).
- Support to generate documentation using make (#79).
- Update comparison table in README.md (#53).
- Add note about using expirationd with replication (#14).
- Fix a typo in the rpm-package description.
- Fix function name in example: function on_full_scan_complete -> function on_full_scan_error.
- Add new target
deps
to Makefile that install lua dependencies (#79). - GitHub CI for publishing API documentation (#79).
- Describe prerequisites and installation steps in README.md.
- Bump luatest version to 0.5.6.
- Fix incorrect description of the force option for the expirationd.start (#92, #96).