Skip to content

Conversation

@jeffredodd
Copy link
Contributor

This PR restores the embedded-api upgrade that was temporarily reverted in PR #757.

What This Does

Reverts the revert commit (a9c1e50), which restores the original changes from commit 714b753:

  • Upgrades @gusto/embedded-api from 0.8.1 to 0.10.0
  • Updates PayrollConfiguration and PayrollEditEmployee components

When to Merge

DO NOT MERGE until after the release is complete.

This PR is in draft status and should only be moved to ready/merged after:

  1. The current release has been deployed
  2. The team is ready to include the embedded-api 0.10.0 upgrade in the next release cycle

Original Context

Files Affected

  • package.json (upgrade @gusto/embedded-api from 0.8.1 to 0.10.0)
  • package-lock.json (dependency tree updates)
  • src/components/Payroll/PayrollConfiguration/PayrollConfiguration.tsx
  • src/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.tsx

@socket-security
Copy link

socket-security bot commented Nov 5, 2025

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring alerts on:

  • typescript@5.9.3

View full report

@jeffredodd
Copy link
Contributor Author

@SocketSecurity ignore npm/typescript@5.9.3

@jeffredodd jeffredodd marked this pull request as ready for review November 5, 2025 18:48
Copilot AI review requested due to automatic review settings November 5, 2025 18:49
@jeffredodd jeffredodd force-pushed the restore/upgrade-embedded-api-0.10.0 branch from eecb451 to 3637b0c Compare November 5, 2025 18:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR restores the upgrade of @gusto/embedded-api from version 0.8.1 to 0.10.0 by reverting a previous revert commit. The upgrade adapts to API changes in the newer version by destructuring and excluding the reimbursements field from employee compensation transformations.

Key Changes:

  • Upgrades @gusto/embedded-api dependency from 0.8.1 to 0.10.0
  • Updates two component files to handle the new reimbursements field in PayrollEmployeeCompensationsType

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
package.json Updates @gusto/embedded-api dependency version from ^0.8.1 to ^0.10.0
src/components/Payroll/PayrollConfiguration/PayrollConfiguration.tsx Extracts reimbursements field in transformEmployeeCompensation function to exclude it from the spread operator
src/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.tsx Extracts reimbursements field in transformEmployeeCompensation function to exclude it from the spread operator

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jeffredodd jeffredodd merged commit c44da63 into main Nov 5, 2025
9 checks passed
@jeffredodd jeffredodd deleted the restore/upgrade-embedded-api-0.10.0 branch November 5, 2025 18:59
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.

2 participants