Skip to content

[AIDE-121] Update Packages - #94

Merged
chandlerhuff merged 7 commits into
mainfrom
feature/AIDE-121-update-packages
Aug 29, 2026
Merged

[AIDE-121] Update Packages#94
chandlerhuff merged 7 commits into
mainfrom
feature/AIDE-121-update-packages

Conversation

@chandlerhuff

Copy link
Copy Markdown
Member

Summary

Upgrades the project's dependencies to current versions — most notably better-auth 1.6 → 1.7, jira.js 5.4 → 6.1, Next.js 16.2 → 16.3, Prisma 7.8 → 7.9, React 19.2.7 → 19.2.8, plus radix-ui, recharts, lucide-react, undici, and many dev tooling packages — and adapts the codebase to the breaking API changes introduced by the major bumps.

Changes

  • better-auth 1.7: Replaced the deprecated OAuth2 sign-in calls with the new social sign-in API — signInWithOAuth2/{providerId} → signInSocial/{provider} in the mobile OAuth start route (src/app/api/auth/mobile/oauth/start/route.ts) and the client-side login form (src/components/auth/auth-form.tsx). Updated the generic OIDC provider config: issueraccountIssuer, requireIssuerValidationrequireIdTokenVerification, and removed the obsolete genericOAuthClient client plugin.
  • jira.js 6.1: Migrated from the Version3Client/AgileClient class constructors to the new factory pattern — a single shared createClient() (jira.js/core) with the new auth.type: "basic" config shape, wrapped by createCloudClient() and createAgileClient() (src/services/jira/jira.service.ts). Renamed version3 to cloud across the service and all tests.
  • Jira API surface changes: Renamed searchForIssuesUsingJqlEnhancedSearchsearchAndReconsileIssuesUsingJql, switched getProject/getAllStatuses to projectIdOrKey, and addComment now takes body instead of comment.
  • Jira pagination: Replaced offset-based pagination (startAt/maxResults/total) with continuation tokens for JQL, board, and sprint issue loads — now driven by nextPageTokenandisLast. Added surfacing of structured JQL search warnings` and guards that stop pagination (with a warning) if Jira returns a repeated token.
  • Dependency housekeeping: Expanded .ncurc.json reject list (better-sqlite3, @babel/plugin-transform-runtime), added @babel/plugin-transform-runtime devDependency, added an overrides entry pinning @better-auth/core to 1.7.0, and bumped control-agent SDKs (@opencode-ai/sdk, @openai/codex-sdk, @anthropic-ai/claude-agent-sdk).
  • Tests updated for all renamed methods and the new pagination/token behavior.

Ticket: AIDE-121

@chandlerhuff chandlerhuff self-assigned this Aug 18, 2026
Upgrade dependencies across the workspace, including next, react, prisma, better-auth, and the control-agent SDKs, to pick up security and bug fixes.
Update better-auth 1.6.29 -> 1.7.0 and jira.js 5.4.0 -> 6.1.0, migrating call sites to the new APIs:

- better-auth: replace signInWithOAuth2 with signInSocial, rename providerId to provider, and adopt renamed OIDC options (issuer -> accountIssuer, requireIssuerValidation -> requireIdTokenVerification); drop the deprecated genericOAuthClient plugin.
- jira.js: build Cloud/Agile clients from a shared createClient() instance, replace comment with body, and use nextPageToken/isLast pagination with structured search warnings instead of startAt/total.
- Update ncu reject list for the new transitive toolchain packages.
Add .aikido and .npmrc configuration to enforce a minimum release age
for package upgrades, and update the upgrade scripts to apply the
release-age gate when installing and upgrading dependencies.
@chandlerhuff
chandlerhuff force-pushed the feature/AIDE-121-update-packages branch from 8f0a84a to 2d4d169 Compare August 28, 2026 17:25
Better Auth 1.7 scopes provider identities by issuer and account ID, so add a required issuer column and migrate existing accounts into a stable local namespace that preserves the previous providerId-based identity.

Also redact tokens, passwords, and secrets from Better Auth log output and standalone test logs.
Bump next to 16.3.3, prisma to 7.10.0, better-auth to 1.7.2, and other patch/minor releases across root and control-agent packages.
Remove the user-agent protocol version check from the Codex app-server handshake and its tests. The supported-version whitelist is no longer needed for the updated app-server dependency.
@chandlerhuff
chandlerhuff merged commit c4372e5 into main Aug 29, 2026
3 checks passed
@chandlerhuff
chandlerhuff deleted the feature/AIDE-121-update-packages branch August 29, 2026 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant