You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## Unreleased
8
8
9
+
## [0.8.1] - 2023-08-17
10
+
- Fix issues [#277](https://github.com/ron-rs/ron/issues/277) and [#405](https://github.com/ron-rs/ron/issues/405) with `Value::Map``IntoIter` and extraneous item check for `Value::Seq` ([#406](https://github.com/ron-rs/ron/pull/406))
11
+
- Fix issue [#401](https://github.com/ron-rs/ron/issues/401) with correct raw struct name identifier parsing ([#402](https://github.com/ron-rs/ron/pull/402))
12
+
- Fix issue [#410](https://github.com/ron-rs/ron/issues/410) trailing comma parsing in tuples and `Some` ([#412](https://github.com/ron-rs/ron/pull/412))
13
+
- Error instead of panic when deserializing non-identifiers as field names ([#415](https://github.com/ron-rs/ron/pull/415))
14
+
-[Non-API] Breaking: Fix issue [#307](https://github.com/ron-rs/ron/issues/307) stack overflow with explicit recursion limits in serialising and deserialising ([#420](https://github.com/ron-rs/ron/pull/420))
15
+
- Fix issue [#423](https://github.com/ron-rs/ron/issues/423) deserialising an identifier into a borrowed str ([#424](https://github.com/ron-rs/ron/pull/424))
16
+
- Bump MSRV to 1.57.0 and bump dependency: `base64` to 0.20 ([#431](https://github.com/ron-rs/ron/pull/431))
17
+
- Bump dependency `base64` to 0.21 ([#433](https://github.com/ron-rs/ron/pull/433))
18
+
- Depend on `serde_derive` directly to potentially enable more compilation parallelism ([#441](https://github.com/ron-rs/ron/pull/441))
19
+
-[Non-API] Breaking: Bump `bitflags` dependency to 2.0, changes `serde` impls of `Extensions` ([#443](https://github.com/ron-rs/ron/pull/443))
@@ -18,23 +18,23 @@ GameConfig( // optional struct name
18
18
window_size: (800, 600),
19
19
window_title: "PAC-MAN",
20
20
fullscreen: false,
21
-
21
+
22
22
mouse_sensitivity: 1.4,
23
23
key_bindings: {
24
24
"up": Up,
25
25
"down": Down,
26
26
"left": Left,
27
27
"right": Right,
28
-
28
+
29
29
// Uncomment to enable WASD controls
30
30
/*
31
31
"W": Up,
32
-
"A": Down,
33
-
"S": Left,
32
+
"S": Down,
33
+
"A": Left,
34
34
"D": Right,
35
35
*/
36
36
},
37
-
37
+
38
38
difficulty_options: (
39
39
start_difficulty: Easy,
40
40
adaptive: false,
@@ -102,6 +102,13 @@ Note the following advantages of RON over JSON:
102
102
* optional struct names improve readability
103
103
* enums are supported (and less verbose than their JSON representation)
104
104
105
+
## Limitations
106
+
107
+
RON is not designed to be a fully self-describing format (unlike JSON) and is thus not guaranteed to work when [`deserialize_any`](https://docs.rs/serde/latest/serde/trait.Deserializer.html#tymethod.deserialize_any) is used instead of its typed alternatives. In particular, the following Serde attributes are not yet supported:
108
+
-`#[serde(tag = "type")]`, i.e. internally tagged enums
109
+
-`#[serde(untagged)]`, i.e. untagged enums
110
+
-`#[serde(flatten)]`, i.e. flattening an inner struct into its outer container
0 commit comments