Releases: LuaLS/lua-language-server
Releases · LuaLS/lua-language-server
3.12.0
What's Changed
- fix: regression related to type narrow and generic since v3.10.1 by @tomlau10 in #2898
- Fix vararg indices being unknown when iterated by @PennyJim in #2908
- [reference] Check also in tablefield by @pborkowski-ms in #2911
- fix: parse storage path by @carsakiller in #2913
- [New]
enum
现在允许在快速修复中导入. by @xuhuanzy in #2918
New Contributors
- @PennyJim made their first contribution in #2908
- @pborkowski-ms made their first contribution in #2911
Full Changelog: 3.11.1...3.12.0
3.11.1
What's Changed
- update format 1.5.6 by @CppCXY in #2875
- Fix syntax errors in the Japanese locale by @Affonso-Gui in #2882
- Add storagePath handling and memoization to resolvePathPlaceholders by @sparr in #2893
- Return markdown from getFunctionComment to temporarily preserve trailing newlines by @sparr in #2888
Full Changelog: 3.11.0...3.11.1
3.11.0
What's Changed
- Add Japanese translations by @Affonso-Gui in #2848
- Remove luamake install from make.sh and make.bat by @sparr in #2853
- Use
string.format
to fix floating point error in test output by @sparr in #2854 - Infer function parameter types when overriding the same-named class function in an instance of that class by @tomlau10 in #2859
- feat: type narrow types with literal fields by @lewis6991 in #2864
- add: placeholder for ${addons} for paths by @carsakiller in #2866
- lint: cleanup unused code and redefined locals by @lewis6991 in #2865
- Support using
---@class
onrawset(_G, ...)
to annotate the created global variable by @tomlau10 in #2867 - fix: type narrow on fields with multiple literals by @lewis6991 in #2871
New Contributors
- @Affonso-Gui made their first contribution in #2848
- @sparr made their first contribution in #2853
Full Changelog: 3.10.6...3.11.0
3.10.6
What's Changed
- custom luadoc generation by @skarph in #2821
- Fix setfenv definition by @emmericp in #2835
- Fix VM plugins by @Wild-W in #2834
- fix: improve function type narrow by checking params' literal identical by @tomlau10 in #2822
- Fix incorrect function params' type infer when there is only
@overload
by @tomlau10 in #2838 - Fix correctly display enums for function overload arguments by @NeOzay in #2840
- Only call workspace/configuration when available by @nospam2998 in #2843
- fix(completion): remove logic causing wrong text edits by @max397574 in #2844
- Fixed injects into child classes by @Luke100000 in #2841
New Contributors
- @skarph made their first contribution in #2821
- @Wild-W made their first contribution in #2834
- @nospam2998 made their first contribution in #2843
- @max397574 made their first contribution in #2844
Full Changelog: 3.10.5...3.10.6
3.10.5
3.10.4
What's Changed
- GitHub issue templates by @carsakiller in #2796
- FIX: Changed hello param to valid JSONRPC by @OmentaElvis in #2798
- fix(hint): attempt to index a nil value by @tmillr in #2790
- fix: improve textDocument/definition ordering by @lewis6991 in #2792
- Fix lua-language-server --check (#2683) by @Freed-Wu in #2775
- Revert "fix: improve textDocument/definition ordering" by @sumneko in #2800
- check that the shape of the table corresponds to the class by @NeOzay in #2768
New Contributors
- @OmentaElvis made their first contribution in #2798
- @Freed-Wu made their first contribution in #2775
Full Changelog: 3.10.3...3.10.4
3.10.3
Full Changelog: 3.10.2...3.10.3
3.10.2
What's Changed
- feat: flip binary operator check if failed (#2777) by @SeanTheBuilder1 in #2779
New Contributors
- @SeanTheBuilder1 made their first contribution in #2779
Full Changelog: 3.10.1...3.10.2
3.10.1
Full Changelog: 3.10.0...3.10.1
3.10.0
What's Changed
- Fix plugin arg arrays when paths contain numbers passing along only one argument by @JanSharp in #2716
- Add postfix snippet for
unpack
by @ofseed in #2719 - Add support for lambda-style functions by @bavalpey in #2720
- fix: default severity in CLI with partial 'diagnostics.severity' config by @tomlau10 in #2731
- Perf: Improve performance of multithreaded
--check
andundefined-field
diagnostic by @tomlau10 in #2738 - fix: respect showParams config for local function completion by @DCsunset in #2735
- update format by @CppCXY in #2739
- Remove nodiscard from string.gsub by @actboy168 in #2751
- Align inlay hint spacing with other LSPs by @ribru17 in #2743
- fix: add a missing check for 'inject-field' diagnostics by @NeOzay in #2747
- added lua regular expression support for Lua.doc.Name by @NeOzay in #2753
- fix a specific case for getVisibleType by @NeOzay in #2755
- Fixed wholeMatch function by @qwertycxz in #2756
- fix: inconsistent type narrow due to outdated node caches of call.args by @tomlau10 in #2765
- Fix typos in annotation descriptions by @teatimeguest in #2772
- fix: incorrect
CompletionItemKind
for postfix snippets by @tmillr in #2773 - improve the missing-fields logic to be able to correctly handle classes defined several times by @NeOzay in #2770
New Contributors
- @JanSharp made their first contribution in #2716
- @ofseed made their first contribution in #2719
- @bavalpey made their first contribution in #2720
- @tomlau10 made their first contribution in #2731
- @DCsunset made their first contribution in #2735
- @ribru17 made their first contribution in #2743
- @NeOzay made their first contribution in #2747
- @qwertycxz made their first contribution in #2756
- @teatimeguest made their first contribution in #2772
- @tmillr made their first contribution in #2773
Full Changelog: 3.9.3...3.10.0