Skip to content

chore: release versions#475

Merged
jpoehnelt merged 1 commit intomainfrom
changeset-release/main
Mar 13, 2026
Merged

chore: release versions#475
jpoehnelt merged 1 commit intomainfrom
changeset-release/main

Conversation

@googleworkspace-bot
Copy link
Copy Markdown
Collaborator

@googleworkspace-bot googleworkspace-bot commented Mar 13, 2026

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/cli@0.14.0

Minor Changes

  • dc561e0: Add --upload-content-type flag and smart MIME inference for multipart uploads

    Previously, multipart uploads used the metadata mimeType field for both the Drive
    metadata and the media part's Content-Type header. This made it impossible to upload
    a file in one format (e.g. Markdown) and have Drive convert it to another (e.g. Google Docs),
    because the media Content-Type and the target mimeType must differ for import conversions.

    The new --upload-content-type flag allows setting the media Content-Type explicitly.
    When omitted, the media type is now inferred from the file extension before falling back
    to the metadata mimeType. This matches Google Drive's model where metadata mimeType
    is the target type (what the file should become) while the media Content-Type is the
    source type (what the bytes are).

    This means import conversions now work automatically:

    # Extension inference detects text/markdown → conversion just works
    gws drive files create \
      --json '{"name":"My Doc","mimeType":"application/vnd.google-apps.document"}' \
      --upload notes.md
    
    # Explicit flag still available as an override
    gws drive files create \
      --json '{"name":"My Doc","mimeType":"application/vnd.google-apps.document"}' \
      --upload notes.md \
      --upload-content-type text/markdown

Patch Changes

  • 945ac91: Stream multipart uploads to avoid OOM on large files. File content is now streamed in chunks via ReaderStream instead of being read entirely into memory, reducing memory usage from O(file_size) to O(64 KB).

@googleworkspace-bot googleworkspace-bot added area: distribution area: docs cla: yes This human has signed the Contributor License Agreement. labels Mar 13, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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 automates the release of @googleworkspace/cli to version 0.14.0 via the Changesets GitHub action. The primary functional update included in this release is the addition of a new flag and improved MIME type handling for Google Drive multipart uploads, facilitating better support for import conversions.

Highlights

  • @googleworkspace/cli Minor Release: Version 0.14.0 of @googleworkspace/cli has been released, introducing the --upload-content-type flag and smart MIME inference for multipart uploads to Google Drive. This enhancement improves import conversions by allowing explicit control over the media Content-Type and inferring it from file extensions, aligning with Drive's target/source MIME model.
Changelog
  • .changeset/upload-content-type.md
    • Removed the changeset file after its content was incorporated into the CHANGELOG.md.
  • CHANGELOG.md
    • Added version 0.14.0 entry with details about the --upload-content-type flag and smart MIME inference for multipart uploads.
Activity
  • This pull request was automatically opened by the Changesets release GitHub action to prepare for a new package release.
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 Generative AI Prohibited Use Policy, 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
Copy Markdown
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 pull request is an automated release PR for version 0.14.0. The changes correctly update the version across Cargo.toml, Cargo.lock, and package.json, and update the CHANGELOG.md. I've added one comment regarding the clarity of the changelog entry, as the new feature described doesn't seem to be implemented in the related +upload helper command, which could cause confusion for users.

@github-actions github-actions bot added the gemini: reviewed Gemini Code Assist has reviewed the latest changes label Mar 13, 2026
@googleworkspace-bot
Copy link
Copy Markdown
Collaborator Author

/gemini review

Copy link
Copy Markdown
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 pull request, generated by the Changesets release action, prepares for the release of version 0.14.0. The changes include updating the version number in Cargo.toml, Cargo.lock, and package.json, and moving the release notes for the new --upload-content-type feature into CHANGELOG.md. The changes are consistent with an automated release process. No issues were found in the submitted changes.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.81%. Comparing base (945ac91) to head (82b13d5).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #475   +/-   ##
=======================================
  Coverage   67.81%   67.81%           
=======================================
  Files          38       38           
  Lines       17136    17136           
=======================================
  Hits        11621    11621           
  Misses       5515     5515           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions github-actions bot removed the gemini: reviewed Gemini Code Assist has reviewed the latest changes label Mar 13, 2026
@googleworkspace-bot
Copy link
Copy Markdown
Collaborator Author

/gemini review

Copy link
Copy Markdown
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 pull request is an automated release generated by the Changesets action. It correctly bumps the package version to 0.14.0, updates the CHANGELOG.md with the recent feature additions and bug fixes, and adjusts version numbers in Cargo.toml, Cargo.lock, and package.json. The changes are consistent and appropriate for a release. I found no issues to report.

@github-actions github-actions bot added the gemini: reviewed Gemini Code Assist has reviewed the latest changes label Mar 13, 2026
@jpoehnelt jpoehnelt merged commit f8bcb35 into main Mar 13, 2026
34 checks passed
@jpoehnelt jpoehnelt deleted the changeset-release/main branch March 13, 2026 21:02
shigechika pushed a commit to shigechika/gws-cli that referenced this pull request Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: distribution area: docs cla: yes This human has signed the Contributor License Agreement. gemini: reviewed Gemini Code Assist has reviewed the latest changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants