Skip to content

Releases: cross-org/runtime

1.1.0

28 Aug 22:01
Compare
Choose a tag to compare

Changes

What's Changed

  • fix: Improves safari version detection
  • feature: Adds functions to extract OS, Version and Product from a bare User Agent string
  • refactor: remove redundant else clauses by @timreichen in #2
  • refactor: Additional tests to avoid regression bugs

New Contributors

Full Changelog: 1.0.0...1.1.0

@cross/runtime 1.0.0 - Stable Release! 🎉

18 Mar 21:59
Compare
Choose a tag to compare

This marks the initial stable release of @cross/runtime, delivering robust cross-runtime environment detection for your JavaScript and TypeScript projects:

  • Runtime Detection: Accurately identify Deno, Bun, Node.js, and various web browsers. Including version.
  • Edge Function Detection: Also detects Cloudflare Workers, Netlify Edge Functions, and more.
  • OS Detection: Detect Windows, macOS, Linux, Android, iOS, and other operating systems.
  • Architecture Detection: Detect current archichture, such as x86, x86_64, arm or arm64.

Get Started:

Refer to the documentation for installation and usage instructions on https://jsr.io/@cross/runtime

We'd love your feedback!

Feel free to report issues, submit a PR or suggest features here on the GitHub repository!

0.0.17

11 Mar 19:51
Compare
Choose a tag to compare

Changes

  • (docs) Adds support for Edge Functions (Cloudflare Workers, Netlify Edge Functions, Fastly Compute@Edge)
  • (chore) Adds CI testing for Deno and Bun

0.0.16

07 Mar 00:19
Compare
Choose a tag to compare

Changes

  • Fixes browser x64 detection

0.0.15

07 Mar 00:08
Compare
Choose a tag to compare

Changes

  • Adds architecture detection

0.0.14

06 Mar 20:51
Compare
Choose a tag to compare

Changes

  • Update docs

0.0.13

06 Mar 20:35
Compare
Choose a tag to compare

Changes

  • Fix detection of Brave

0.0.12

06 Mar 20:23
Compare
Choose a tag to compare

Changes

  • Add support for Opera, Brave and Vivaldi.

0.0.11

06 Mar 19:21
Compare
Choose a tag to compare

Changes

  • Fix Safari and Edge detection

0.0.10

06 Mar 00:21
Compare
Choose a tag to compare

Changes

  • Improved documentation
  • Code cleanup