Skip to content

Cut 5098 sdk filter updates#96

Merged
jworkmanjc merged 5 commits intomasterfrom
CUT-5098_SDKFilterUpdates
Mar 31, 2026
Merged

Cut 5098 sdk filter updates#96
jworkmanjc merged 5 commits intomasterfrom
CUT-5098_SDKFilterUpdates

Conversation

@jworkmanjc
Copy link
Copy Markdown
Contributor

@jworkmanjc jworkmanjc commented Mar 26, 2026

Issues

What does this solve?

Some change in our V2 API resulted in queryFilter URLs like: https://console.jumpcloud.com/api/v2/systeminsights/users?filter[0]=system_id:eq:69835d723217d75a74edeec1&skip=0&limit=100 to no longer be supported.

This release addresses this issue by removing the number index in queryFilters and instead just writing queryFilter strings like: filter=something:eq:this&filter=somethingelse:eq:that

Both the V1 and V2 SDKs support this type filtering so now they should be similar in how multiple (or even single) filters are applied.

Is there anything particularly tricky?

How should this be tested?

Screenshots


Note

Medium Risk
Changes how Filter arrays are serialized into query strings for generated V1/V2 clients, which can affect request semantics and potentially break consumers relying on the previous filter[index]=... format. Remaining changes are version bumps and generated metadata/format updates with low functional risk.

Overview
Updates the PowerShell SDK build pipeline to rewrite AutoRest-generated C# so multi-value Filter parameters are sent as repeated query keys (filter=...&filter=...) instead of indexed keys, aligning V1 and V2 behavior and addressing recent V2 API incompatibility.

Improves BuildCustomFunctions.ps1 robustness by capturing npx autorest --version output even when AutoRest exits non-zero due to deprecation notices. Bumps module versions (V1 to 0.1.3, V2 to 0.2.1) and updates release notes plus regenerated V1 packaging/format metadata (manifest/nuspec/csproj and *.format.ps1xml view changes).

Written by Cursor Bugbot for commit 58b35ec. This will update automatically on new commits. Configure here.

@jworkmanjc jworkmanjc added patch Patch SDK Release Version V1 Release of the JumpCloud.SDK.V1 Module V2 Release of the JumpCloud.SDK.V2 Module labels Mar 26, 2026
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

@gweinjc gweinjc self-requested a review March 27, 2026 17:04
Copy link
Copy Markdown
Contributor

@gweinjc gweinjc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me

@gweinjc gweinjc requested a review from kmaranionjc March 27, 2026 17:12
@jworkmanjc jworkmanjc merged commit 82c20c1 into master Mar 31, 2026
18 checks passed
@jworkmanjc jworkmanjc deleted the CUT-5098_SDKFilterUpdates branch March 31, 2026 16:31
@jworkmanjc jworkmanjc deployed to PublishToPSGallery March 31, 2026 16:31 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Patch SDK Release Version V1 Release of the JumpCloud.SDK.V1 Module V2 Release of the JumpCloud.SDK.V2 Module

Development

Successfully merging this pull request may close these issues.

3 participants