» Home » Docs » Release notes » Release notes for 1.3.2
Release notes for 1.3.2
This is a bugfix release, upgrade is recommended for all users.
Shortly after releasing 1.3.0, we followed it up with 1.3.1, fixing a Rex::Commands::DB related testing bug, that slipped through our test suite.
During that work we also discovered another bug, that was affecting BSD users since 1.2.1. The solution was to refactor the MD5 checksum calculation method, that is being used during e.g. file change detection.
Among other smaller improvements mentioned below, the fix for this issue is now being released as 1.3.2.
Since we're keen to continuously improve our QA processes, we also added new tests that could catch similar issues in the future, as part of this fix.
Special thanks for stephanj on IRC who helped a lot with testing those changes and suggesting further modifications.
Enhancements
MD5 calculation
We replaced the previous MD5 checksum calculation method basically with perl one-liners. According to our benchmarks this method provides an overall better performance, while remaining OS-agnostic and memory efficient. Since this function is used in many places, we are looking forward to improve it further.
- Use binmode as a function - Jan
- Remove md5sum usage - Ferenc Erki
- Fix for filenames with at sign in them - Ferenc Erki
- Add test case for filenames with at sign - Ferenc Erki
- Refactor MD5 checksum calculation (fix #719) - Ferenc Erki
- Add initial MD5 test - Ferenc Erki
Documentation
We also decided to include a typo fix to the documentation of this release.
- Fix LEFT_PRECEDENCE typo - Dmitry Kopytov
General
Based on the feedback from stephanj via IRC, we improved detection of environment-specific files, and also cleaned up useless which perl
calls on Windows, by using the built-on can_run
instead. Plus there were some test cleanups.
- Add missing test names - Ferenc Erki
- Only display diagnostic message if something went wrong - Ferenc Erki
- Fix check for environment-specific filenames - Ferenc Erki
- Use OS-agnostic perl executable detection - Ferenc Erki
- Fix RC version handling - Ferenc Erki
- Use raw Rex::Interface::Exec to call can_run - Jan
Bugfixes
Rex::Commands::DB test fixes
Now t/db.t
should properly skip tests when some prerequisite is missing.
- Explicitly test for optional dependencies - Ferenc Erki