-
Notifications
You must be signed in to change notification settings - Fork 205
@tus/server: make upload-offset a string #752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: 89edc80 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughThis change updates the response header setting in the Changes
Assessment against linked issues
📜 Recent review detailsConfiguration used: .coderabbit.yml 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
d26b0b2
to
a67eb1a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.changeset/happy-countries-ring.md (1)
5-5
: Refine the Fix DescriptionThe commit message "fix bug: upload-offset header should be string" accurately reflects the change. For improved clarity and grammatical consistency, consider adding the article "a" before "string". If you agree, you might update it as follows:
-fix bug: upload-offset header should be string +fix bug: upload-offset header should be a stringNote: The static analysis hint from LanguageTool appears to be a false positive in this context—please disregard it if the message remains clear.
🧰 Tools
🪛 LanguageTool
[grammar] ~5-~5: Did you mean “strung”?
Context: ...fix bug: upload-offset header should be string(SHOULD_BE_DO)
📜 Review details
Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.changeset/happy-countries-ring.md
(1 hunks)packages/server/src/handlers/PatchHandler.ts
(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- packages/server/src/handlers/PatchHandler.ts
🧰 Additional context used
🪛 LanguageTool
.changeset/happy-countries-ring.md
[grammar] ~5-~5: Did you mean “strung”?
Context: ...fix bug: upload-offset header should be string
(SHOULD_BE_DO)
🔇 Additional comments (1)
.changeset/happy-countries-ring.md (1)
1-3
: Version Bump Documentation VerificationThe front matter clearly documents the version update with
"@tus/server": minor
, which aligns with the intended minor version bump for this bug fix. No issues found here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
* 'main' of https://github.com/tus/tus-node-server: @tus/server: make upload-offset a string (#752)
Resolves #751 by simply converting the type of "Upload-Offset" header value from number to string.