Skip to content

v0.1.1

Choose a tag to compare

@luocfprime luocfprime released this 01 Mar 10:22
· 413 commits to main since this release

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

  1. Unix End of Option Delimiter -- Support for CLI

    • The CLI now supports the Unix-style -- end of option delimiter.
    • Example usage: labtasker task submit -- --foo.bar hi via positional arguments, which gives you {"foo": {"bar": "hi"}} as task args.
  2. Improved CLI Quiet Mode

    • Enhanced quiet mode for CLI to be more script-friendly for bash users.

Bug Fixes

  1. Exception Filter Hook Fix

    • Resolved an issue where the exception filter hook was overridden by Typer's exception hook. Added a configuration option to enable it explicitly.
  2. Database Key Parsing

    • Automatically parses dot-separated keys in dictionaries as nested structures.
    • Example: {"foo.bar": "hi"} -> {"foo": {"bar": "hi"}} to align with MongoDB principles.
  3. Queue Conflict Error Handler

    • Added a handler for HTTP_409_CONFLICT exceptions, providing human-readable error messages. Refactored handling into Typer’s error decorator for extensibility.

Documentation

  1. More Detailed Guidance
    • Added more detailed information on when and where to use certain features.

Full Changelog: [GitHub Compare v0.1.0...v0.1.1](v0.1.0...v0.1.1)