-
-
Notifications
You must be signed in to change notification settings - Fork 79
1.20.0 #385
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… OF THAT BEFORE, THIS IS SO MUCH FASTER
1 task
…nt and next 16 makes it so much easier
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog
This release will upgrade Jotty from next 14 to the latest 16.
I had to do this due to some concerning security issues that happened in React, Vercel fixed them from Next 15 and above but didn't apply a fix to Next 14, it was about time (I was dreading this lol)
This however means we now use an entirely different system for the PWA, which means... WE HAVE OFFLINE CACHING, in read mode only, for now, but this means if you visit a page on your pwa, it'll stay cached for 30 days. So if you go offline you'll be able to still visit any note/checklist you previously visited.
bugfixes
features
minor features
major features
optimisations
I have spent quite a bit of time refactoring things, it now shouldn't matter if you have 10 or 1000 files in your system, the speed difference should be laughable.
grepinstead of cross matching all notes metadata, this is almost instantaneous, should make a HUGE improvement in performance, especially if you have a lot of notes/checklistssedto only fetch the yaml from the markdown files frontmatterBeen testing locally with 500 markdown files
security
small note on offline caching
I know we all want offline write operation, I truly want to make it happen but due to the nature of Jotty and the lack of database making it happen is a whole different beast, I wish I had done this from the get go but I would NEVER thought my little app would grow to this extent.
Here's a breakdown of what Jotty would need to make this happen:
Feel free to fork and help out with it, and let's see if we can all make it happen together