What's Changed
This release addresses a long-standing issue where the AST had memory leaks.
I can finally sleep well, knowing that my software is free of memory leaks 😀
Moreover, the parser is now 4% faster (again!), thanks to @overlookmotel's improvements.
New Rules
- Implement no_this_before_super with cfg by @TzviPM in #2254
- add typescript-eslint rule array-type by @luhc228 in #2292
Fixes
- add regression case for require-yield by @Boshen in #2326
- fix no_dupe_keys false postive on similar key names by @Boshen in #2291
Parser
- fix memory leak by implementing inlineable string for oxc_allocator by @Boshen in #2294
- fix BigInt memory leak by removing it by @Boshen in #2293
- perf: lexer replace
Chars
withSource
by @overlookmotel in #2288
Full Changelog: oxlint_v0.2.7...oxlint_v0.2.8