All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
URL_HOST
environment variable for settingdefault_url_options[:host]
- Reference
CABLE_PORT
incompose.yaml
- Update
Ruby
to3.3.6
- Update
Postgres
to17.0
- Update
Redis
to7.4.1
- Update
minitest
to5.25.1
- Update
pg
to1.5.9
- Update
puma
to6.4.3
- Update
rails
to8.0.0
(check this commit for 7.2 to 8.0) - Update
redis
to5.3.0
- Update
rubocop-rails
to2.27.0
- Update
sidekiq
to7.3.5
- Update
stimulus-rails
to1.3.4
- Update
turb-rails
to2.0.11
- Update
@hotwired/turbo-rails
to8.0.20
- Update
esbuild
to0.24.0
- Update
postcss
to8.4.47
- Update
tailwindcss
to3.4.14
0.9.0 - 2024-08-09
- Add
config/initializers/enable_yjit.rb
which enables YJIT by default (delete this file to disable it) - Add
required: false
todepends_on
indocker-compose.yml
(requires Docker Compose v2.20.2+) - Update Node and Yarn install strategy to remove install script deprecation warning
- A whole bunch of changes related to Rails 7.1.0, take a look at this commit
- Update
rename-project
script to auto-delete temporary files - Rename
docker-compose.yml
tocompose.yaml
to stick to the official Docker Compose spec
- Update
Ruby
to3.3.3
- Update
Node
to20.X
- Update
Postgres
to16.3
- Update
Redis
to7.2.5
- Update
cssbundling-rails
to1.4.1
- Update
jsbundling-rails
to1.3.1
- Update
minitest
to5.24.1
- Update
pg
to1.5.7
- Update
puma
to6.4.2
- Update
rack-mini-profiler
to3.3.0
- Update
rack-mini-profiler
to3.3.1
- Update
rack
to3.1.7
- Update
rails
to7.1.3.4
- Update
redis
to5.2.0
- Update
sidekiq
to7.3.0
- Update
stimulus-rails
to1.3.3
- Update
turbo-rails
to2.0.6
- Update
@hotwired/stimulus
to3.2.2
- Update
@hotwired/turbo-rails
to8.0.5
- Update
autoprefixer
to10.4.20
- Update
esbuild
to0.23.0
- Update
postcss-import
to16.1.0
- Update
postcss
to8.4.41
- Update
tailwindcss
to3.4.8
0.8.0 - 2023-05-13
- Ability to customize
UID
andGID
if you're not using1000:1000
(check the.env.example
file) - Output
docker compose logs
in CI for easier debugging
- Replace
Redis.current
(removed inredis
5.0+) withRedisConn.current
which is inconfig/initializers/redis.rb
- Rename
run bash
torun shell
- Reference
PORT
variable in thedocker-compose.yml
web service instead of hard coding8000
- Adjust Hadolint to exit > 0 if any style warnings are present
- Update
Ruby
to3.2.2
- Update
Node
to18.X
- Update
Postgres
to15.3
- Update
Redis
to7.0.11
- Update
cssbundling-rails
to1.1.2
- Update
jsbundling-rails
to1.1.1
- Update
minitest
to5.18.0
- Update
pg
to1.5.3
- Update
puma
to6.2.2
- Update
rack-mini-profiler
to3.1.0
- Update
rails
to7.0.4.3
- Update
redis
to5.0.6
- Update
sidekiq
to7.1.0
- Update
stimulus-rails
to1.2.1
- Update
turbo-rails
to1.4.0
- Update
@hotwired/stimulus
to3.2.1
- Update
@hotwired/turbo-rails
to7.3.0
- Update
autoprefixer
to10.4.14
- Update
esbuild
to0.17.19
- Update
postcss-import
to15.1.0
- Update
postcss
to8.4.23
- Update
tailwindcss
to3.3.2
set -o nounset
fromrun
script since it's incompatible with Bash 3.2 (default on macOS)--jobs "$(nproc)"
from thebundle install
command in theDockerfile
since this is the default
- Assets in production mode were using the wrong
.sprockets-manifest-XXX.json
file,bin/docker-entrypoint-web
was adjusted to delete all but the last built version since Rails doesn't pick the latest file based onmtime
0.7.0 - 2022-09-08
set -o nounset
torun
script to exit if there's any undefined variables
- Switch Docker Compose
env_file
toenvironment
forpostgres
to avoid needless recreates on.env
changes - Replace override file with Docker Compose profiles for running specific services
- Update Github Actions to use Ubuntu 22.04
- Enable BuildKit by default in the
.env.example
file
- Update
PostgreSQL
to14.5
- Update
Redis
to7.0.4
- Update
cssbundling-rails
to1.1.1
- Update
jsbundling-rails
to1.0.3
- Update
pg
to1.4.3
- Update
redis
to4.7.1
- Update
sidekiq
to6.5.4
- Update
stimulus-rails
to1.1.0
- Update
turbo-rails
to1.1.1
- Update
@hotwired/stimulus
to3.1.0
- Update
@hotwired/turbo-rails
to7.1.3
- Update
autoprefixer
to10.4.8
- Update
esbuild
to0.15.2
- Update
postcss
to8.4.16
- Update
tailwindcss
to3.1.8
- Docker Compose
env_file
property forredis
to avoid needless recreates on.env
changes - Drop support for Docker Compose v1 (mainly to use profiles in an optimal way, it's worth it!)
0.6.0 - 2022-05-15
config/initializers/rack_mini_profiler.rb
to enable profiling Hotwire Turbo Drive
- Refactor
/up/
endpoint into its own controller and add/up/databases
as a second URL
- Update
Ruby
to3.1.2
- Update
PostgreSQL
to14.2
- Update
Redis
to7.0.0
- Update
capybara
to3.37.1
- Update
jsbundling-rails
to1.0.2
- Update
pg
to1.3.5
- Update
puma
to5.6.4
- Update
rack-mini-profiler
to3.0.0
- Update
rails
to7.0.3
- Update
redis
to4.6.0
- Update
sidekiq
to6.4.2
- Update
stimulus-rails
to1.0.4
- Update
turbo-rails
to1.0.1
- Update
@hotwired/turbo-rails
to7.1.1
- Update
autoprefixer
to10.4.7
- Update
esbuild
to0.14.39
- Update
postcss-import
to14.1.0
- Update
postcss
to8.4.13
- Update
tailwindcss
to3.0.24
0.5.0 - 2021-01-15
- esbuild and tailwindcss based on Rails 7
- Lint Dockerfile with https://github.com/hadolint/hadolint
./run test
which runsrails test
but also optionally builds your JS / CSS with./run test -b
- Use the Docker Compose spec in
docker-compose.yml
(removes version: property) - Rename
webpacker
Docker build stage toassets
- Replace
cp -a
withcp -r
in Docker entrypoint to make it easier to delete older assets - Base application has been freshly generated by Rails 7.0.1
- Only install and enable bootsnap in non-production environments
- Update
tailwind.config.js
based on the new TailwindCSS v3 defaults - Update Bash shebang to use
#!/usr/bin/env bash
indocker-entrypoint-web
- Update
Ruby
to3.1.0
and switch to Debian Bullseye Slim - Update
Node
to16.x
- Update
PostgreSQL
to14.1
and switch to Debian Bullseye Slim - Update
Redis
to6.2.6
and switch to Debian Bullseye Slim
- Update
bootsnap
to1.9.3
- Update
capybara
to3.36.0
- Update
cssbundling-rails
to1.0.0
- Update
jbuilder
to2.11.5
- Update
jsbundling-rails
to1.0.0
- Update
puma
to5.5.2
- Update
rack-mini-profiler
to2.3.3
- Update
rails
to7.0.1
- Update
redis
to4.5.1
- Update
selenium-webdriver
to4.1.0
- Update
sidekiq
to6.3.1
- Update
sprockets-rails
to3.4.2
- Update
stimulus-rails
to1.0.2
- Update
turbo-rails
to1.0.0
- Update
web-console
to4.2.0
- Update
webdrivers
to5.0.0
- Update
@hotwired/stimulus
to3.0.1
- Update
@hotwired/turbo-rails
to7.1.0
- Update
autoprefixer
to10.4.2
- Update
esbuild
to0.14.11
- Update
postcss-import
14.0.2
- Update
postcss
8.4.5
- Update
tailwindcss
to3.0.15
- All traces of Webpacker
- Deleting old assets in the Docker entrypoint (it's best to handle this out of band in a cron job, etc.)
- Channel related JavaScript (this isn't added by default with Rails 7 and Hotwire is available now)
tailwindcss-stimulus-components
front-end package@rails/activestorage
front-end package (you can always add it back if you use this feature)
- Use
bundle exec sidekiq
instead ofsidekiq
which fixes issue #30
0.4.0 - 2021-07-01
- StimulusJS imports into
application.js
- Update Rails from
6.1.3
to6.1.4
- Update Puma from
5.3.1
to5.3.2
- Update TailwindCSS from
2.1.2
to2.2.4
- Update Turbo Rails from
7.0.0-beta.5
to7.0.0-beta.8
- Use multi-stage build to prevent
bundle install
from running multiple times #8 - JS not executing due to
Gemfile.lock
referencing Webpackerpre.2
notbeta.7
Gemfile
now correctly references Webpacker 6 beta 7
0.3.0 - 2021-05-19
PORT
env variable to be compatible with more hosting providersCABLE_PORT
env variable to split out the bind port from the Docker port forwardrun cmd
to run any command you want in the web container, ie.run cmd ruby --version
bin/rename-project
script to assist with renaming the project
- Rename
DOCKER_WEB_PORT
toDOCKER_WEB_PORT_FORWARD
- Rename
DOCKER_CABLE_PORT
toDOCKER_CABLE_PORT_FORWARD
- Comment out Sidekiq's dashboard route by default for extra safety (check
config/routes.rb
) - Refactor
run
script so all web container commands use the newcmd
function - Replace
##
comments with#
in therun
script - Replace
APP_NAME
inrun
script withPOSTGRES_USER
for connecting to psql - Update Ruby from
2.7.2
to3.0.1
- Update Webpacker from
5.2
to6.0-beta7
- Update TailwindCSS from
2.0.3
to2.1.2
- Update TailwindCSS Stimulus Components from
2.1.2
to2.2.0
- Update PostgreSQL from
13.2
to13.3
- Update Redis from
6.0.10
to6.2.3
- Use new packs directory structure recommended by Webpacker 6
- Enable JIT compiler for TailwindCSS
- Move
tailwind.config.js
to the root of the project
- Add Web Console support by configuring
web_console.allowed_ips
inconfig/environments/development.rb
- Set an empty ENTRYPOINT for the worker and action cable to avoid race conditions when copying static files
- Fix
run
script error for unbound variable in older versions of Bash on macOS
- Ability to customize puma bind host, it's hard coded to
0.0.0.0
now - Unnecessary
mkdir
andchown
of/public
inDockerfile
0.2.0 - 2021-02-20
- Hotwire Turbo through Webpack
run bundle:outdated
task to show outdated Ruby dependenciesrun bundle:update
task to update your Ruby dependenciesrun yarn:outdated
task to show outdated Node dependencies
run bundle
task has been replaced withrun bundle:install
taskrun yarn
task has been replaced withrun yarn:install
task- Update PostgreSQL from
13.1
to13.2
- Update Redis from
6.0.9
to6.0.10
- Update all Ruby and most Node packages to their latest stable releases
- Ping Redis as part of the
/up
health check - Rename
static
controller topages
- Call
rails s
instead ofpuma -C config/puma.rb
in the Dockerfile CMD - Meta description to include the app being production ready
- Refactor
run
script to remove a lot of duplication by introducing helper functions
- Run
rails test
as part of the CI pipeline
- Turbolinks (replaced by Hotwire Turbo Drive)
0.1.0 - 2020-12-22
- Everything!