Skip to content

Conversation

@googleworkspace-bot
Copy link
Contributor

@googleworkspace-bot googleworkspace-bot commented Dec 1, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@googleworkspace/[email protected]

Patch Changes

  • 1a2fafb: Added Content Security Policy (CSP) guide and example.
  • c37edb5: Fix: injectScript now always injects a new script element to avoid race conditions with async loading. It also copies all attributes (including nonce and integrity) from any existing script tag to ensure CSP compliance.
  • 2f1276b: Update README to point to @googleworkspace/drive-picker-react for React usage.

@googleworkspace/[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @googleworkspace-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request facilitates an automated release process for the project's packages, primarily driven by the addition of a Content Security Policy (CSP) guide and example within the drive-picker-element. This change ensures that users can more easily integrate the Google Drive Picker into environments with strict security policies. The PR also includes corresponding version updates across related example projects and the React wrapper to maintain consistency and reflect the latest dependency changes.

Highlights

  • Automated Versioning: This pull request is an automated release PR generated by the Changesets GitHub action, preparing packages for publication to npm.
  • New CSP Guide and Example: The @googleworkspace/drive-picker-element package has been updated to include a Content Security Policy (CSP) guide and example, enhancing security configuration options.
  • Package Version Bumps: Multiple packages have received version bumps: @googleworkspace/drive-picker-element to 0.7.2, @googleworkspace/drive-picker-react to 0.1.3, csp-example to 0.0.1, and react-example to 0.1.3.
  • Dependency Updates: The csp-example and @googleworkspace/drive-picker-react packages have updated their dependencies to the new 0.7.2 version of @googleworkspace/drive-picker-element.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This PR, generated by the Changesets release action, correctly versions the packages and updates their changelogs. My review found a formatting issue in the README.md file for @googleworkspace/drive-picker-element where incorrect indentation in a list could lead to improper rendering of the documentation. I've provided a suggestion to fix the Markdown formatting. The rest of the changes are in order.

@jpoehnelt jpoehnelt enabled auto-merge (squash) December 4, 2025 18:48
@jpoehnelt jpoehnelt merged commit 225e03b into main Dec 4, 2025
14 checks passed
@jpoehnelt jpoehnelt deleted the changeset-release/main branch December 4, 2025 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants