Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mittwald/api-client from 2.1.44 to 2.1.58 #179

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 5, 2024

Bumps mittwald/api-client from 2.1.44 to 2.1.58.

Release notes

Sourced from mittwald/api-client's releases.

v2.1.58

Features Removed

  • Removed ContainerClient and its implementation from the API client, which previously allowed management of stacks, containers, volumes, and registries.
  • Removed NexusClient and its implementation, which managed Nexus workspaces.
  • Removed TaskClient and its implementation, which was responsible for managing tasks for users and departments.

This release streamlines the API client by eliminating several unused or redundant clients, simplifying its interface for users.

v2.1.57

Bugfixes

Pagination Parameters in Requests

A previous release erroneously added required constructor parameters for pagination parameters.

In this release, all of the affected request classes have been updated to include default values for pagination parameters. The implementation sets default values for limit, skip, and page fields, restoring backwards compatibility to the original implementation.

  • InvoiceListCustomerInvoicesRequest: The limit is set to 1000 and skip to 0.
  • ListCustomersRequest: The default limit is 1000 and skip is 0.
  • IngressListIngressesRequest: Now defaults to a limit of 10000 and skip of 0.
  • SuggestRequest: Set domainCount defaults to 6.
  • ListDeliveryBoxesRequest: Added pagination with limit, skip, and page having defaults of 10000, 0, and null respectively.
  • ListMailAddressesRequest: Similar pagination implementation with default values.
  • ListProjectsRequest: Sets limit to 10000 and skip to 0 by default.
  • ListServersRequest: Defaults now include limit of 10000, skip of 0, and page set to 1.

Updated Constructors

Many classes have streamlined constructor definitions. The previous definitions required direct initialization of pagination parameters, which is now automatically handled with defaults.

Improved Readability & Safety

In several classes, internal flags such as disabled, pendingInstallation, and pendingRemoval are now set to false by default, which enhances clarity and safety within the initialization logic.

New Methods for Pagination

New methods like withLimit, withSkip, and withPage have been added to classes managing various requests, enabling easy and safe parameter modifications while ensuring validation is performed.

Implementation of these features will provide a more user-friendly API and better default behavior for developers working with client requests in this library.

v2.1.56

Added

  • Introduced a new isEmployee property in both User and UserInternal schemas.
    • This property indicates whether the user is a Mittwald employee, represented as a boolean value.

Updated

  • Added getter methods for isEmployee in both models to facilitate data retrieval.
  • Implemented withIsEmployee and withoutIsEmployee methods for mutable operations on the isEmployee property.
  • Updated input and output serialization to include the isEmployee field, ensuring it's properly handled during data processing.

v2.1.55

... (truncated)

Commits
  • 20a4764 refactor: remove unused Container, Nexus, and Task clients from V2 API client...
  • d4b925b fix: set default values for limit and skip in request classes
  • a9123c3 feat: add isEmployee property to User and UserInternal schemas
  • 91ffbbc feat: add pendingInstallation and pendingRemoval properties to ExtensionInstance
  • 250beba feat: add token support to file request classes
  • 6be5af3 refactor: remove MetricsClient and MetricsClientImpl, update Client interface...
  • c4f9c02 refactor: remove redundant description from IngressUpdateIngressTlsRequest an...
  • c94cd09 feat: add metrics client and replace database functionality
  • 1503397 Disable psalm warnings for usage of deprecated properties
  • b8372e7 feat: add new clients and last message support to conversation schema
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mittwald/api-client](https://github.com/mittwald/api-client-php) from 2.1.44 to 2.1.58.
- [Release notes](https://github.com/mittwald/api-client-php/releases)
- [Commits](mittwald/api-client-php@v2.1.44...v2.1.58)

---
updated-dependencies:
- dependency-name: mittwald/api-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Sep 5, 2024
@github-actions github-actions bot enabled auto-merge September 5, 2024 07:19
@github-actions github-actions bot merged commit 9353524 into master Sep 5, 2024
8 of 9 checks passed
@dependabot dependabot bot deleted the dependabot/composer/mittwald/api-client-2.1.58 branch September 5, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant