What's New

New updates and improvements to Hatchbox.io

Ruby 3.3.7 support

New
We've compiled the newest Ruby release, 3.3.7, so it's ready to use on your servers.

This is a bug fix release. See the Ruby blog for more details: https://www.ruby-lang.org/en/news/2025/01/15/ruby-3-3-7-released/

Caddyfile Support! 🎉

New
Today, we're releasing an update that changes over to using the Caddyfile format for all apps on Hatchbox. 

Customizing Caddy has been historically painful because we've used the JSON syntax to talk to Caddy's API. The JSON format is what's used internally by Caddy, but it's not very user friendly. We've refactored the internals of Hatchbox to use the Caddyfile syntax and provided some variables to include our default configurations but also make it easy to mix and match your own as needed.

Clusters have a Caddyfile option for defining global options. Apps have a Caddyfile option for how requests are processed for that specific app. These are then combined when the Caddy config is uploaded to your server.

We will help you convert it over to the Caddyfile syntax if you've customized your apps already. Our plan is to get everyone moved over and get rid of the complex JSON once and for all. Send us a message and we'll help get you migrated.

Caddy 2.9.0

Update
We've updated to the latest version of Caddy. 🎉

Caddy 2.9.0 adds a couple features but is primarily focused on refinements and bug fixes. This release should be fully backwards compatible with 2.8.4 so you shouldn't see any issues with this upgrade.

Click Configure on your servers to update to the latest version.

Better App Renaming

Improvement
We've refactored our deployment process to make renaming applications faster. Rather than symlinking to full paths, we're now using relative symlinks. This allows us to move an application to a new directory and update the running processes to point to the new directory. 

We no longer need to remove any directories which preserves your application's uploaded files, local sqlite databases, and removing the need for an additional deployment after renaming. Thanks to these improvements, renaming your application only takes a few seconds now.

Ruby 3.3.4 support

New
We've precompiled the latest version of Ruby so it's ready to go for new deployments.

See the release notes for more details: https://www.ruby-lang.org/en/news/2024/07/09/ruby-3-3-4-released/

Failed deploy scripts

New
Want to run a script to notify Slack or another service about failed deployments? Now you can with failed deploy scripts.

When a deployment fails, the script will run on your primary server which you can use to send API requests or anything else you might want to do. 

Customizable database names

New
You can now choose names for your databases. Previously, we auto-generated database names that were quick and easy but hard to differentiate. Now you can choose the name to help easily differentiate between databases.

Ruby 3.3.2 & 3.1.6 support

New
Two new versions of Ruby were recently released and we've precompiled them so they're ready to use with Hatchbox!

See the release notes for more details: https://www.ruby-lang.org/en/news/2024/05/30/ruby-3-3-2-released/

Ubuntu 24.04 LTS Noble Numbat is the new default OS

New
With the latest Ubuntu LTS release out last month and running smoothly, we've updated Hatchbox to start creating new servers with Ubuntu 24.04 now.

Official Redis.io support for Ubuntu 24.04 LTS

Update
Redis.io has finally updated their repositories with Ubuntu Noble 24.04 LTS support. We've updated our configuration to use this repository to provide the latest Redis version. Hit configure on your Ubuntu 24.04 server(s) to use the new repository.

Wildcard SSL support with DNSimple

New
Caddy now includes a DNSimple plugin for handling wildcard SSL validation with LetsEncrypt. We've recompiled Caddy with this new plugin and added DNSimple to the supported DNS providers list so you can now use it for wildcard SSL certificates.

Custom Caddy Builds

New
Doing fancy things with Caddy? You can now supply your own URL for your custom Caddy executables. Edit your Cluster and add the URL for it to be installed on your servers during provisioning.

We recommend using our Caddy Builder script as a starting place to make sure you include any necessary DNS providers for wildcard SSL support. You can also compile specific versions of Caddy with additional plugins as needed.

Ubuntu 24.04 LTS Noble Numbat Support

New
Ubuntu 24.04 LTS was recently released and we've updated Hatchbox to support this new version.

The official Redis.io Ubuntu repository has not been updated yet. If you're using Redis on Ubuntu 24.04, it will install the Ubuntu maintained version until the Redis repository is updated.

Ruby 3.3.1, 3.2.4, 3.1.5, and 3.0.7 support

New
We've precompiled the latest Ruby versions which include several security fixes.

See the Ruby release notes for more details.

Rclone Update Failures

Fix
A few versions of rclone have a bug while running the "selfupdate" command. We've added a fix to detect this error and install the newest version when the update fails.

Hatchbox will also now update rclone during the configuration process to make sure you're using the latest version.

Whenever Crontab Environment

Fix
Apps using the whenever gem to manage cron jobs will now respect the RAILS_ENV environment variable when installing cron jobs.

Previously, the environment was not set when running whenever which defaults to the "production" environment, regardless of the RAILS_ENV set in environment variables.

Bun

New
We're excited to announce Bun support on Hatchbox! If your repository contains a bun.lockb file, Hatchbox will install the latest bun or the version specified in .tool-versions.

Ruby 3.3 Support

New
Ruby 3.3 was released yesterday and is now precompiled for use on Hatchbox!

See What's New in Ruby 3.3 and the release notes.

Improved Akamai / Linode integration

Update
We have updated our Akamai / Linode integration to remove the need for personal access tokens. Using a different OAuth configuration we were able to remove the need for personal access tokens entirely which makes for a cleaner and simpler integration.

For Akamai / Linode users, you will be prompted to reconnect your account when viewing your clusters. This will reestablish the connect using our improved integration. 

🎉 Hatchbox Deploy GitHub Action v2 is out!

New
The Hatchbox Deploy GitHub Action got a new release today with version 2.

The new version deploys the specific commit sha that triggered the GitHub Action instead of the latest commit in the specified branch. This makes it easier to make sure the deployments made during CI/CD are the exact commits that you want.