Skip to content

v1.1.0

Compare
Choose a tag to compare
@nolanlawson nolanlawson released this 14 Feb 05:22
· 924 commits to master since this release

v1.1.0

New features

Web share target

You can now share from other apps to Pinafore when it's installed as a homescreen app. Currently this only works in Chrome for Android.

  • feat: implement web share target #980

Bugfixes

Reduced server-side memory usage

Typical server-side memory usage of Pinafore has been reduced from ~300MB to ~48MB.

There are new instructions in the README for admins who want to get the lightest possible footprint for Pinafore. The TL;DR is to run node server.js instead of either yarn start or npm start.

The bulk of the perf improvement will come whether or not you change this, though. Those who use Docker will also get all the benefits automatically.

  • perf: reduce server-side memory usage of Pinafore #973

Run Pinafore on a custom port

Previously, if you were trying to get Pinafore to run on a port other than 4002, it probably didn't work. Now it does; you can set it using e.g. PORT=1337 node server.js.

  • fix: fix port not defaulting to 4002, add server.js #976

Automatic dark mode

The dark theme is now the default if your OS is in dark mode. Currently this only works in Safari Technology Preview in macOS Mojave, but it's coming soon to Chrome and Firefox as well.

  • fix: set dark theme based on prefers-color-scheme #966

a11y: fix color contrast

The contrast has been increased for all the primary buttons ("TOOT!" etc.). This now gets us a 100% accessibility score from Lighthouse.

The color contrast on the settings menu in dark mode has also been increased.

  • fix: fix default contrast ratio for button #978
  • fix: fix legibility of settings text in dark themes #965

Other improvements

  • fix: fix slim size compose dialog #979
  • perf: prefetch all internal links #981
  • perf: remove duplicate custom props from theme CSS #969
  • fix: don't show theme picker if not logged in #967

Full changelog