Closed juliusmarminge closed 4 weeks ago
Latest commit: b7bfe56432fc919da7f6057bb296c4236718f86c
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
docs-uploadthing | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Oct 29, 2024 7:27pm |
[!WARNING]
Rate limit exceeded
@juliusmarminge has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 11 minutes and 8 seconds before requesting another review.
β How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.π¦ How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.π₯ Commits
Files that changed from the base of the PR and between 8a3632c1ce0baddd0b801c09b7afbe8fd88a9ce8 and b7bfe56432fc919da7f6057bb296c4236718f86c.
The changes primarily enhance the documentation for file uploads to UploadThing. A new section detailing the generation of valid file keys has been added, including code snippets in multiple programming languages. The documentation structure has been improved with tabs for easier navigation. Additionally, updates were made to the generateKey
function syntax, and modifications were introduced to the rehypeShiki
function to support syntax highlighting for Go and PHP. Overall, these changes aim to improve clarity and usability for developers.
File Path | Change Summary |
---|---|
docs/src/app/(docs)/uploading-files/page.mdx | Added a new section on generating valid file keys with code snippets in JavaScript, Python, PHP, and Go; modified generateKey function from arrow to standard function; clarified server-side upload process and added caution about parameter matching. |
docs/src/mdx/rehype.js | Updated rehypeShiki function to include "go" and "php" in the syntax highlighting capabilities. |
uploadRouter
and file uploading functionality.examples
In the land of code where rabbits play,
New keys for uploads brighten the way.
With snippets in paws, we hop and we cheer,
For clearer docs bring us all near!
So letβs share our wisdom, both far and wide,
In the world of UploadThing, letβs take pride! πβ¨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Bundle | Size (gzip) | Visualization |
---|---|---|
Main | 27.50KB | See Treemap π |
PR (20bf7960a5dc69a14c7871ce5fefcdcf49216f57) | 27.50KB | See Treemap π |
Diff | No change |
idk what other langs to include π ruby?
I think ruby and Java are probably the two other big ones. I have had a surprising number of people ask about dotnet too, but I don't think there is really demand there
and Java
god do i have to install java on my system...
TODO
/v7/prepareUpload
endpoint https://github.com/pingdotgg/uploadthing-infra/pull/584Summary by CodeRabbit
Documentation
/v7/prepareUpload
REST endpoint.Bug Fixes
generateKey
to improve clarity in the documentation.Chores