Posts Tagged With Development

3 posts

Migrating to Vapor 2

Friday, May 19, 2017 by Tim

This is a write up of the talk I gave at May's Vapor London Meetup. The slides from that presentation can be found here

Vapor 2

Vapor 2 has now been released! It contains a load of awesome improvements, including massively simplifying some of the most common use cases, huge performance boosts and loads of great new features. I've had a long running vapor2 branch of both SteamPress and the example site since the first betas and this post highlights some of the keys changes between the two versions and how to migrate your project.

Getting Started

The first thing you need to do is make sure you have the latest version of both Swift and the toolbox. Vapor 2 requires Swift 3.1, so it is time for you to upgrade if you are still clinging to Swift 3.0! It is worth the upgrade even just for the stability improvements in SourceKit and LLDB!

Social Media Support

Friday, March 17, 2017 by Tim

SteamPress has undergone a number of changes recently! We are now at version 0.8.0! The last couple of versions have seen a large number of improvements for Social Media, including Open Graphs and Twitter Cards. This means that an image like below will be displayed when sharing it:

Twitter Inception

If you take a look at the headers for this page, you will see all the new headers that are set to allow embedded tweets to link to the page:

<meta name="description" content="SteamPress has undergone a number of changes recently! We are now at version 0.8.0! The last couple of versions have seen a large number of improvements for Social Media, including Open Graphs and Twitter Cards. This means that an image like below will be displayed when sharing it:">

SteamPress 0.5(.1)

Wednesday, February 15, 2017 by Tim

SteamPress recently reached version 0.5.1!

New features

Check the release notes of the releases to find all the changes but the overview is:

  • SteamPress Provider
  • Comments(!) - This was particularly easy to implement but by far the most satisfying!
  • Slug URLS - SEO
  • Better author/tag URLS
  • Remember Me

Breaking changes

  • Move to snake_case
  • Labels are now tags
  • Some of the Leaf templates will be passed different parameters

Next Up

SteamPress is actually reaching some sort of stability which is nice! Most of the main features that I had planned out have now been rounded out and we are starting to get some test coverage. The next items to looks at are:

  • Improve the inputs for Tags. Currently tags are entered as space-separated words, so you can't have tags with more than one word, and you also have no idea what other tags you have used!