Skip to content

Releases: ShindouMihou/Flora

v1.0.0-rc5

22 Jul 17:33
40d1633
Compare
Choose a tag to compare

This change introduces a wild variety of changes that especially focuses on bug fixes and quality of reading, improving the reading experience as much as possible:

  • Lowers the maximum width to 1368px for the entire blog layout, this is done to improve the quality of reading (reducing the stress in the eyes from reading long texts). (292b858)
  • Fixes a bug (unforeseen in the wild) where empty slug links would cause the homepage and other related to redirect to /posts/ instead of /posts/{_id}. (975bcc7)
  • Real-time updates will now auto-disengage when the post is published. (975bcc7)
  • Focus mode has been added (can be set as default via VITE_FOCUS_MODE=true in .env) which aims to bring the reader's focus into the post itself by making the enormous empty whitespace by reducing the blog layout into black bars, giving it a cinematic look at the same time. (this is configurable per-user setting). (only works in light mode and also in resolutions >= 1920x1080 because other resolutions doesn't have as much whitespace) (5e2751a)
  • Sveltekit is now updated to its latest version along with Svelte. (56563f4, 16997f1 and 67fd65e)
  • The layout of the homepage has been changed to display two posts grid, easing the visitor's eyes. (292b858 and 7430549)
  • Default modes are now initialized during onMount for the first time (if they don't have localStorage variants of the modes), this is due to an issue where Vite variables cannot be used in the app.html. (505d1aa)
  • Fixes an issue where the loading screen would cause an DOM manipulation failure in SvelteKit on high speed navigations. (40d1633)

Full Changelog: v1.0.0-rc4...v1.0.0-rc5

Related Screenshots

Focus Mode

image

New Grid Layout

image
image

v1.0.0-rc4

01 Jul 15:32
660e5ac
Compare
Choose a tag to compare

This change introduces a few new features that will make the posts cleaner and also some fixes to the editor:

  • Slug-based URLs are now supported but this is all manual, if you do not specify a slug then it will default to the id-based links. You can still use the id-based links but I don't recommend it unless you are sure that you don't need to migrate your data someday.
  • Fixes a cropping issue in the editor where the "Saving..." block is being clipped by the image preview.
  • Fixes an issue where the error messages from previous saves do not remove themselves.

⚙️ Updating
You can update from older versions by following the commands.

git pull && 
docker build -t flora . &&
docker kill flora && 
docker rm flora && 
docker run -d -i -t -p 3000:3000 --env-file .env --name flora flora:latest

Note

This assumes that your current directory is the Flora local clone (cd Flora).

v1.0.0-rc3

03 Jun 08:52
71913cc
Compare
Choose a tag to compare

The third release candidate of Flora brings some new notable aesthetic changes, features and fixes:

  • Inline code is no longer blacked-out text.
  • Images are now shown in large image for open-graph and meta description has been changed to use the first two sentences instead of (165) characters since the specifications mentions 1-2 sentences (https://ogp.me/#optional)
  • RSS feed is now implemented at /feed.xml and should be compatible with RSS feed readers.
  • Image blocks are now more beautiful with the alt text being shown.
  • Added credits at the end of each post, can be disabled on .env
  • Fixed the wide gaps on the bottom of text in blockquotes.
  • Realtime updates are now enabled for draft posts which show allow you to see your changes in near-real time (7 second refresh rate).
  • Added a new block element used for Checking for new content... in real-time updates and Saving... for the Floraic Editor.
Previews

image

image

image

⚙️ Updating
You can update from older versions by following the commands.

git pull && 
docker build -t flora . &&
docker kill flora && 
docker rm flora && 
docker run -d -i -t -p 3000:3000 --env-file .env --name flora flora:latest

Note

This assumes that your current directory is the Flora local clone (cd Flora).

v1.0.0-rc2

29 May 08:16
20ae590
Compare
Choose a tag to compare

The second release candidate for Flora which introduces another massive featureset:

  • Flora will no longer panic when it doesn't know what language a code block is using (or if the language specified is not found), it will now automatically search for the closest language in terms of syntax and display that otherwise does not highlight the codeblock at all.
  • Headings now act as anchor tags that redirect to the specific section of the page.
  • The notification for saving is more visible and clearer now compared to before.
  • The interface has been redesigned to be less rounded with the editor redesigned to be more nicer (although a bit messy?).
  • Flora now supports draft posts which are not visible to non-authenticated visitors (one can view the post as unauthenticated if they have the post link which is intended for others to help proof-read the post without the need to use a creator account).
  • Code blocks now show the language that is being highlighted.
  • The editor can now support tab spacing via the TAB key.
Changes

Creator Dashboard

Before
image

After
image

Editor

Before
image

After
image

Homepage

Before
image

After
image

Article Page

Before
image

After
image

⚙️ Updating

You can update from older versions by following the commands.

git pull && 
docker build -t flora . &&
docker kill flora && 
docker rm flora && 
docker run -d -i -t -p 3000:3000 --env-file .env --name flora flora:latest

Note

This assumes that your current directory is the Flora local clone (cd Flora).

v1.0.0-rc1

28 May 20:22
0d12672
Compare
Choose a tag to compare

This is the first release candidate for Flora which introduces the following features:

  • All posts will now display their creation dates and time on the HTTP API routes.
  • All posts will now have their creation dates displayed.
  • The homepage is now sorted by the latest posts to ensure the visitors get the latest posts instead of the oldest.
  • An error page is now available which should hide the bad error page that comes with Sveltekit.
  • You can now navigate to posts by using their titles, e.g. if you have a post titled "Hello World" then you can use /posts/hello world to get to the post. This uses MongoDB's full-text index (/api/posts?title=<title>) and uses the first result of the search to avoid collisions.
  • A back-to-top feature is now available and can be disabled whenever by setting VITE_BACK_TO_TOP environment variable to false (before building the Docker image).
  • You can now disallow the selecting of code in codeblocks by setting VITE_DISALLOW_SELECT_CODEBLOCKS to true which will prevent people from selecting the codeblocks. (It won't prevent inspect element people but that's a story for next time).
  • Print mode will no longer display the application name, navigation, flora banner and the back to the top button which should allow you to print your posts more neatly.

⚙️ Updating

You can update from older versions by following the commands.

git pull && 
docker build -t flora . &&
docker kill flora && 
docker rm flora && 
docker run -d -i -t -p 3000:3000 --env-file .env --name flora flora:latest

Note

This assumes that your current directory is the Flora local clone (cd Flora).

v0.9.9

27 May 16:37
1ecf5a0
Compare
Choose a tag to compare
Update README.md