» Home » Docs » Release notes » Release notes for 1.7.0
Release notes for 1.7.0
This is a new minor release, adding new features, and fixing bugs. Upgrade is recommended for all users.
Many thanks to all contributors who made this release possible!
We would like to welcome Crimson Thompson, elisdg, iblinder, labbeduddel, LeMerP, Max E. Aubrey, Oliver Cherrier, Roy Storey, Steve Dondley as new contributors.
Release highlights
Contributing guide
We now have a contributing guide which collects all important information about collaborating on the codebase in a single place.
File hooks
Now all commands in Rex::Commands::File have the ability to trigger hooks.
Testing with Travis CI
The Rex codebase is now tested on Travis CI, helping tremendously by automating not just unit testing, but also author tests. It helps making the contribution process smoother.
CMDB caching
CMDB lookups are now cached as part of the base class, so all built-in and custom CMDB modules should get the same benefits. It's important not just for performance reasons, but also helps avoiding corner cases where the CMDB contents might change while Rex is running.
Enhancements
- Test run failures with alternative commands - Ferenc Erki
- Cache CMDB lookups (fix #1239) - Ferenc Erki
- Test CMDB both with and without caching - Ferenc Erki
- Instantiate CMDB object during initialization - Ferenc Erki
- Use file command for file operations - Ferenc Erki
- Test for code tidyness - Ferenc Erki
- Use Travis CI for testing - Ferenc Erki
- added option to list all tasks, including hidden - Joachim Bargsten
- Added Oracle Linux (fix #1168, close #1174) - labbeduddel
- Adds SLE 15 / Leap 15.0 support - LeMerP
- Update README about contributing guide - Ferenc Erki
- Initial version of the contributing guide - Ferenc Erki
- Added Virtuozzo as Red Hat clone. - iblinder
- Print warning instead of dying when delete_user called on non existing user - Crimson Thompson
Bugfixes
- Fix test dependency - Ferenc Erki
- Use perl to query environment - Ferenc Erki
- Remove redundant argument to rsync command - Steve Dondley
- Detect upstart (fix #1190) - Ferenc Erki
- Simplify quoting (close #1206) - Ferenc Erki
- Better message and remove unused variable (ref #1206) - Roy Storey
- Quote parameters that might have spaces (fix #807) - Roy Storey
- Resolve symlinks for file management commands (fix #1195, close #1199) - Ferenc Erki
- Add resolve_symlink helper - Ferenc Erki
- Add symlink tests for file management commands - Ferenc Erki
- Update link of installation intructions - Ferenc Erki
- Update testing instructions - Ferenc Erki
- Update list of useful resources - Ferenc Erki
- Fix typos - Ferenc Erki
- Update supported Perl versions - Ferenc Erki
- Convert namespace separators from module to task (fix #1193) - Ferenc Erki
- Add tests for package hooks (ref #1194) - Mitch Broadhead
- create_host: drop useless get_host invocation (close #1181) - Ali Polatel
- Run extra tests on Travis - Ferenc Erki
- Ignore tidyness checks for generated extra tests - Ferenc Erki
- Rename perltidy test - Ferenc Erki
- Replace [ExtraTests] with [RunExtraTests] (fix #964) - Kent Fredric
- Fix fallback method for getting username - Ferenc Erki
- Return username for local connections - Ferenc Erki
- only source ~/.profile if it really exists - Joachim Bargsten
- Accept critic for ProhibitExplicitReturnUndef - Ferenc Erki
- Accept critic for ProhibitNoStrict - Ferenc Erki
- Accept critic for ProhibitSubroutinePrototypes - Ferenc Erki
- Remove unnecessary subroutine prototype - Ferenc Erki
- Fix critic for ProhibitMutatingListFunctions - Ferenc Erki
- Fix critic for ProhibitSleepViaSelect - Erik Huelsmann
- Disable tidyness checks in perlcritic - Ferenc Erki
- improved error handling in run_task if task does not exist - Joachim Bargsten
- Fixes virtualization type,role for Digital Ocean Droplets (close #1192) - Mitch Broadhead
- Fix UID handling for OpenBSD (fix #1213) - Olivier Cherrier
- Added the Option 'continuous_read' to the documentation - elisdg
- Fix placeholder matching for %h in ssh config. (#1214) - Max E. Aubrey
- Set minimum required Perl version to 5.10.1 - Ferenc Erki
- errorless git checkout if on checkout branch - Joachim Bargsten
- added clone_args as extra option for git checkout - Joachim Bargsten
- git checkout also supports environment settings for e.g. proxies - Joachim Bargsten
- added ssh as possible protocols for git-based rex modules - Joachim Bargsten
- Improve package handling on OpenBSD - Olivier Cherrier
- Enhance the OpenBSD User handling support - Olivier Cherrier
- Document the 'requiretty' setting with the sudo command - Erik Huelsmann
- delete_host: fix regex so it does not match on prefixes - Ali Polatel
- Ignore YAML-1.25 (fix #1197) - Ferenc Erki
- Use virsh connect URI from config - Ferenc Erki
- Convert namespace separators from module to task (fix #1188) - Ferenc Erki
- Add test for using needs with nested modules (ref #1188) - Ferenc Erki
- Fix Pkgconf for Debian - Andy Beverley