File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## v0.19.2 - 2022-01-09
4
+
5
+ - The ` dynamic.dynamic ` function is is no longer a thunk.
6
+
3
7
## v0.19.1 - 2022-01-09
4
8
5
9
- The ` dynamic.dynamic ` function now returns a result.
Original file line number Diff line number Diff line change 1
1
name = " gleam_stdlib"
2
- version = " 0.19.1 "
2
+ version = " 0.19.2 "
3
3
licences = [" Apache-2.0" ]
4
4
description = " A standard library for the Gleam programming language"
5
5
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ if javascript {
67
67
/// when you need to give a decoder function but you don't actually care what
68
68
/// the to-decode value is.
69
69
///
70
- pub fn dynamic ( ) -> Decoder ( Dynamic ) {
71
- Ok
70
+ pub fn dynamic ( value : Dynamic ) -> Result ( Dynamic , List ( DecodeError ) ) {
71
+ Ok ( value )
72
72
}
73
73
74
74
/// Checks to see whether a `Dynamic` value is a bit_string, and returns that bit string if
You can’t perform that action at this time.
0 commit comments