Skip to content

Release JumpCloud PowerShell Module v3.1.0#740

Merged
junioralmeida-82 merged 72 commits into
masterfrom
v3.1.0_pwshModule
May 12, 2026
Merged

Release JumpCloud PowerShell Module v3.1.0#740
junioralmeida-82 merged 72 commits into
masterfrom
v3.1.0_pwshModule

Conversation

@junioralmeida-82
Copy link
Copy Markdown
Contributor

@junioralmeida-82 junioralmeida-82 commented May 12, 2026

Issues

  • CUT-5114 - JumpCloud PowerShell Module Release v3.1.0

What does this solve?

Is there anything particularly tricky?

  • No. This PR follows the release strategy discussed to group multiple pending PRs into one version.

How should this be tested?

  • Import the module from this branch and verify version is 3.1.0.
  • Verify Connect-JCOnline supports the new Staging environment.

Note

Medium Risk
Moderate risk: introduces new SDK-backed cmdlets and changes group/policy retrieval paths plus environment host selection (including new STAGING), which can affect API routing and behavior across tenants.

Overview
Releases PowerShell module v3.1.0 by bumping JumpCloud.psd1/help version and exporting new cmdlets, alongside updated/generated docs.

Adds STAGING environment support in Connect-JCOnline and module init (JumpCloud.psm1), including new console/API host defaults and updated ValidateSet/docs for -JCEnvironment.

Expands group functionality to include Policy groups: Get-JCGroup now supports -Type Policy (new endpoints, case-sensitive name matching), Get-DynamicHash supports GroupType Policy, and introduces new SDK-based cmdlets for policy/user/system groups (e.g., Get/Set-JCUserGroup, Get/Set-JCSystemGroup, Get/New/Set/Remove-JCPolicyGroup, Get-JCPolicyGroupMember, Set-JCPolicyGroupMember) while removing the older hand-rolled policy group implementations.

Improves tooling/CI: workflow triggers on versioned branches, switches SDK module dependencies to latest, refactors module-install logic, updates Pester org secret wiring, and enhances SDK sync generation to clean autorest docs blocks, normalize links, and optionally alias/rename identity parameters when wrapping SDK cmdlets.

Fixes policy registry conversion to emit DWORD/QWORD values as decimal strings (with updated tests) to avoid numeric coercion issues.

Reviewed by Cursor Bugbot for commit 7d20dfc. Bugbot is set up for automated code reviews on this repo. Configure here.

@junioralmeida-82 junioralmeida-82 self-assigned this May 12, 2026
@junioralmeida-82 junioralmeida-82 requested a review from a team as a code owner May 12, 2026 13:35
@junioralmeida-82 junioralmeida-82 added minor minor version release PowerShell Module Release for JumpCloud PowerShell Module labels May 12, 2026
Comment thread PowerShell/Deploy/SdkSync/jcapiToSupportSync.ps1 Outdated
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

Reviewed by Cursor Bugbot for commit 7d20dfc. Configure here.

PESTER_PROVIDER_ID: ${{ secrets.PESTER_PROVIDER_ID }}
run: |
Set-Variable -Name PesterParams_ApiKeyMsp -Value "$env:PESTER_MSP_APIKEY" -Scope Global
Set-Variable -Name PESTER_ORGID -Value "$env:PESTER_MSP_ORGID" -Scope Global
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

CI references undefined environment variable for MSP org

High Severity

The Set-Variable on this line reads $env:PESTER_MSP_ORGID, but no environment variable named PESTER_MSP_ORGID is defined in the env: block. The block defines PESTER_ORGID (mapped to secrets.PESTER_MSP_ORGID), PESTER_APIKEY, PESTER_MSP_APIKEY, and PESTER_PROVIDER_ID. This means the PESTER_ORGID global variable will be set to an empty string, which could cause MSP test failures.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 7d20dfc. Configure here.

@gweinjc gweinjc self-requested a review May 12, 2026 16:15
@junioralmeida-82 junioralmeida-82 merged commit 2f71630 into master May 12, 2026
22 of 23 checks passed
@junioralmeida-82 junioralmeida-82 deleted the v3.1.0_pwshModule branch May 12, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor minor version release PowerShell Module Release for JumpCloud PowerShell Module

Development

Successfully merging this pull request may close these issues.

4 participants