Skip to content

v0.5.18

Choose a tag to compare

@github-actions github-actions released this 11 Mar 13:45
· 3026 commits to main since this release
Immutable release. Only release title and notes can be modified.

What's Changed

Features & Improvements

  • feat(typechecker): support row polymorphism for dicts via Record type by @harehare in #1364
  • ✨ feat: add type predicate-based narrowing for union types in if/elif branches by @harehare in #1367
  • ✨ feat(strict-array): implement strict array mode to enforce homogeneous arrays and add related tests by @harehare in #1368
  • ✨ Implement tuple mode by @harehare in #1369
  • feat(mq-check): support piped builtin calls and self keyword type propagation by @harehare in #1370
  • ✨ feat(release): add mq-check artifact renaming and upload to release workflow by @harehare in #1372
  • ✨ feat: add frontmatter extraction examples and documentation by @harehare in #1384
  • Integrate mq-check crate and type checker options by @harehare in #1373
  • ✨ feat(mq-wasm): add mq-check dependency and implement inlayHints API with type checking support by @harehare in #1397
  • ✨ feat(mq-lang): add incremental CST parser by @harehare in #1400
  • ✨feat(lang): support def without params in parser by @harehare in #1413
  • ✨ chore(crawler): rename binary from mqcr to mq-crawl and update references by @harehare in #1394

Bug Fixes

  • Fix undefined field access tests to assert TypeError::UndefinedField specifically by @Copilot in #1366
  • 🐛 fix: report error for undefined field access on closed records by @harehare in #1365
  • fix(mq-lsp): remove useless .into() conversion causing clippy failure by @Copilot in #1383
  • 🐛 fix(mq-check): handle union overloads with consistent return types by @harehare in #1386
  • 🐛 fix(mq-check): correct deferred overload replacement and add regression test by @harehare in #1391
  • fix(mq-lang): unify TextEdit to character offsets, update incremental parser and tests by @harehare in #1405
  • 🐛 fix: enhance type inference for union and tuple types, improve error handling in type checker by @harehare in #1406
  • 🐛 fix: correct symbol handling, index_by test, and inlay hints logic by @harehare in #1421

Refactoring & Performance

  • ♻️ refactor(mq-check): extract union_members_consistent_return into standalone helper by @Copilot in #1387
  • perf(mq-check): replace Vec with FxHashMap for deferred_overloads by @Copilot in #1393
  • 🔧 refactor(config): update type check configuration keys by @harehare in #1392
  • ♻️ refactor(mq-check): extract get_non_keyword_children, add error helpers, improve type formatting by @harehare in #1399
  • Remove module includes by @harehare in #1414

Tests & Documentation

  • Add tests for Union(Array(T), None) index access in type checker by @Copilot in #1407
  • Increase test coverage for mq-check unification logic by @harehare in #1419
  • Add comprehensive tests to mq-check by @harehare in #1420
  • 📝 Update README.md by @harehare in #1422

Build & Dependencies

  • 👷 ci: remove paths-filter and simplify workflow dependencies by @harehare in #1385
  • build(deps-dev): bump @types/node from 25.3.2 to 25.3.3 in /editors/vscode by @dependabot[bot] in #1374
  • build(deps-dev): bump oxlint from 1.50.0 to 1.51.0 in /editors/vscode by @dependabot[bot] in #1375
  • build(deps): bump tokio-macros from 2.6.0 to 2.6.1 by @dependabot[bot] in #1376
  • build(deps): bump fantoccini from 0.22.0 to 0.22.1 by @dependabot[bot] in #1377
  • build(deps-dev): bump oxlint from 1.50.0 to 1.51.0 in /packages/mq-web by @dependabot[bot] in #1378
  • build(deps-dev): bump oxlint from 1.50.0 to 1.51.0 in /packages/mq-playground by @dependabot[bot] in #1379
  • build(deps): bump tokio from 1.49.0 to 1.50.0 by @dependabot[bot] in #1381
  • build(deps): bump react-icons from 5.5.0 to 5.6.0 in /packages/mq-playground by @dependabot[bot] in #1382
  • build(deps): bump smol_str from 0.3.5 to 0.3.6 by @dependabot[bot] in #1388
  • build(deps): bump docker/login-action from 3 to 4 by @dependabot[bot] in #1389
  • build(deps): bump docker/metadata-action from 5 to 6 by @dependabot[bot] in #1395
  • build(deps): bump docker/setup-buildx-action from 3 to 4 by @dependabot[bot] in #1396
  • build(deps): bump docker/build-push-action from 6 to 7 by @dependabot[bot] in #1403
  • build(deps): bump which from 8.0.0 to 8.0.1 by @dependabot[bot] in #1402
  • build(deps-dev): bump @types/node from 25.3.3 to 25.3.5 in /editors/vscode by @dependabot[bot] in #1401
  • build(deps): bump libc from 0.2.182 to 0.2.183 by @dependabot[bot] in #1411
  • build(deps): bump which from 8.0.1 to 8.0.2 by @dependabot[bot] in #1410
  • build(deps-dev): bump @types/node from 25.3.5 to 25.4.0 in /editors/vscode by @dependabot[bot] in #1409
  • build(deps-dev): bump oxlint from 1.51.0 to 1.52.0 in /packages/mq-playground by @dependabot[bot] in #1418
  • build(deps-dev): bump oxlint from 1.51.0 to 1.52.0 in /packages/mq-web by @dependabot[bot] in #1417
  • build(deps-dev): bump oxlint from 1.51.0 to 1.52.0 in /editors/vscode by @dependabot[bot] in #1415
  • build(deps-dev): bump @types/vscode from 1.108.1 to 1.110.0 in /editors/vscode by @dependabot[bot] in #1416

Full Changelog: v0.5.17...v0.5.18