Skip to content

Releases: brokenhandsio/SteamPress

0.5.2

27 Feb 13:25
Compare
Choose a tag to compare

SteamPress 0.5.2

This release adds Pagination to the Tag page. The Profile page also gets a user parameter passed in, which is the currently logged in User.

Breaking Changes

The posts parameter that gets passed in to tag.leaf is now from the Paginator. To get the posts for that page you should call posts.data instead. You can also add a #pagintor(posts) into your Leaf template to display the paginator navigation. See SteamPress Example for a demo of this.

0.5.1

22 Feb 09:02
Compare
Choose a tag to compare

SteamPress 0.5.1

This release moves the ViewFactory struct behind a protocol so we start testing up to our view layer. There are also some tests for the BlogController now.

Breaking Changes

  • When rendering the profile.leaf template, the User that is passed in is now called the author. This is to differentiate between the currently logged-in user, and the user of the profile you are viewing.
  • The posts array that gets passed to the tag.leaf page is now the longSnippet Node, so any calls to post.short_snippet will need to be changed.

New Additions

  • The disqusName which is pulled out of the Configuration is available is passed to the tag.leaf and profile.leaf templates. This helps if you want to embed in things like comment counts for those pages

0.5.0

20 Feb 17:51
Compare
Choose a tag to compare

SteamPress 0.5.0

This release adds a Provider to SteamPress to make it easier to add SteamPress to your site and easier to configure. It also adds support for easily includable Disqus comments. See the README on how to use.

Breaking changes

The SteamPress object has been removed in favor of the Provider, which should now be used instead. There should be no breaking changes with the Database.

New Features

  • Provider
  • You can add a disqus.json configuration file to inject in your Disqus Name to your leaf templates
  • The number of posts per page on the Paginator is now configurable

Bug Fixes:

  • Adds a workaround for a bug introduced in Fluent 1.4.0 where get the children from the database would cause an error or return an empty array.

0.4.0

13 Feb 12:44
Compare
Choose a tag to compare

SteamPress 0.4.0

This releases improves the behaviour with authentication with two changes:

  • You can now pass a remember_me value in the Login form post and if set this will set the Cookie expiry for authentication to a month, otherwise it will default the cookie to the session (i.e. it will be removed when the tab or browser is closed)
  • If you get redirected to the login page when trying to access a protected route a loginWarning parameter is sent to the view so you can display an appropriate error message

Breaking changes

There should be no breaking changes in this release

0.3.2

10 Feb 19:55
Compare
Choose a tag to compare

SteamPress 0.3.2

This release just contains some code tidy-ups with the latest release of Paginator now taking in a Context.

0.3.1

10 Feb 17:21
Compare
Choose a tag to compare

SteamPress 0.3.1

Fixes:

  • Issue where editing the post but not changing the slugUrl causes the slug URL to be updated with a new unique prefix

0.3.0

09 Feb 12:39
Compare
Choose a tag to compare

Steampress 0.3.0

New Features:

  • slugUrls
  • Better links for SEO
  • Started wrapping library in Tests

Breaking Changes

The database names have changed, with things going to snake_case in the database for readability. Additionally, slugUrl has been added as a field to the database.

Finally all the links have changed now, so the Controller is looking for /posts/post-name rather than /post/post-id/ and the same with Authors and Tags.

Finally Labels have been renamed to tags to better reflect how the rest of the community refers to them.

Any issues, please register them in Github

0.2.2

02 Feb 13:20
Compare
Choose a tag to compare

What's New:

  • Proper use of Context for makeNode() calls
  • Pagination on main index page of blog

Breaking Changes

Warning, this release contains breaking changes:

  • makeNodeWithExtras no long works, you need to pass the appropriate Context through to makeNode.
  • On the blog index page, posts are now found under the data object in the injected parameters to the template file
  • Lots of names of parameters have changed in the Leaf objects. All post information now uses snake_case for parameter names

0.1.5

20 Jan 11:01
Compare
Choose a tag to compare

This release actually makes SteamPress useful! I have fixed the bug that would cause a crash on Linux when you created a blog post with a new line in (...helpful!) and some general tidy ups!

There is also now an example site, now that I have fixed the bug, at https://steampress-example.herokuapp.com/

First Release Of SteamPress v0.1.0

12 Jan 22:13
Compare
Choose a tag to compare

This is the first release of SteamPress! SteamPress is a blogging engine for Swift build on top of Vapor. Please see the README for known issues and how to use it.