Repository navigation
v2.2.8
New Activity Log Schemas
Added comprehensive auto-generated PHP schema classes for container activity log events, enabling robust tracking and handling of container lifecycle and configuration changes. These schemas provide structured data models for both before and after states, along with contextual parameters and strict JSON schema validation, all generated via the mittwald/api-client-builder toolchain.
Container Lifecycle Events
container.startedcontainer.stoppedcontainer.restartedcontainer.recreated
Container Configuration & State Changes
container.command-updated: Tracks changes to container execution commands.container.description-updated: Logs updates to container descriptions.container.entrypoint-updated: Records modifications to container entrypoint configurations.container.envs-updated: Monitors changes to environment variables.container.image-updated/container.image-pulled: Captures image reference and digest updates.container.ports-updated: Tracks port mapping changes.
Schema Features & Capabilities
- Immutable Builder Pattern: Each schema class supports fluent
with*methods for safe state mutations without side effects. - Strict Validation: Built-in JSON schema validation with detailed error reporting via
validateInput(). - Serialization Support: Seamless conversion to/from JSON via
toJson()andbuildFromInput(). - Contextual Parameters: All events include standardized metadata (
container,serviceName,shortId,stack) for precise tracing across services and stacks. - Namespace Organization: All new classes reside under
Mittwald\ApiClient\Generated\V2\Schemas\Activitylog.