Releases: EmmyLuaLs/emmylua-analyzer-rust
Releases Β· EmmyLuaLs/emmylua-analyzer-rust
Release list
emmylua_ls
What's Changed
- fix(docs): wrap and indent overflowing signatures by @Nerixyz in #1209
- fix compound assignment alignment formatting by @hfn92 in #1210
- chore(doc_cli): Format JS and CSS with Prettier by @Nerixyz in #1212
- Fix runtime versions for math.randomseed() by @ligurio in #1214
- fix(flow): handle lesser array length guards by @lewis6991 in #1216
- perf: avoid rebuilding large inferred unions by @lewis6991 in #1217
Full Changelog: 0.25.0...0.25.1
emmylua_ls
What's Changed
- fix LuaJIT name in warnings by @ligurio in #1172
- Fix nix flake build with current rust and openssl by @saffr3n in #1185
- fix: error on statement after return by @PennyJim in #1191
- fix(flow): preserve self-assignment antecedent types by @lewis6991 in #1182
- use no-resursive infer by @CppCXY in #1202
- fixed safe-navigation assignment formatting by @hfn92 in #1205
New Contributors
- @saffr3n made their first contribution in #1185
- @PennyJim made their first contribution in #1191
- @hfn92 made their first contribution in #1205
Full Changelog: 0.24.0...0.25.0
emmylua_ls
What's Changed
- fix: avoid flow replay for unrelated call conditions by @lewis6991 in #1101
- Add more information about formatter to docs by @colin-heffernan in #1124
- fix: stop repeated assignments from hanging by @lewis6991 in #1115
- update generic by @xuhuanzy in #1096
- Fix:
undefined-fieldfalse positive fortable<K,V>when value type is generic and key is notstring/integerby @ShenzhenGopher in #1109 - fix(flow): stop cyclic walks after unreachable continue by @lewis6991 in #1147
- fix: separate unreachable conditions from never types by @lewis6991 in #1098
- update by @xuhuanzy in #1113
- format: offer one-operand-per-line layout for and/or chains by @MillhioreBT in #1160
- update by @xuhuanzy in #1150
New Contributors
- @colin-heffernan made their first contribution in #1124
- @ShenzhenGopher made their first contribution in #1109
Full Changelog: 0.23.2...0.24.0
emmylua_ls
What's Changed
- fix: make code actions follow formatter tag spacing by @lewis6991 in #1089
- fix: make format parameter optional in os.date function by @tinyleolin in #1093
- perf: avoid unrelated multi-return correlation by @lewis6991 in #1095
- fix: handle semantic flow edge cases by @lewis6991 in #1086
- fix: avoid recursive signature instantiation by @lewis6991 in #1085
Full Changelog: 0.23.1...0.23.2
emmylua_ls
What's Changed
- Support range format by @CppCXY in #1069
- fix(flow): avoid unresolved global replay hang by @lewis6991 in #1072
- fix by @xuhuanzy in #1062
- refactor(semantic): specialize operator function storage by @lewis6991 in #1063
- fix: batch large member unions by @lewis6991 in #1077
- perf: recover scripts.zip load regression by @lewis6991 in #1079
- fix: stop depending on unmaintained/unsound serde_yml by @mrcjkb in #1080
Full Changelog: 0.23.0...0.23.1
emmylua_ls
What's Changed
- fix: block forever when using a related path by @myzhan in #1000
- fix: correct debug.setlocal param type from string to integer by @EfveZombie in #1010
- fix: use optional param instead of overload for loadfile by @EfveZombie in #1011
- fix: add version check for meta decl member resolution by @EfveZombie in #1012
- fix(type): canonicalize identical callable unions by @lewis6991 in #1022
- Handle Def types in object constraint duck typing by @MillhioreBT in #994
- fix: use intersection type for table.pack return type by @EfveZombie in #1023
- fix(type): luajit coroutine.running() by @phanen in #1027
- fix: use return_overload annotations in std libs, to fix overload return type inference by @EfveZombie in #1030
- refactor(visibility): improve type visibility by @xuhuanzy in #1004
- fix: resolve overload before generic constraint check by @EfveZombie in #1021
- fix(flow): reuse ordered return analysis for loop exits by @lewis6991 in #1037
- fix(flow): separate dynamic loop divergence from infinite loops by @lewis6991 in #1039
- fix(semantic): make flow narrowing iterative by @lewis6991 in #1029
- Fix markup in documentation by @ligurio in #1041
- fix(flow): honor explicit @cast when source is unresolved by @lewis6991 in #1046
- fix: handle intersection type as table subtype by @EfveZombie in #1025
- fix(semantic): stop following circular type declarations by @lewis6991 in #1051
- test: make diagnostic helper name match behavior by @lewis6991 in #1054
- chore(lints): deny unused qualifications by @lewis6991 in #1053
- fix(semantic): narrow rawget doc-function guards by @lewis6991 in #1055
- fix(generic): stabilize higher-order callable overload inference by @lewis6991 in #990
- update by @xuhuanzy in #1017
- fix(semantic): reuse branch-narrowed types in expression inference by @lewis6991 in #1057
- fix by @xuhuanzy in #1061
New Contributors
Full Changelog: 0.22.0...0.23.0
emmylua_ls
What's Changed
- feat(diagnostic): report unresolved require modules by @lewis6991 in #968
- fix: remove transitive dependency on aws-lc-rs by @mrcjkb in #983
- fix: honor explicit library roots despite workspace excludes by @lewis6991 in #981
- fix(code-analysis): strip implicit self from doc call operators by @lewis6991 in #980
- fix: refresh workspace match and watch state on reload by @lewis6991 in #984
- fix(call): support callable intersection types by @lewis6991 in #985
- feat(code-analysis): support @return_overload flow narrowing by @lewis6991 in #974
- fix: avoid redundant workspace reloads on startup by @lewis6991 in #995
- fix(flow): apply deferred narrows after antecedent resolution by @lewis6991 in #989
- New Formatter by @CppCXY in #982
- update by @xuhuanzy in #988
- fix(type): preserve unknown unions and narrow pcall(any) by @lewis6991 in #997
Full Changelog: 0.21.0...0.22.0
emmylua_ls
What's Changed
- fix(flow): mark post-if unreachable when all branches terminate by @lewis6991 in #939
- update by @xuhuanzy in #936
- feat(diagnostic): add non-callable call checker by @lewis6991 in #940
- fix(hover): function params by @lewis6991 in #945
- fix(typecheck): accept intersections in class assignments by @lewis6991 in #947
- fix: type guard narrowing for union functions by @lewis6991 in #949
- fix(flow): narrow to assigned function signatures by @lewis6991 in #950
- Enhance
setmetatable()with generic type support by @alek13 in #958 - Support
@schema urlby @CppCXY in #952 - fix: select(n, func()) correctly narrows type when func returns multiple values by @nickvonkaenel in #962
- fix(analysis): resolve alias-call returns and simplify flow assignments by @lewis6991 in #946
- fix(module): enforce segment-boundary fuzzy require matching by @lewis6991 in #967
- fix(module): stabilize fuzzy require resolution across duplicate suffix matches by @lewis6991 in #969
- fix: the
nextreturned byparisshould accept 2 arguments by @EfveZombie in #966 - fix: package.searchpath returns nil+error if none succeeds by @EfveZombie in #971
- fix(diagnostic): handle constrained generic function calls in call-non-callable by @lewis6991 in #970
- fix: expr-key member registration for table inference by @lewis6991 in #951
- fix: std functions should match official manuals by @EfveZombie in #973
- fix(parser): Support cond generic literals
true,false, andnil. by @xuhuanzy in #976 - fix(typecheck): prefer declared globals for index member ownership by @lewis6991 in #953
- feat: update incomplete-signature-doc to also error on non-global functions by @dquixote-jr in #975
- feat: detect recursive closures properly by @dquixote-jr in #978
New Contributors
- @alek13 made their first contribution in #958
- @nickvonkaenel made their first contribution in #962
- @EfveZombie made their first contribution in #966
- @dquixote-jr made their first contribution in #975
Full Changelog: 0.20.0...0.21.0
emmylua_ls
What's Changed
- fix(semantic_token): find decl before check global var by @phanen in #905
- fix(types): package.loadlib return
nil, errwhen fail by @phanen in #908 - enhance os library annotations by @tinyleolin in #919
- fix: improve type narrowing for 'and'/'or' operators with nullable types by @lewis6991 in #926
- feat(generics): add object literal pattern matching in conditional type infer by @mmpestorich in #928
- update by @xuhuanzy in #909
- Fix type annotations for
utf8standard library by @rijenkii in #934
New Contributors
- @mmpestorich made their first contribution in #928
- @rijenkii made their first contribution in #934
Full Changelog: 0.19.0...0.20.0