Luna 2.0.10 and 2.1 Preview 4 are here

The patch and the Bootstrap 4.1 update

We originally said that it wasn’t going to happen in Luna 2.x but here we are… Luna 2.1 Preview 4 replaces Bootstrap 3.3 with Bootstrap 4.1. We also have a couple of other changes to tell you about. We’re also releasing a minor update for Luna 2.0 today.

Bootstrap 4

Preview 4 is very much ment to focus on just Bootstrap 4. And if you think “isn’t that just replacing the Bootstrap 3 package with the Bootstrap 4 package?”, you’d be wrong. Bootstrap 4 has some major changes compared to Bootstrap 3 and thus what followed was days of work.

Because we didn’t just update Boostrap 3 to 4 and changed a number of classes. No. We redid the entire markup and (S)CSS of Luna. For the Backstage as well as Fifteen and Sunrise. Yes, the Backstage’s design and Fifteen and Sunrise are rewritten. Completely.

Now, what does that mean for you? First of all, you’ll notice a number of small and big visual differences in both designs. One of these is the adaptation of a larger default font (16px instead of 14px) and some of the light fonts turning bolder.

For the Backstage specifically, it means that the hamburger menu is now gone as the navigation now fits on all screen sizes. It also means that we have an updated “About” page (the website also got a new design there). We also fixed a whole bunch of UI inconsistencies.

Meanwhile, Fifteen got a redesign too (and as a result, so did Sunrise). Both themes now use Bootstrap 4.1 and while the goal was to keep them mostly the same as the Luna 2.0-versions of these themes, there are a number of key differences:

  • Like Backstage, the design is now wider
  • The Editor has an entirely different design
  • Fonts, especially normal text, is now larger

We are still working on the UI for Backstage, Fifteen and Sunrise, expect minor adjustments to come as part of Preview 5.

Font Awesome and Prism

Font Awesome 5.1 was released during Preview 4’s development, and thus we’ve updated our included version of Font Awesome to version 5.1 (up from 5.0.13). Additionally, if you set Luna to use CDNs to get Bootstrap and jQuery, for Font Awesome a CDN will now be used as well as long as the Font Awesome Pro setting isn’t enabled (but that will likely change in the future).

Prism.js is the package that stands in for the syntax highlighting in code and this update bumps its version to 15.0 (up from 14.0). We’ve also added support for JSON and TypeScript to the package, as well as support for extended PHP.

Fluorescent Blue

You’ll also notice that this preview drops the “Fallow Preview” branding and insteads is called “Fluorescent Blue Preview”. We made this change because we want Luna 2.2 and onwards to be smaller updates that don’t necessarily need their own letter (G and so on) and wanted 3.0 really to be called Glitter.

So why “Fluorecent”? Well, turns out you can put 4 different colors behind it and still end up with an “official” color: Blue, Orange, Pink and Yellow. So there are the names of the (maximum) 4 next updates of Luna. These will be minor releases while most focus will go to Glitter and I honestly don’t even want to promise that we will get to Pink, never mind Yellow. Orange will most likely happen, though.

Other changes

  • The default user group can now be changed again
  • Pruning threads will no longer prune pinned threads by default
  • Some emoji have been updated to better represent their text counterpart (including 🙂 and :(, among others) – this will also come to Luna 2.0.11
  • When updating, Luna will now update the cookie bar url if it still uses the old default value
  • Enabling debug mode now works correctly for PostgreSQL
  • Updating to Luna 2.0 no longer causes ‘o_custom_css’ to start with “NULL” as value
  • Fixes a spacing issue with Inbox’s paper plane icons
  • Resolves a PHP error due to receivers in Inbox not being countable
  • Fixes a number of markup violations

Luna 2.0.10

Luna 2.0.10 introduces a number of fixes, these are the same bugfixes that are in Luna 2.1 Preview 4 that are not specific to Fluorescent Blue. Thus, here is what’s changing:

  • When updating, Luna will now update the cookie bar url if it still uses the old default value
  • The default user group can now be changed again
  • Enabling debug mode now works correctly for PostgreSQL
  • Updating to Luna 2.0 no longer causes ‘o_custom_css’ to start with “NULL” as value
  • Fixes a spacing issue with Inbox’s paper plane icons
  • Resolves a PHP error due to receivers in Inbox not being countable
  • Fixes an issue with Inbox’s paper plane icons

As always, make sure to make a back-up before upgrading!

More website and documentation updates

And to close it off, we paid some attention to the website. Today’s update includes our brand new “Release notes” page. This was one of the pages that still used the design from the old website, now we updated it and each release has gotten its own page as well (we also updated the sidemenu to make more clear that these are subpages).

And of course, we also updated our documentation yet again. Our focus was basically spread everywhere.