Skip to content

Tags: PipedreamHQ/pipedream-sdk-java

Tags

v1.1.5

Toggle v1.1.5's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Fix typo in `ConfigurePropResponse` (#211)

The correct name for the "string options" field
is `stringOptions` instead of `string_options`.

---------

Co-authored-by: Jay Vercellone <jay@pipedream.com>

v1.1.4

Toggle v1.1.4's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Apps listing and project settings improvements (#210)

* Add support for the `has_components`, `has_actions`
  and `has_triggers` existing query params to filter
  apps listings
* Add support for the new `connect_require_key_auth_test`
  project setting, which verifies that new accounts
  for key-based apps are tested before creation.

---------

Co-authored-by: Jay Vercellone <jay@pipedream.com>

v1.1.3

Toggle v1.1.3's commit message

Verified

This commit was signed with the committer’s verified signature.
jverce Jay Vercellone
Fix runtime issue with component deserialization

The `withLabel` property of configurable props is conflicting with the
`label` property also present in the same schema:

```
Caused by: com.fasterxml.jackson.databind.JsonMappingException:
Conflicting/ambiguous property name definitions (implicit name
'label'): found
multiple explicit names: [withLabel, label]...
```

This change fixes the issue temporarily by ignoring the `withLabel`
setter during the payload deserialization.

v1.1.2

Toggle v1.1.2's commit message

Verified

This commit was signed with the committer’s verified signature.
jverce Jay Vercellone
Project management endpoints (#209)

This change adds support for managing projects
via the SDK. Users can now create, retrieve,
update, and delete projects programmatically.

---------

Co-authored-by: Jay Vercellone <jay@pipedream.com>

v1.1.1

Toggle v1.1.1's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Proxy improvements (#195)

* Handle non-JSON payloads and other response types
  in the Proxy

  The `proxy` module now supports non-JSON payloads.
  Since the downstream services that the Proxy can call
  do not necessarily respond with JSON content, the new
  logic will inspect the `Content-Type` header in the
  response to determine whether the payload should be parsed
  as JSON or returned back to the caller as a byte stream
  (especially useful for downloading files).

  ```java
  ProxyResponse response = client.proxy().get(url, request, requestOptions);
  // The SDK returns a stream for binary responses
  if (response.isStream()) {
      try (InputStream stream = response.stream();
          FileOutputStream fos = new FileOutputStream(outputPath)) {
          byte[] buffer = new byte[8192];
          int bytesRead;
          while ((bytesRead = stream.read(buffer)) != -1) {
              fos.write(buffer, 0, bytesRead);
          }
      }
      System.out.println("File downloaded to: " + outputPath);
  }
  ```

* Improve ergonomics for query parameters

  When passing query parameters to the downstream service, users had to
  previously encode them manually inside a `url` string. Now, every method in
  the Proxy clients accepts an `HttpUrl` instance, which allows users to
  build URLs with query parameters in a more ergonomic way:

  ```java
  HttpUrl url = HttpUrl.parse(GDRIVE_API_BASE)
    .newBuilder()
    .addPathSegment(fileId)
    .addQueryParameter("fields", "name,mimeType,size")
    .build();

  ProxyGetRequest request = ProxyGetRequest.builder()
    .externalUserId(externalUserId)
    .accountId(accountId)
    .build();
  ```

---------

Co-authored-by: Jay Vercellone <jay@pipedream.com>

v1.1.0

Toggle v1.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
jverce Jay Vercellone
Bump minor version

v1.0.5

Toggle v1.0.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
File stash downloads and stricter prop values (#128)

* Add new API to download files from a file stash
* Specify the possible prop values (instead of `Object`)

v1.0.4

Toggle v1.0.4's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Handle throttled responses (#115)

Handle responses with the `429 Too Many Requests`
status code.

---------

Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
Co-authored-by: Jay Vercellone <jay@pipedream.com>

v1.0.3

Toggle v1.0.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Type-related improvements (#106)

* Define the types for all configured and configurable
  props
* Fix the "observations" type when configuring a prop
* Add the `component_type` query param when listing
  components using the "generic" route/path

---------

Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>

v1.0.2

Toggle v1.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix the reload props response schema (#58)

* Fix the reload props response schema
* Add endpoint descriptions

Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>