summaryrefslogtreecommitdiff
path: root/changelog.md
diff options
context:
space:
mode:
Diffstat (limited to 'changelog.md')
-rw-r--r--changelog.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index abf31f94..b8bb1c28 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,30 @@
# changelog
+## 2.5.0
+* `NEW` settings:
+ + `Lua.runtime.pathStrict`: not check subdirectories when using `runtime.path`
+ + `Lua.hint.await`: display `await` when calling a function marked as async
+* `NEW` add supports for `lovr`
+* `NEW` file encoding supports `utf16le` and `utf16be`
+* `NEW` `LuaDoc` annotations:
+ + `---@async`: mark a function as async
+ + `---@nodiscard`: the return value of the marking function cannot be discarded
+* `NEW` diagnostics:
+ + `await-in-sync`: check whether calls async function in sync function. disabled by default.
+ + `not-yieldable`: check whether the function supports async functions as parameters. disabled by default.
+ + `discard-returns`: check whether the return value is discarded.
+* `NEW` locale `pt-br`, thanks [Jeferson Ferreira](https://github.com/jefersonf)
+* `NEW` supports [utf-8-offsets](https://clangd.llvm.org/extensions#utf-8-offsets)
+* `CHG` `LuaDoc`:
+ + `---@class` can be re-declared
+ + supports unicode
+ + supports `---@param ... number`, equivalent to `---@vararg number`
+ + supports `fun(...: string)`
+ + supports `fun(x, y, ...)`, equivalent to `fun(x: any, y: any, ...: any)`
+* `CHG` no longer asks to trust plugin in VSCode, because VSCode already provides the workspace trust feature
+* `CHG` skip huge files (>= 10 MB)
+* `CHG` after using `Lua.runtime.nonstandardSymbol` to treat `//` as a comment, `//` is no longer parsed as an operator
+
## 2.4.9
`2021-11-18`
* `CHG` for performance reasons, some of the features that are not cost-effective in IntelliSense have been disabled by default, and you can re-enable them through the following settings: