Labtasker

Latest version: v0.2.5

Safety actively analyzes 723144 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.1.3

New Features

- **Custom Resolver via Annotation**: Labtasker now automatically parses the required fields from annotation or default kwarg value and inject them dynamically. (Like `def main(arg1: int = Required(), arg2: int = Required()):`). See more in the documentation.
- **Version Checker**: Added automatic version checking against PyPI that runs once per day
- Added `"*"` option for required_fields to allow arbitrary task arguments
- Added plugin install via `pip install labtasker[plugins]`
- Enhanced validation on args, metadata, and summary keys

Bug Fixes

- **Fixed Labtasker fetch_task required_fields bug (Breaking change: now only accepts list of str)**

Documentation

- Updated demo scripts
- Updated usage about custom resolver

Other Changes

- Restructured tests and added new tests for complex fetching behavior
- Moved plugins to a separate repository

**Full Changelog**: https://github.com/fkcptlst/labtasker/compare/v0.1.2...v0.1.3

0.1.2

> [!WARNING]
> This release is yanked because of a bug in fetch_task.
> The issue prevents certain eligible tasks from being retrieved during the fetching process,
> resulting in missed tasks that should have been included in the results.
> You should update to a newer version.

New Features

- **Added Windows system support.**
- Added unit test matrix for different operating systems
- Improved CLI with friendlier help messages and `-h` alias for `--help`
- Added command aliases for better usability
- Enhanced/refactored `labtasker task update` to support positional arguments for update parameters (via unix end-of-option delimiter -- for CLI commands)
- Enabled `labtasker loop` CLI to accept commands via positional arguments (same as above)

Bug Fixes

- Fixed Windows compatibility for labtasker config editor and exception filtering
- Disabled `test_heartbeat.py` on macOS GitHub Actions due to timer inaccuracy
- Resolved `shlex.split(None)` error in Python ≥3.13
- Fixed task submission with proper fallback and default priority
- Improved parameter parsing with proper literal evaluation
- Fixed task update via CLI bug

Deprecations

- Deprecated passing strings to `parse_extra_opt` as `args` argument
- Deprecated passing strings to `cmd_interpolate` as `cmd` argument

Documentation

- Updated usage manual
- Fixed documentation link anchors
- Clarified the "no more, no less" rule

Other Changes

- Now specifies queue/task update with explicit 'merge' and 'replace' strategies
- Refactored `labtasker task --update/-u` logic to accept string option lists, also syntax fix

**Full Changelog**: https://github.com/fkcptlst/labtasker/compare/v0.1.1...v0.1.2

0.1.1

New Features

- Added support for bash parameter expansion syntax.

Improvement

- Added quotes arount `submit` to prevent unintended behavior.

**Full Changelog**: https://github.com/luocfprime/labtasker-plugin-script-generate/compare/v0.1.0...v0.1.1

0.1.0

First Release
- Implemented basic functionalities of splitting wrapper scripts into submit and run.

**Full Changelog**: https://github.com/fkcptlst/labtasker-plugin-script-generate/commits/v0.1.0

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.