VOOZH about

URL: https://thenewstack.io/new-astro-releases-incorporates-sessions-new-astro-actions-tools/

⇱ New Astro Releases Incorporate Sessions, New Astro Actions Tools - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-01-04 08:00:58
New Astro Releases Incorporate Sessions, New Astro Actions Tools
Frontend Development / JavaScript / Rust

New Astro Releases Incorporate Sessions, New Astro Actions Tools

In other developer news, Boa is a new JavaScript compiler written in Rust and Flutter updates to support Web Assembly builds.
Jan 4th, 2025 8:00am by Loraine Lawson
👁 Featued image for: New Astro Releases Incorporate Sessions, New Astro Actions Tools

The Astro team was busy before the holidays, releasing Astro 5.1 on Dec. 19. This minor release of the web development framework included a new experimental feature called sessions and improved caching for images, according to core maintainer Matt Kane.

It also incorporates extra tools for working with Astro Actions, which allow you to define and call backend functions such as data fetching, JSON parsing and input validation with type safety.

Sessions provide a way to keep track of per-user data like login status, flash messages or shopping carts, Kane explained.

“Sessions let you securely store temporary data tied to a specific user — with no client-side storage required,” he wrote. “Sessions work by storing data on the server and only sending a session ID as a cookie to the client. You can then get and set the session data in your Astro pages and components, API endpoints, Astro Actions and middleware. The API and data are the same for each of them.”

He includes the code to show how to access the session object. He also adds that when sessions is stable, Astro’s official adapters will automatically configure a default driver, but while it’s experimental, this is something developers will have to do.

This release also includes remote image caching. Previously, image caching between builds was limited to local images.

“Now, Astro will cache remote images as well, reducing the need to re-download and re-transform images on every build,” he wrote. “It uses conditional requests with If-Modified-Since or If-None-Match headers to determine whether the image is still fresh and will use the cached version unless the source image has changed.”

The feature will work with any host that supports conditional requests.

Meet Boa, an Experimental JavaScript Compiler Written in Rust

Boa, an experimental Javascript lexer, parser and compiler written in Rust, released version 0.20 at the end of 2024. Boa makes it easy to embed a JavaScript engine in projects and can be used from WebAssembly, according to a blog post about the release.

“Boa also exists to serve as a Rust implementation of the EcmaScript specification; there will be areas where we can utilize Rust and its fantastic ecosystem to make a fast, concurrent and safe engine,” the About Boa page explained.

Feature highlights of Boa include the Temporal API, which is a new set of built-in objects and functions designed to be a more modern replacement for the Date object, the post notes. It does this by “providing a more feature-rich and flexible API for working with dates and times,” the team notes.

“It is currently a stage 3 proposal, and we are working alongside the TC39 champions to put together a solid Rust implementation,” the blog post stated. “Since Temporal is such an extensive specification, we have done most of the work outside of Boa so that it can be used in other projects.”

Boa also supports nightly releases, and added support for the stage 3 proposal Atomics.pause, which is used to pause the execution of a thread for a specific amount of time.

The full post outlines a number of optimizations and performance improvements in this release. For those who’d like to play, the Boa site includes a playground.

Flutter and Dart Update in December

Google’s open source cross-platform mobile application framework Flutter released version 3.27, which includes progress with Impeller and improvements to the Cupertino widgets.

The framework supports iOS, Android, the web, Windows, MacOS and Linux, and the update includes improvements across these platforms.

This release introduces new features in DevTools, such as support for validating iOS deep link settings in the Flutter Deep Links tool and improvements to the workflow for working with “offline” data. The release also fixed a developer pain point: if the app crashed while debugging a memory issue, developers would lose memory tool data. That’s been addressed by allowing developers to view the most recent memory tool data in DevTools after an app disconnects.

It also includes a new Flutter Inspector.

“The Flutter Inspector has undergone some major changes to improve usability and enhance your UI debugging journey,” the team wrote. “Enable the new Inspector by toggling the ‘New Inspector’ setting.”

There’s also an experimental feature that supports WebAssembly builds.

The Flutter blog post also emphasized this release was a “testament to the incredible energy and collaboration of the Flutter community,” with more than 1,400 commits form 187 contributors. That’s noteworthy because it comes on the heels of Flutter being forked by developers Matt Carroll and Jesse Ezell, who were frustrated by the frameworks’ responsiveness to fix requests. The plan is for the fork to stay closely aligned with Flutter and to be used as a stopgap until Flutter can update.

Dart, the language that Flutter uses, also upgraded in December. Dart 3.6 introduces a new feature called digit separators. The language now supports underscores (_) as digit separators, which will help make long number literals more readable, noted Dart technical writer Marya Belanger.

It also incorporated new features in the pub ecosystem: pub download counts and pub workspaces.

“A workspace is a tightly related group of packages developed, resolved and released together,” Belanger explained. “The pub workspaces feature ensures that packages in a monorepo share a consistent set of dependencies. This forces you to resolve dependency conflicts between your grouped packages as they arise, rather than facing confusion when you start using the package.”

TRENDING STORIES
Loraine Lawson is a veteran technology reporter who has covered technology issues from data integration to security for 25 years. Before joining The New Stack, she served as the editor of the banking technology site Bank Automation News. She has...
Read more from Loraine Lawson
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Enable.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.