We've just released dark mode support for Jumpstart Pro! Users can specify their preferred theme in their profile as System, Dark, or Light themes. When set to System, the theme will match the OS theme and change when the OS theme changes using a little JavaScript.
Jumpstart Pro now comes with a dark mode theme out of the box. Users can choose between using light, dark, or match the system theme.
We've updated the default views to include styles for the dark theme as well.
Dark mode is applied to the layout by adding the "dark" class. We've also added JavaScript to listen for changes to the system theme to keep it in sync.
Inbound Webhooks
New
We've made it easier than ever to process inbound webhooks in your Jumpstart Pro Rails applications.
Inbound Webhooks will be received, stored into the database, queued up for processing, and deleted once successfully processed.
Running the generator will create a controller, database model, and background job for processing requests.
± rails g inbound_webhook Zapier
create app/controllers/inbound_webhooks/zapier_controller.rb
create app/jobs/inbound_webhooks/zapier_job.rb
route namespace :inbound_webhooks do
resources :zapier, only: [:create]
end
TailwindCSS 3.3
New
We've upgraded to the brand new TailwindCSS 3.3 which include a bunch of nice improvements.
⚡️ Jumpstart Pro is now ready for custom Turbo StreamActions out of the box!
Everything is pre-organized so you can create your own turbo_stream helpers on the Rails side and plug in your Javascript actions with examples.
One more thing to save you development time. 💪
API Clients
New
Jumpstart Pro now ships with a built-in API client generator. You can use it to create your own API clients for integrations with any API you would like.
As developers, it's easy to reach for Rubygems, but each dependency we add makes it harder to maintain your application. We've found that we need to fork most API Rubygems to fix bugs or implement API features that aren't supported yet in the library.
Now, our default is to build an API client ourselves. It's easy to maintain, doesn't break from external changes, and only implements the features we need. We've made this available to Jumpstart Pro users to more easily take advantage of building their own API clients.
It's customizable so you can override the authentication or response parsers to work however you need.
You can generate an API client using the following command:
rails g api_client OpenAi
This will generate your API client and test file. You can then implement methods for API endpoints.
Here's an example integrating with the OpenAI API:
class OpenAiClient < ApplicationClient
BASE_URI = "https://api.openai.com/v1"
def models
get("/models")
end
def completions
post("/completions", body: {model: "text-davinci-003", prompt: "Say this is a test", max_tokens: 7})
end
end
Usage of it would look like this:
OpenAiClient.new(token: "sk-1234").models
Moving Discussions to GitHub & Discord
Update
We're moving the forum for Jumpstart Pro over to Discord and the GitHub repositories. We recommend using the GitHub Discussions so other people can find your questions and answers, but Discord is also a great option if you need some quick help on anything. 👍
Renamed the master branch to main for Jumpstart Pro Rails
Update
We've renamed the master branch to "main" now for Jumpstart Pro Rails. This matches the iOS and Android repos as well as GitHub's default branch naming.
To update your local clones, you can run the following:
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
Stripe PaymentElement, Tax, Metered Billing, and more!
New
This is a major update that upgrades Jumpstart Pro to support a lot of new Stripe features.
The PaymentElement allows you to collect payments with bank accounts, Google Pay, Apple Pay, and every other payment method that Stripe supports.
We've also added support for Stripe Tax, metered billing, as well as upgrading to the latest Turbo beta.
TailwindCSS 3.1
New
We've upgraded to the brand new TailwindCSS 3.1! It comes with some pretty neat improvements making it even easier to build out your frontend designs.
Here are some of the highlights: ☒
Font Awesome 6!
Update
We've upgraded from Font Awesome 5 to 6! Out of the box, you can use any of the free Font Awesome icons. To use Font Awesome's Pro icons, you'll simply swap out one line of code and that's it. 🔥
With Heroku's issues lately, a lot of users have been looking for alternatives. We've added a render.yaml file to quickly get you started deploying Jumpstart Pro with Render.
New Command Palette
New
We've introduced a Command Palette so power users can have quick access to anything in your application.
You can now build Android apps with Jumpstart Pro! It uses Hotwire to embed your web application and makes it easy to extend with Jetpack Compose and Kotlin to provide native Android functionality.
Jumpstart Pro now runs Ruby 3.1! Check out the Ruby 3.1 release notes to see the new changes like YJIT, the new Debug gem, and more.
🔥 Realtime Rails Scaffolds with Hotwire
Improvement
We've updated the scaffold generator in Jumpstart Pro Rails to take full advantage of Hotwire. New records will be added, updated, and removed in realtime as actions are taken.
We've updated Jumpstart Pro to the brand new Rails 7.0 release! This version has been tested with Jumpstart Pro since September and includes many great new features. Read more about the Rails 7.0 changes.
As part of this release, we've replaced attr_encrypted with the built-in Encryption in Rails 7. This keeps our code simpler and better supported in the long run.
Ruby 3.1 only 9 days away, so it's going to be an exciting December. I hope you enjoy the new changes!
TailwindCSS 3.0
Update
The new TailwindCSS version just dropped today (see the announcement) and we've updated Jumpstart Pro to use it. This is primarily internal changes inside TailwindCSS, but has a few small changes that might affect your application.