Skip to content

v2.1.168

Choose a tag to compare

@mittwald-machine mittwald-machine released this 08 Jan 19:10
· 17 commits to master since this release

Features

Added Support for Time Zones

  • The API now includes an endpoint to list valid time zones, enhancing functionality for scheduling tasks.
  • Added parameters for time zone and concurrency policy in cron job creation and update methods.

Concurrency Policy Enhancements

  • Introduced a ConcurrencyPolicy enum to define how concurrent executions of cron jobs are handled.
  • Updated cron job schemas to include concurrency policy and time zone settings.

Deprecated Features

Aborted Execution Method Deprecated

  • The abort execution method for cron jobs has been deprecated and replaced with a new method that acknowledges the feature's unavailability but maintains compatibility with previous calls.

Changes in API Client

CronjobClient Modifications

  • Removed the abortExecution method and introduced deprecatedCronjobAbortExecution, which documents that the feature is currently unavailable.
  • Updated the CronjobClientImpl and associated methods to adapt to the deprecation.

MiscellaneousClient Modifications

  • Added a method for listing time zones, miscellaneousListTimeZones, that utilizes the new endpoint.
  • Adjusted response handling for this new method to accommodate error responses.

Structural Changes

New Request and Response Classes

  • Added classes to manage requests and responses related to time zones, including:
    • MiscellaneousListTimeZonesRequest
    • MiscellaneousListTimeZonesDefaultResponse
    • MiscellaneousListTimeZonesTooManyRequestsResponse

Schema Updates

  • Modified existing schemas for cron jobs to incorporate new properties for concurrency policies and time zones.
  • Provided additional fields in cron job execution schemas.

Removal of Redundant Code

  • Cleaned up unused code and references to the now-removed abort execution functionality throughout various files, streamlining the project.

This release strengthens the ability to manage cron jobs effectively by adding support for essential features like time zones and task execution policies while deprecated features are organized to minimize disruption.