Skip to content

Commit 84a86ee

Browse files
Prepare release 3.8.2 (#437)
## Product change and motivation Bump version and generate release notes. ## Implementation
1 parent fd6a02d commit 84a86ee

2 files changed

Lines changed: 12 additions & 24 deletions

File tree

RELEASE_NOTES_LATEST.md

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,47 +3,35 @@
33

44
Available through https://crates.io/crates/typeql.
55
```
6-
cargo add typeql@3.8.0
6+
cargo add typeql@3.8.2
77
```
88

99

1010
## New Features
11-
- **Add built-in functions iid() and label()**
11+
- **Allow leading underscore in type labels**
1212

13-
We add `iid()` and `label()` to the built-in functions in the TypeQL grammar.
13+
We relax our identifier rules, allowing `_` as a leading underscore in type labels. This does NOT extend to variables, since we have some complexity around anonymous variables for the time being we don't want to modify.
1414

1515

1616

1717
## Bugs Fixed
18-
- **Use XID_START and XID_CONTINUE character classes**
19-
20-
We use `XID_START` and `XID_CONTINUE` character classes provided by pest instead of manually listing unicode codepoint ranges for our identifiers. We also change the definition of the word boundary (`WB`) to be "any character that is not an identifier continuation character" that resolves parsing bugs such as `let $var= 4;` failing to parse: `=` is not `PUNCTUATION`, so not valid word boundary.
21-
22-
23-
24-
## Code Refactors
2518

2619

27-
## Other Improvements
28-
- **Expose value parser**
29-
30-
We expose value parsing as a top-level function, and update the value literal definitions. This lets us re-use the value parser for test frameworks in other repositories.
20+
## Code Refactors
21+
- **Introduce Collector variant of Reducer to accomodate the unimplemented list reducer**
22+
It was placed under Stat, which it is not and caused confusion & crashes in core.
3123

3224

33-
- **Update TypeQL banner image link in README**
34-
35-
- **Add contributing guidelines to CONTRIBUTING.md**
3625

37-
- **Allow trailing commas (#421)**
26+
## Other Improvements
27+
- **Add tests for end; clause in query pipelines**
3828

39-
To simplify writing and generating queries, we allow trailing commas anywhere we use a comma separated list of variables, statements, reductions, etc.
29+
Add tests for `end;` statements
4030

31+
- **Allow decimal syntax without a period**
4132

42-
- **Remove discussion and Stack Overflow links**
43-
44-
- **Allow trailing commas**
33+
To give both humans and LLMs more flexibility when writing `decimal` value types, we no longer requiring the `.0` in `xxx.0dec`. This is unambiguous since the `dec` suffix already syntactically differentiates when a value is a decimal.
4534

46-
To simplify writing and generating queries, we allow trailing commas anywhere we use a comma separated list of variables, statements, reductions, etc.
4735

4836

4937

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.8.0
1+
3.8.2

0 commit comments

Comments
 (0)