Skip to content

public some resume v2 func for ts#447

Merged
YangSen-qn merged 1 commit intoqiniu:masterfrom
YangSen-qn:master
Jan 27, 2026
Merged

public some resume v2 func for ts#447
YangSen-qn merged 1 commit intoqiniu:masterfrom
YangSen-qn:master

Conversation

@YangSen-qn
Copy link
Contributor

No description provided.

@qiniu-prow qiniu-prow bot added the size/L label Jan 27, 2026
@gemini-code-assist
Copy link

Summary of Changes

Hello @YangSen-qn, 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!

此拉取请求主要扩展了对象存储服务中分片上传功能的TypeScript定义,引入了针对V2版本分片上传的多种新接口,包括通过数据流和本地文件进行上传的方法。这些新增的接口旨在提供更灵活、更明确的分片上传操作,并优化了 PutExtra 参数的创建方式,从而提升了开发体验和功能完整性。

Highlights

  • 新增分片上传V2接口: 为对象存储服务新增了多个分片上传V2版本的接口,包括通过数据流上传的 putStreamV2,以及通过本地文件上传的 putFileV2putFileWithoutKeyV2,以提供更灵活的上传方式。
  • 优化PutExtra创建: 为 PutExtra 类添加了静态创建方法 PutExtra.create,简化了 PutExtra 对象的构造和参数设置,提升了开发体验。
  • 更新版本与日志: 将项目版本号从 7.15.0 更新至 7.15.1,并在 CHANGELOG.md 中记录了本次更新的主要内容,即开放了部分分片上传接口。
  • 代码格式化: 对 index.d.ts 文件中的多处类型定义进行了格式化调整,增加了空行以提高代码的可读性和整洁性。

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

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

@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

The pull request introduces new V2 multipart upload functions (putStreamV2, putFileV2, putFileWithoutKeyV2) and a static factory method (PutExtra.create) to facilitate their use. The CHANGELOG.md and package.json updates correctly reflect the version bump and the new features. Most new type definitions are well-documented, and the numerous formatting changes improve consistency across the index.d.ts file.

@YangSen-qn YangSen-qn merged commit 9b613a6 into qiniu:master Jan 27, 2026
8 of 9 checks passed
@codecov
Copy link

codecov bot commented Jan 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 23.45%. Comparing base (5188200) to head (c187460).
⚠️ Report is 9 commits behind head on master.

❌ Your project status has failed because the head coverage (23.45%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #447       +/-   ##
===========================================
- Coverage   86.14%   23.45%   -62.70%     
===========================================
  Files          27       33        +6     
  Lines        2173     2294      +121     
  Branches      474        0      -474     
===========================================
- Hits         1872      538     -1334     
- Misses        301     1756     +1455     

see 25 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant