Skip to content

Releases: benpickles/parklife

Version 0.7.0

04 Feb 11:22
Compare
Choose a tag to compare
  • Add support for Rails 8 and add test infrastructure to ensure future compatibility with Rails 7.0, 7.1, and 8.0. #115, #117, #121
  • Improve out-of-the-box compatibility with Rails by reading default_url_options, relative_url_root, and force_ssl settings on boot and applying them to Parklife's config.base (force_ssl has been set to true in production.rb since Rails 7.1). #118
  • Improve out-of-the-box compatibility with Sinatra 4.1 which has host authorisation middleware enabled by default in development mode and would otherwise respond to Parklife requests with a 403 status. Additionally the generated Sinatra production build script now sets the environment variable APP_ENV=production to enable production mode. #123, #122
  • When discovering HTML links ignore <a> elements without an href. #107

Version 0.6.1

23 Aug 11:53
Compare
Choose a tag to compare
  • Don't error when the public directory doesn't exist #105

Version 0.6.0

26 Mar 21:02
Compare
Choose a tag to compare
  • Allow assigning a URI object to config.base #98

  • Add a parklife config command to output the full Parklife config #97

  • Improved Rails integration #96

    Parklife now integrates with Rails via Railties and can therefore hook into the app's configuration before it's initialised. This allows Parklife to remove the host authorisation middleware that's present in development and otherwise causes Parklife requests to receive a 403 response.

    Upgrading: For an existing Parklife+Rails integration move requiring parklife/rails above requiring config/environment in the Parkfile.

  • Prevent Encoding::UndefinedConversionError error when writing a binary response #94