---
title: "gleam_javascript 1.0.0 Breaking Changes on Hex | Since.dev"
description: "What each gleam_javascript release removed, renamed or changed: 11 breaking changes in 5 versions on Hex, each with its source."
canonical_url: https://since.dev/packages/hex/gleam_javascript
last_updated: 2026-12-04
---

# gleam_javascript breaking changes

gleam_javascript 1.0.0 (February 3, 2025) is its newest release with breaking changes, 6 of them. The first: Removed javascript.type_of. Every breaking API change we have recorded in gleam_javascript on Hex: 11 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.0.1`, released July 9, 2026. Apache-2.0 license. [Source repository](https://github.com/gleam-lang/javascript)

- From [0.12.0](#v-0-12-0) to [1.0.0](#v-1-0-0): 6 breaking changes in 1 version.
- From [0.2.0](#v-0-2-0) to [1.0.0](#v-1-0-0): 10 breaking changes in 4 versions.

## gleam_javascript 1.0.0 breaking changes

gleam_javascript 1.0.0, released February 3, 2025: 6 breaking changes.

- **Removed** `javascript.type_of`  

The type_of function was removed from the javascript module. Code calling it must be changed. [github.com](https://github.com/gleam-lang/javascript/blob/v1.0.0/CHANGELOG.md)
- **Removed** `javascript.TypeOf`  

The TypeOf type was removed from the javascript module. Code using it must be changed. [github.com](https://github.com/gleam-lang/javascript/blob/v1.0.0/CHANGELOG.md)
- **Removed** `map`  

The map module was removed. Code importing it must be changed. [github.com](https://github.com/gleam-lang/javascript/blob/v1.0.0/CHANGELOG.md)
- **Removed** `promise.awaitN`  

The awaitN function was removed from the promise module. Code calling it must be changed to another approach. [github.com](https://github.com/gleam-lang/javascript/blob/v1.0.0/CHANGELOG.md)
- **Removed** `promise.raceN`  

The raceN function was removed from the promise module. Code calling it must be changed to another approach. [github.com](https://github.com/gleam-lang/javascript/blob/v1.0.0/CHANGELOG.md)
- **Renamed**  

The symbol type and functions now live in a new symbol module. Import them from there instead of their old location. [github.com](https://github.com/gleam-lang/javascript/blob/v1.0.0/CHANGELOG.md)

## gleam_javascript 0.12.0 breaking changes

gleam_javascript 0.12.0, released August 19, 2024: 1 breaking change.

- **Removed**  

The deprecated reference type and functions were removed in this release, so code using them must stop using them. [github.com](https://github.com/gleam-lang/javascript/blob/v0.12.0/CHANGELOG.md)

## gleam_javascript 0.4.0 breaking changes

gleam_javascript 0.4.0, released January 19, 2023: 1 breaking change.

- **Renamed** `array.length`  

array.length was renamed to array.size to match Gleam size conventions. Update callers to use array.size. [github.com](https://github.com/gleam-lang/javascript/blob/v0.4.0/CHANGELOG.md)

## gleam_javascript 0.3.0 breaking changes

gleam_javascript 0.3.0, released December 10, 2022: 2 breaking changes.

- **Renamed** `promise.then`  

The then and then_try functions in the promise module were renamed to await and try_await. Update call sites to use the new names. [github.com](https://github.com/gleam-lang/javascript/blob/v0.3.0/CHANGELOG.md)
- **Renamed** `promise.then_try`  

The then and then_try functions in the promise module were renamed to await and try_await. Update call sites to use the new names. [github.com](https://github.com/gleam-lang/javascript/blob/v0.3.0/CHANGELOG.md)

## gleam_javascript 0.2.0 breaking changes

gleam_javascript 0.2.0, released November 22, 2022: 1 breaking change.

- **Removed** `promise.do_await_list`  

The promise.do_await_list function is gone in v0.2.0. Code that calls it must be changed to another way of awaiting a list of promises. [github.com](https://github.com/gleam-lang/javascript/blob/v0.2.0/CHANGELOG.md)

## Related packages

- [gleam_erlang](https://since.dev/packages/hex/gleam%5Ferlang.md)
- [gleam_http](https://since.dev/packages/hex/gleam%5Fhttp.md)
- [gleam_json](https://since.dev/packages/hex/gleam%5Fjson.md)
- [gleam_otp](https://since.dev/packages/hex/gleam%5Fotp.md)
- [gleam_stdlib](https://since.dev/packages/hex/gleam%5Fstdlib.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
