Releases: benpickles/parklife
Releases · benpickles/parklife
Version 0.7.0
- 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
, andforce_ssl
settings on boot and applying them to Parklife'sconfig.base
(force_ssl
has been set totrue
inproduction.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 anhref
. #107
Version 0.6.1
- Don't error when the public directory doesn't exist #105
Version 0.6.0
-
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 requiringconfig/environment
in the Parkfile. -
Prevent
Encoding::UndefinedConversionError
error when writing a binary response #94