Releases: Lakitna/robotframework-find-unused
Releases · Lakitna/robotframework-find-unused
v0.7.0
Manual changelog
- Added
--versionflag. You can now runrobotunused --versionto find out which version you're using.
Files command
__init__.robotfiles are now properly counted- Includes support for nested folders with
__init__.robotin each
- Includes support for nested folders with
- Changed file sorting a bit. Output may be in different order
- Documentation-only: Updated limitation 4:
Variable dynamic imports are ignored-> Import paths with variables are ignored
Keywords command
- Added full support for data-driven syntax (aka test templates)
- Find an unresolved limitation: #92
- Keywords with
.in them are now counted properly- Unknown keyword names may show differently in output
Arguments command
- Added full support for data-driven syntax (aka test templates)
- Arguments for keywords with
.in them are now counted properly- Unknown keyword names may show differently in output
Returns command
- Added full support for data-driven syntax (aka test templates)
- Returns for keywords with
.in them are now counted properly- Unknown keyword names may show differently in output
Variables command
- Added full support for data-driven syntax (aka test templates)
- Added support for additional builtin constant variables
${null}${/}${:}${\n}
Internal changes
- Added Invoke task manager
- Changed building gifs to be a task
- Added build task
- Added build source task
- Added set version task
- Added update submodules task
- Added lint task
- Added test task
- Restructured files. Things got messy and bloated. No meaningful logic changes made.
- Refactored keyword visitor.
Automated changelog
- Restructure files by @Lakitna in #85
- Init .robot is wrongly considered unused by @Lakitna in #86
- Add version flag by @Lakitna in #89
- Support/test data driven syntax by @Lakitna in #90
- Update files limitation variables in imports are ignored by @Lakitna in #91
- Keywords calls containing . without library prefix are not counted by @Lakitna in #93
- Release 0.7.0 by @Lakitna in #94
Full Changelog: v0.6.0...v0.7.0
v0.6.0
Manual changelog
- Added demo gifs to readme
Files command
.robotfiles can now be either suite or resource files, depending on which sections it contains- Added support for
Import Librarykeyword - Added support for
Import Resourcekeyword - Added support for
${CURDIR}in import string - Documented limitation: No localization
Keywords command
- Added support for keywords with embedded arguments
- Added support for BDD style
- Documented limitation: No localization
Arguments command
- Added support for keywords with embedded arguments
- Added support for BDD style
- Documented limitation: No localization
Returns command
- Added support for keywords with embedded arguments
- Added support for BDD style
- Documented limitation: No localization
Variables command
- Added support for typed variables
- Documented limitation: No localization
Automatic changelog
- Support typed variables by @Lakitna in #61
- Suite files must have test section by @Lakitna in #64
- Support resource import keywords by @Lakitna in #65
- Add usage gifs to docs by @Lakitna in #70
- Support embedded keyword args by @Lakitna in #71
- Support curdir in import paths by @Lakitna in #72
- Support bdd syntax by @Lakitna in #80
- Document: no localization by @Lakitna in #81
- Bumped version to 0.6.0 by @Lakitna in #83
Full Changelog: v0.5.0...v0.6.0
v0.5.0
Manual changelog
- Migrated from
poetrytouv - Glob patterns in CLI arguments are no longer automatically resolved to a list of files
- Small documentation changes
Files command
- Added new command
files🚀- Find unused files
- Get file use count
- Visualize the full import tree for any test suite file (
.robotfile)
Keywords command
- Minor output changes
- Added
[ Note ]to glob filter message
- Added
Arguments command
- Minor output changes
- Added
[ Note ]to glob filter message
- Added
Returns command
- Minor output changes
- Added
[ Note ]to glob filter message
- Added
Automatic changlog
- Migrate to uv by @Lakitna in #58
- Add command unused files by @Lakitna in #59
- Bumped version to 0.5.0 by @Lakitna in #60
Full Changelog: v0.4.0...v0.5.0
v0.4.0
Manual changelog
Variables command
- Variable defined in a variables files are now counted.
- Supports all types of variable files. Variable files are executed to achieve this.
- Variables used with extended variables syntax are now counted.
- Variables with other variables in their name are now counted in most cases.
- Updated limitations to reflect the new, reduced, limits.
Automatic changlog
- Read variables imported through a variables import by @Lakitna in #46
- Count extended variables syntax by @Lakitna in #48
- Variables refactor to 2 stage by @Lakitna in #51
- Variables count nested variables by @Lakitna in #56
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Manual changelog
Features
- All commands
- Now exits with error when no files are parsed
- Changed output logs
- Now warning when nothing was counted
- Added double verbose (e.g.
--verbose --verboseor-vv) - Rewrote log lines
- Process now exits with exit code
- Exit code == number of unused keywords/returns/variables/arguments
- Maximum exit code: 200
- When the program runs into a bad state, it exits with code 250
- Exit code == number of unused keywords/returns/variables/arguments
- Reduced dependency on Robocop
- Now only used for initial file discovery
- Returns command
- Removed limitation: Library keywords are now included
- Removed limitation: Downloaded library keywords can now be included
- Keywords command
- Remove limitation: Can now output unused keywords of downloaded library keywords
- Arguments command
- Remove limitation: Can now output unused keywords of downloaded library keywords
Documentation
- Updated Readme
- Command line options now reflect reality
- Added newly added command line options
Tests
- Updated internal testing framework
- Improved tests
Automatic changlog
- Refactor and change output by @Lakitna in #35
- Exit with exit code by @Lakitna in #36
- Docs/add missing cli flags by @Lakitna in #37
- Remove returns limitation library keywords are ignored by @Lakitna in #41
- Test with multiple robotframework versions by @Lakitna in #42
Full Changelog: v0.2.0...v0.3.0