Skip to content

Releases: luocfprime/labtasker

v0.2.13

26 Feb 13:21

Choose a tag to compare

Bug Fix

Fixed #79 #70

Full Changelog: v0.2.12...v0.2.13

v0.2.12

06 Aug 12:29

Choose a tag to compare

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

03 Aug 07:06

Choose a tag to compare

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

30 Jul 05:15

Choose a tag to compare

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_id field in TaskUpdateRequest when ignoring task failure in job_runner.py.

Full Changelog: v0.2.9...v0.2.10

v0.2.9

28 Jul 16:59

Choose a tag to compare

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 lt as short alias for labtasker command.
  • 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_pty and run_with_subprocess as 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_filter serialization 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

17 Jul 07:49

Choose a tag to compare

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() and is_enabled() functions to client API.
  • Improved client logging with module name field for better clarity.

Breaking Changes

  • TaskFetchRequest now includes a cmd field.

Full Changelog: v0.2.7...v0.2.8

v0.2.7

10 Jul 03:59
41c4dcb

Choose a tag to compare

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

09 Apr 09:45

Choose a tag to compare

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-pty option of labtasker loop
  • Graceful handling of KeyboardInterrupt
  • labtasker loop added --script-path option 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_choice exception handling when terminal is not available
  • Fixed --cmd option alias of labtasker loop command

Refactoring

  • Made ANTLR4 runtime a vendor package

Full Changelog: v0.2.5...v0.2.6

v0.2.5

01 Apr 05:39

Choose a tag to compare

New Feature

  • Support labtasker loop command specify shell executable via --executable option

Full Changelog: v0.2.4...v0.2.5

v0.2.4

29 Mar 07:54

Choose a tag to compare

New Features

  • Added labtasker-plugin-script-generate for bundled plugins.
  • labtasker loop allowing shell execution of commands using --cmd option (equivalent to shell=True)
  • Implemented piping support for labtasker loop command.
  • Implemented piping support for labtasker task delete and worker delete commands.
  • Added support for extra-filter query using task_id, worker_id, etc.
  • Enhanced exception formatting for labtasker loop job 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 LsRequest limit constraint (changed from >= 0 to > 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