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
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,41 @@
2
2
3
3
# 0.8.0 (unreleased)
4
4
5
+
`NEW` Implement `std.Unpack` type for better type inference of the `unpack` function, and `std.Rawget` type for better type inference of the `rawget` function
6
+
7
+
`NEW` Support `generator` implementation similar to `luals`
8
+
9
+
`FIX` Fix issue where type narrowing is lost in nested closures
10
+
11
+
`NEW` Improved generic parameter inference for lambda functions, now better inferring parameter types for lambda functions
12
+
13
+
`CHG` Changed `math.huge` to number type
14
+
15
+
`FIX` Optimized inference of variadic generic return values, now usable for asynchronous library return value inference:
16
+
```lua
17
+
--- @genericT,R
18
+
--- @paramargcinteger
19
+
--- @paramfuncfun(...:T..., cb: fun(...:R...))
20
+
--- @returnasyncfun(...:T...):R...
21
+
localfunctionwrap(argc, func) end
22
+
23
+
--- @paramastring
24
+
--- @parambstring
25
+
--- @paramcallbackfun(out: string)
26
+
localfunctionsystem(a, b, callback) end
27
+
28
+
localwrapped=wrap(3, system)
29
+
```
30
+
31
+
`FIX` Optimized rendering of certain type hints
32
+
33
+
`NEW` Added documentation hints for modules and types in code completion
34
+
35
+
`NEW` Added type checking for intersection types
36
+
37
+
`NEW` Support for generic constraint checking, string template parameter type checking and code completion
0 commit comments