Changelog #0224
Follow along with updates and improvements made to Railway
Follow us on TwitterFeb 7, 2025
🎉 Welcome to this week’s Railway Changelog! 🚀
Before we dive in, do you know you can now execute serverless functions on Railway? That’s the big news today!
But before we get to that, we wanted to let our European friends know that we’ve been hard at work fine-tuning and test-running the new Amsterdam Metal region, getting it ready for prime time.
Now, let’s jump in and see what we shipped this week! 🚂✨
Railway Functions (Beta)
Railway Functions in Action on Railway
This week, our Product Engineer, Jared landed Railway Functions in production. I (the writer) am stoked about this delightful feature and I am sure you will be too!
You can now write and deploy code instantly from your project canvas. It currently only runs Typescript for now. No need to attach a GitHub repo or deploy from your local machine.
Railway Functions makes it easy to quickly ideate and handle simple tasks such as fetching APIs, running webhooks and even scheduling cron jobs. Plus, it supports data persistence with volumes!
Railway Functions opens up a whole new world of running compute on Railway. You check out a block of code and want a shareable deployed link quickly? You want your nifty code samples to be side-by-side with your other services? Oh, writing code in the editor gets your changes to show up almost instantly. The possibilities are endless!
Open up your canvas now, click on the Create button, and select Function from the dropdown. A new function service will show up. Pressing Command-S will save and run your code. Write your code in the Source Code editor and deploy away!
We’re excited to expand Railway functions to support even more use cases in the future.
Railway CLI - Manage Environments
Creating a new environment via the CLI
The Railway CLI has received a major update. As we’ve mentioned before, our ultimate goal is to enable you to do almost everything from the terminal that you can do on the dashboard.
You can now manage environments in your Railway projects directly from the CLI. Here are a few examples of what you can do:
railway environment new
- Creates a new environmentrailway environment delete
- Delete an environmentThat’s not all. A major benefit is that you can now inject variables into PR environments through GitHub Actions. For instance, using branched URLs from database vendors like PlanetScale, etc. We documented how to automate your workflow using GitHub Actions alongside the CLI.
Update your CLI now and take advantage of these new feature. For more details, check out the documentation.
Enjoy the improved developer experience!
Special shoutout to Milo for landing this feature on the CLI!
New Youtube Video Guides
A few months ago, we published new guides for multiple languages and frameworks. Now, we are leveling-up our educational content with Youtube Shorts and videos to help you master deploying and scaling on Railway.
Check out the new line up:
AI-powered Answer Generation in Help Station
Generating an answer for a question thread in Help Station
We shipped a QOL (Quality of Life) improvement feature for our behind-the-scenes Support Engineers answering questions on Help Station that allows them to generate answers to your questions on Help Station.
Here’s how it works.
Behind the scenes, Help-Station uses AI to understand the thread's context, find relevant docs and potential solutions, and present them to you. We’ve been using summarizations for sometime now to help with context.
Why are we showing you an admin feature?
Engineer Nico (who has great hair) - has been painstakingly cleaning data to generate a question/answer corpus combined with 4o-mini to quickly generate accurate responses to common Railway questions. This will help us for an upcoming feature somewhere else on the platform.
cough Fixes from logs cough
No action is needed on your part, expect faster replies from the Railway team. BrodyAI is here.