Releases: luocfprime/labtasker
Releases · luocfprime/labtasker
v0.2.13
v0.2.12
Important
Server Changes: It is recommended to update both server and client to the latest version.
Changes
- Refresh heartbeat now checks worker_id. An error will occur if refresh heartbeat worker_id does not match the id of the assigned worker.
- Add self-transitions for failed and crashed states.
Full Changelog: v0.2.11...v0.2.12
v0.2.11
New Features
- Added validation for allowed_fields in query string.
- labtasker.loop and client http api now also accept Pythonic query str as extra_filter.
Changes
- Extended _network_err_retry timeout.
Full Changelog: v0.2.10...v0.2.11
v0.2.10
Changes
- refactor: Included more client http api.
- feat: Labtasker loop_run automatically deletes worker before exiting task loop.
Minor Fixes
- fix: Reset task summary to {} when task is fetched (pending -> running).
- fix: Removed redundant
worker_idfield in TaskUpdateRequest when ignoring task failure in job_runner.py.
Full Changelog: v0.2.9...v0.2.10
v0.2.9
Important
Breaking Changes: It is recommended to update both server and client to the latest version.
New Features
- Query filter support filter by date and time via function call like
date("a minute ago"). - Addition support for piped commands. E.g.
labtasker xxx | labtasker task update. - Added
ltas short alias forlabtaskercommand. - Added labtasker-plugin-task-recency as built-in plugin.
Documentations
- Updated detailed use cases of query filter.
Bug Fixes
- Fixed potential blocking by readline in
run_with_subprocess
Refactoring and Optimization
- Added
run_with_ptyandrun_with_subprocessas exposed API. - Added unkown field check for API models.
- Changed name: parse_timeout -> parse_time_interval to be more accurate.
Breaking Changes
- Added unkown field check for API models.
- API model
extra_filterserialization de-serialization change to support datetime (date(...)) - Changed name: parse_timeout -> parse_time_interval to be more accurate.
Full Changelog: v0.2.8...v0.2.9
v0.2.8
Important
Breaking Changes: It is recommended to update both server and client to the latest version.
Bug Fixes
- Fixed event functionality to properly return updated entity data.
Refactoring and Optimization
- Added
get_labtasker_log_dir()andis_enabled()functions to client API. - Improved client logging with module name field for better clarity.
Breaking Changes
TaskFetchRequestnow includes acmdfield.
Full Changelog: v0.2.7...v0.2.8
v0.2.7
What's Changed
- Updated minimum supported Python version to 3.10.
- Updated typer and click dependency for higher versions.
Full Changelog: v0.2.6...v0.2.7
v0.2.6
New Features
- Added pseudo-terminal support on POSIX-compliant systems to support ANSI control characters and progress bars of user scripts. This can be controlled via
--use-ptyoption oflabtasker loop - Graceful handling of KeyboardInterrupt
labtasker loopadded--script-pathoption support run from script files
Bug Fixes
- Command Parsing: Improved string command parsing with more consistent quotation behavior. String commands now apply quotes to interpolated variables
- List commands skip quoting as shlex has already handled lexing
- Fixed
make_a_choiceexception handling when terminal is not available - Fixed
--cmdoption alias oflabtasker loopcommand
Refactoring
- Made ANTLR4 runtime a vendor package
Full Changelog: v0.2.5...v0.2.6
v0.2.5
New Feature
- Support
labtasker loopcommand specify shell executable via--executableoption
Full Changelog: v0.2.4...v0.2.5
v0.2.4
New Features
- Added
labtasker-plugin-script-generatefor bundled plugins. labtasker loopallowing shell execution of commands using--cmdoption (equivalent toshell=True)- Implemented piping support for
labtasker loopcommand. - Implemented piping support for
labtasker task deleteandworker deletecommands. - Added support for
extra-filterquery usingtask_id,worker_id, etc. - Enhanced exception formatting for
labtasker loopjob subprocess failures, providing better interactive prompts (added exit choice, CTRL+C as the default option). - Added
/endpoint with a welcome message. - Introduced a task update check to verify length and order constraints.
Bug Fixes
- Fixed
LsRequestlimit constraint (changed from>= 0to> 0). - Resolved an issue with command-line quotation handling on Windows.
Refactoring and Optimization
- Changed a hard-coded ls response limit to a configurable option.
- Optimized import statements for improved code efficiency.
Full Changelog: v0.2.3...v0.2.4