brave / ads-ui

Self-service ads UI
Mozilla Public License 2.0
23 stars 11 forks source link

Production Release 2024-08-08 #1311

Closed IanKrieger closed 1 month ago

IanKrieger commented 1 month ago

Fixes

Chores

Other

github-actions[bot] commented 1 month ago

[puLL-Merge] - brave/ads-ui@1311

Description

This PR includes several dependency updates and some minor code changes. The main updates are to various MUI packages, TypeScript-related packages, and testing libraries. There are also some changes to the checkout process and error handling.

Changes ### Changes 1. package.json: - Updated multiple dependencies including @apollo/client, @fontsource/inter, MUI packages, and development dependencies. 2. pnpm-lock.yaml: - Updated to reflect the changes in package.json. 3. renovate.json: - Changed `postUpdateOptions` from "npmDedupe" to "pnpmDedupe". 4. src/checkout/hooks/useValidatePaymentSession.ts: - Renamed `fetchPaymentSession` to `validatePaymentSession`. 5. src/checkout/lib/index.ts: - Refactored `validatePaymentSession` function to use PUT method with a JSON body instead of query parameters. 6. src/components/Assets/hooks/useGetImagePreviewUrl.ts: - Removed unused error parameter in catch block.

Possible Issues

The changes to the validatePaymentSession function in src/checkout/lib/index.ts might require corresponding updates on the server-side to handle the new request format.

Security Hotspots

No significant security issues were identified in this change set. However, it's always a good practice to review dependency updates for any potential vulnerabilities.