Product Dev Back to Ghost

Ghost 0.7.9

Ghost 0.7.9 is now available on GitHub, npm and Ghost.org. 0.7.9 contains lots of bug fixes, upgrades, improvements and tweaks that you mostly shouldn't notice 😊 and one breaking change for some people using the Public API Beta...

Highlights

  • [Improved] Static pages now have structured data, just like posts, so they will pass validation for twitter cards and other social media sharing tools.
  • [Improved] Relaxed CORS handling, meaning less people should have issues logging in to their blog if their URL isn't configured exactly right.
  • [Improved] Draft post slugs (urls) are updated when the title changes, so that you don't get weird half-titles in slugs anymore.
  • [Fixed] Static files immediately result in a 404, because trying a filename with a trailing slash on the end is never going to result in a happier ending.
  • [Fixed] Incorrect preview link & icon position in the editor making it easier to preview your post by clicking the word "preview" at the bottom of the editor.
  • [Fixed] Requesting url as a field from the Posts API didn't return the correct response (Public API Beta).
  • [Changed] Trusted domains now require their protocol be included. See below for details (Public API Beta).
  • And much more...

You can see the full change log for the details of every change included in this release.

In Detail

We improved the Public API beta in this release.

Public API Beta Changes

Breaking Change

If you've enabled the Public API Beta flag in labs and added a trusted domain to your database, there's a breaking change for you in this release. This change will not affect anyone else.

Trusted domains must now include the protocol. So where previously you may have added ghost.org as your trusted domain in the client_trusted_domains table, the domain will need to be updated to https://ghost.org once you upgrade to 0.7.9. If you need both http & https, then you will need two rows in the database.

If you are running on Ghost(Pro) this change should have already been made for you. Any problems, please contact [email protected] as usual 👻

Other Changes

It is now possible to request url as a field from the posts endpoint. E.g. {{#get "posts" fields="title, url"}} will now return the correct result. Previously url was not returned due to it being a computed property.

How to Upgrade

All Ghost(Pro) users are being automatically updated and will be running Ghost 0.7.9 shortly. You're welcome :)

For people running Ghost on their own servers, you can download Ghost 0.7.9 and then check out the upgrade documentation over on our support site.

Enjoy!

Credits

This release was lovingly crafted by Hannah Wolfe, Kevin Ansfield, Jason Williams, Austin Burdine, David Balderston, Peter Szel, king6cong, quangtt, JT Turner, Jeff Jewiss, Jeremiah Hoyet, Joerg Henning, cobbspur and Aileen Nowak.