Skip to content

v.1.2.0

Compare
Choose a tag to compare
@nolanlawson nolanlawson released this 17 Feb 00:05
· 903 commits to master since this release

v1.2.0

Features

Share a toot (Chrome/Android only, Safari/iOS soon)

Using the Web Share API, you can now tap the "…" on a toot and choose "share toot" to share to other apps.

Currently this is just for Chrome/Android, but Safari on iOS support is coming in iOS 12.1.

  • feat: implement Web Share API #991

Bugfixes and performance improvements

Zeit Now v2

The main https://pinafore.social instance is now hosted on Zeit Now v2 using a static server. This should mean a faster and more reliable server.

  • chore: upgrade to zeit 2 #998

A note on self-hosting

Self-hosters do not have to change anything; the self-hosted version of Pinafore is still a Node server which you can run using node server.js or the Docker container.

This does mean, though, that self-hosted Pinafore is slightly different from production Pinafore. But in practice, the differences should be extremely minor.

You can also run the static version of Pinafore yourself using the export command, but it's generally not recommended because you have to manage CSP and dynamic routes yourself. (For a flavor of what you would need to do, see our Zeit now.json file.)

Also, keep in mind that the self-hosted model is still a first-class citizen. In fact, all our integration tests run against it, so it's more likely to be correct than the Zeit version.

a11y and design improvements

The navbar now has an active state, and the theme picker allows you to tap the color square itself to change the theme. The design of buttons was also tweaked to better match the navbar.

  • fix: improve a11y, move preview box inside label #997
  • fix: improve active state of navbar #996
  • fix: tweak primary button border color #987
  • fix: fix style of compose box in reply #983

cache improvements

We got rid of CSP nonces and are using checksums instead. This allows us to increase the cache max-age on resources. This change applies to both the production version and the self-hosted version.

  • fix: increase cache, use csp checksums over nonce #988
  • fix: fix style of compose box in reply #983

Full changelog