By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Deno 2.5 Brings Support for Permission Sets and Test API Hooks
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > Deno 2.5 Brings Support for Permission Sets and Test API Hooks
News

Deno 2.5 Brings Support for Permission Sets and Test API Hooks

News Room
Last updated: 2025/10/21 at 10:03 AM
News Room Published 21 October 2025
Share
SHARE

Deno, the JavaScript runtime built by Ryan Dahl, has launched version 2.5, bringing improvements with the addition of Permission Sets, new testing hooks and improvements to Websockets. There is also a number of performance improvements as part of the release.

Deno 2.5 upgrades the runtime environment to V8 14.0 and TypeScript 5.9.2, unlocking access to newer JavaScript language features, performance improvements, and better TypeScript support. The release also includes changes to the Temporal API for date and time management, with the goal of making the --unstable-temporal flag unnecessary in future versions.

One of the headline changes is support for permission sets in the configuration file, providing developers with more granular and declarative control over runtime permissions. By being able to define permission specifications in the deno.json config file, different predefined permissions can be applied at runtime based on the command being run. Permission sets can be applied using the new permission-set flag, for example:

 


deno run --permission-set=process-data main.ts


In addition, Deno has enhanced its test API by adding setup and teardown hooks, giving test authors lifecycle control directly in Deno.test. There are four new hooks: Deno.test.beforeAll, Deno.test.beforeEach, Deno.test.afterAll and Deno.test.afterEach.

One user on reddit showed excitement towards the new hooks available in the testing API, however a comment over on YouTube argues the addition of beforeAll is a late addition, adding it should have had feature parity with node sooner.

The bundle runtime API is also shipping, enabling programmatic bundling of modules at runtime. This feature enhances the deno bundle command shipped in version 2.4. The bundle API is currently experimental and the flag –unstable-bundle must be used.

WebSocket headers have also been improved to allow for custom headers when initiating a new WebSocket connection, which can be beneficial for authentication or passing custom metadata and state. There is a note in the release blog that this new feature will not work in all browsers.

Deno 2.5 also includes performance optimizations. The emit cache now persists between updates unless the underlying deno_ast version changes, reducing unnecessary recompilation. Memory usage has been lowered in CommonJS module wrappers, improving Node.js interoperability, while conditional JSX transpilation skips processing entirely when JSX is disabled. Core APIs have seen similar refinements: structuredClone now uses a faster internal implementation, and both Buffer.subarray and Buffer.prototype.utf8Slice have been optimized for binary data handling. Deno’s Node-API layer has received performance tuning to minimize overhead when loading native Node modules.

Deno is an open-source, secure JavaScript runtime, designed with first-class TypeScript support, integrated tooling, and purposeful default security. It has over 100k+ Stars on GitHub, 400k+ Active Community Users and 2M+ Community Modules. Deno v2.5 ships with a number of improvements and features, you are able to find the full list of changes over in the release article on the Deno website.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Stellantis and Pony.ai Team Up to Develop Robotaxis Across Europe | HackerNoon
Next Article #AtlanticDebrief – Why is health important to global economic resilience? | A debrief with Michael Oberreiter
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

3 Things You Should Never Plug Into Your Laptop’s USB Ports – BGR
News
Forget SEO. Welcome to the World of Generative Engine Optimization
Gadget
Meta Rolls Out New Tools to Protect WhatsApp and Messenger Users from Scams
Computing
How Trump is Using AI to Attack Enemies and Rouse Supporters
News

You Might also Like

News

3 Things You Should Never Plug Into Your Laptop’s USB Ports – BGR

6 Min Read
News

How Trump is Using AI to Attack Enemies and Rouse Supporters

15 Min Read
News

Vivo X300 Pro vs Galaxy S25 Ultra: Camera comparison

2 Min Read
News

American Airlines Subsidiary Suffers Data Breach

1 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?