This repository was archived by the owner on Jul 26, 2023. It is now read-only.
What's new? - Updated 2022/2/16 #325
spencerwooo
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🎉 This is a constantly updating page of new updates for this project. Also available at: Blog - What's new?.
2022/2/16
plyr:)2022/2/14 💞
Other than password protected routes, and raw file link redirect API, all other API routes are using Vercel edge caching mechanisms (fresh for 60 seconds):
Raw file link redirect API changed from
/api?path=<file>&raw=trueto/api/raw?path=<file>, no cache applied.Raw file link redirect API accepts the URL parameter
&odpt=<hashed_token>for password authentication. (Check: Docs - Protected folders).2022/2/10
🚀 A few performance boosts:
stale-while-revalidateoptions, so you should experience extremely faster load speed for folder listings.) Cache are valid for a hour on the edge. Check: #407 and Docs - Cache.👨💻 Code highlighting: we dropped dependency
Prism.js, syntax highlighting is now performed byreact-syntax-highlighter(usinghighlight.jsunder-the-hood. Support for different languages are imported asynchronous (so you may see a slight delay before the code is actually highlighted).🎸 Audio preview (music player) now shows the thumbnail of the album if available.
2022/2/8
🇨🇳/🇬🇧 - Project is i18n-ed
(Happy now?). Enjoy. 🥱🎥
.flvvideos are now supported.🔗 Links copied to your clipboards are now formatted in a human-readable way.
📅 You can now customise your date formats in
site.config.jsunderdatetimeFormat.2022/2/5
💠 Layout switching is now supported! Grid layouts with thumbnail previews are now available.
🗑 We have dropped usage of
react-viewerwhich is unperformant and causes high CPU usages.2022/2/2
🎥 We have dropped usage of
react-playerand is now usingreact-dplayerandreact-audio-playeras video and audio players respectively.🎇 We added thumbnail rendering for videos, see the difference:
💬 We added support for subtitles (closed captions), which are auto referenced if a valid subtitle file with the same name as the video and in
.vttwebvtt format is present.⚡️ We have migrated from
npmtopnpmas project's package manager for faster build speed and more efficient cache usage. You may need to update your Vercel's build commands:pnpm buildpnpm install2022/1/30
2022/1/29
.jsonto.config.js, relevant comments added. You can now moveuserPrincipleNameto Vercel's environment variables (to avoid exposing your email address publicly).?raw=trueroutes for OneDrive raw file links.2022/1/22
♻️ More changelogs.
2022/1/11
2022/1/10
2022/1/1
Beta Was this translation helpful? Give feedback.
All reactions