Skip to content

Commit

Permalink
v0.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Aug 19, 2024
1 parent e9a8181 commit 79c7b83
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.11.1 - 2024-08-19

- Fixed support for older versions of Gleam.

## v0.11.0 - 2024-08-16

- The `gleam/otp/static_supervisor` module has been added, containing bindings
Expand Down
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "gleam_otp"
version = "0.11.0"
version = "0.11.1"
licences = ["Apache-2.0"]
description = "Fault tolerant multicore Gleam programs with OTP"

Expand Down
4 changes: 2 additions & 2 deletions src/gleam/otp/static_supervisor.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ pub fn worker_child(
run starter: fn() -> Result(Pid, whatever),
) -> ChildBuilder {
ChildBuilder(
id:,
id: id,
starter: fn() { starter() |> result.map_error(dynamic.from) },
restart: Permanent,
significant: False,
Expand All @@ -221,7 +221,7 @@ pub fn supervisor_child(
run starter: fn() -> Result(Pid, whatever),
) -> ChildBuilder {
ChildBuilder(
id:,
id: id,
starter: fn() { starter() |> result.map_error(dynamic.from) },
restart: Permanent,
significant: False,
Expand Down

0 comments on commit 79c7b83

Please sign in to comment.