You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduced an updateSchedule feature for stacks. This allows users to schedule automatic image updates by specifying a cron expression and timezone. If a user wants to remove the schedule, they can set it to null, or omit the property to keep it unchanged.
New Template Types
Added a new type field to the Template schema, allowing differentiation between 'component' and 'standalone' templates.
Enhancements
Documentation Updates
Clarification added to remarks for the declare-stack endpoint explaining which stack properties can be modified directly through this API version and which ones require separate PATCH requests.
Changes
Schema Modifications
The UpdateStackRequest and UpdateStackRequestBody classes now contain the updateSchedule property, allowing for the configuration of automatic updates.
A new class, UpdateStackRequestBodyUpdateSchedule, has been created to facilitate the handling of update schedules, including validation for cron and timezone formats.
The Template schema has been expanded to include a new required property type, which allows specification of the template's nature (either 'component' or 'standalone').
Class Updates
Methods have been added to manage the new updateSchedule property in the UpdateStackRequestBody class, including withUpdateSchedule, withoutUpdateSchedule, and getter methods.
The Template class has been updated to include methods for accessing the new type property, and its constructor has been modified to accept this new parameter.
New Files
Introduced TemplateType.php to define the enum for template types, ensuring stronger type safety and clarity in code related to templates.