8000 luau 0.667 by BrewTestBot · Pull Request #217064 · Homebrew/homebrew-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

luau 0.667 #217064

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 29, 2025
Merged

luau 0.667 #217064

merged 2 commits into from
Mar 29, 2025

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
After a very auspicious release last week, we have a new bevy of changes for you!

What's Changed

Deprecated Attribute

This release includes an implementation of the @deprecated attribute proposed in this RFC. It relies on the new type solver to propagate deprecation information from function and method AST nodes to the corresponding type objects. These objects are queried by a linter pass when it encounters local, global, or indexed variables, to issue deprecation warnings. Uses of deprecated functions and methods in recursion are ignored. To support deprecation of class methods, the parser has been extended to allow attribute declarations on class methods. The implementation does not support parameters, so it is not currently possible for users to customize deprecation messages.

General

  • Add a limit for normalization of function types.

New Type Solver

  • Fix type checker to accept numbers as concat operands (Fixes #1671).
  • Fix user-defined type functions failing when used inside type aliases/nested calls (Fixes #1738, Fixes #1679).
  • Improve constraint generation for overloaded functions (in part thanks to @vvatheus in #1694).
  • Improve type inference for indexers on table literals, especially when passing table literals directly as a function call argument.
  • Equate regular error type and intersection with a negation of an error type.
  • Avoid swapping types in 2-part union when RHS is optional.
  • Use simplification when doing ~nil refinements.
  • len<> now works on metatables without __len function.

AST

  • Retain source information for AstTypeUnion and AstTypeIntersection.

Transpiler

  • Print attributes on functions.

Parser

  • Allow types in indexers to begin with string literals by @jackdotink in #1750.

Autocomplete

  • Evaluate user-defined type functions in ill-formed source code to provide autocomplete.
  • Fix the start location of functions that have attributes.
  • Implement better fragment selection.

New Contributors

Internal Contributors

Co-authored-by: Andy Friesen afriesen@roblox.com
Co-authored-by: Ariel Weiss aaronweiss@roblox.com
Co-authored-by: Aviral Goel agoel@roblox.com
Co-authored-by: Hunter Goldstein hgoldstein@roblox.com
Co-authored-by: Sora Kanosue skanosue@roblox.com
Co-authored-by: Talha Pathan tpathan@roblox.com
Co-authored-by: Varun Saini vsaini@roblox.com
Co-authored-by: Vighnesh Vijay vvijay@roblox.com
Co-authored-by: Vyacheslav Egorov vegorov@roblox.com

Full Changelog: luau-lang/luau@0.666...0.667

@github-actions github-actions bot added the bump-formula-pr PR was created using `brew bump-formula-pr` label Mar 29, 2025
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Mar 29, 2025
@BrewTestBot BrewTestBot enabled auto-merge March 29, 2025 02:53
@BrewTestBot BrewTestBot added this pull request to the merge queue Mar 29, 2025
Merged via the queue into master with commit fa779e1 Mar 29, 2025
14 checks passed
@BrewTestBot BrewTestBot deleted the bump-luau-0.667 branch March 29, 2025 03:00
6E57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0