Skip to content

Commit 91fc8b2

Browse files
committed
v1.1.1
1 parent b868f30 commit 91fc8b2

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## v1.1.1 - 2024-01-16
4+
5+
- Relaxed the version constraint for `gleam_stdlib` to permit 1.x or 0.x
6+
versions.
7+
38
## v1.1.0 - 2023-11-05
49

510
- Updated for Gleam v0.32.0.

gleam.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "exception"
2-
version = "1.1.0"
2+
version = "1.1.1"
33
gleam = ">= 0.32.0"
44
description = "A tiny package for dealing with exceptions"
55
licences = ["Apache-2.0"]
@@ -10,8 +10,8 @@ links = [
1010
]
1111

1212
[dependencies]
13-
gleam_stdlib = "~> 0.30"
13+
gleam_stdlib = "~> 0.30 or ~> 1.0"
1414

1515
[dev-dependencies]
1616
gleeunit = "~> 1.0"
17-
simplifile = "~> 0.1"
17+
simplifile = "~> 1.0"

manifest.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
# You typically do not need to edit this file
33

44
packages = [
5-
{ name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" },
6-
{ name = "gleeunit", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "D3682ED8C5F9CAE1C928F2506DE91625588CC752495988CBE0F5653A42A6F334" },
7-
{ name = "simplifile", version = "0.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "856DD0CD5FEEB464FB32522F6C9C51F5DE1398799C17028D3645EDC4B732E7DB" },
5+
{ name = "gleam_stdlib", version = "0.34.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "1FB8454D2991E9B4C0C804544D8A9AD0F6184725E20D63C3155F0AEB4230B016" },
6+
{ name = "gleeunit", version = "1.0.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "D364C87AFEB26BDB4FB8A5ABDE67D635DC9FA52D6AB68416044C35B096C6882D" },
7+
{ name = "simplifile", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "359CD7006E2F69255025C858CCC6407C11A876EC179E6ED1E46809E8DC6B1AAD" },
88
]
99

1010
[requirements]
11-
gleam_stdlib = { version = "~> 0.30" }
11+
gleam_stdlib = { version = "~> 0.30 or ~> 1.0" }
1212
gleeunit = { version = "~> 1.0" }
13-
simplifile = { version = "~> 0.1" }
13+
simplifile = { version = "~> 1.0" }

test/exception_test.gleam

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ pub fn defer_crash_test() {
4444
const test_file = "tmp.txt"
4545

4646
fn reset() -> Nil {
47-
let assert Ok(_) = simplifile.write("", test_file)
47+
let assert Ok(_) = simplifile.write(test_file, "")
4848
Nil
4949
}
5050

5151
fn append(text: String) -> Nil {
52-
let assert Ok(_) = simplifile.append(text, test_file)
52+
let assert Ok(_) = simplifile.append(test_file, text)
5353
Nil
5454
}
5555

0 commit comments

Comments
 (0)