Skip to content

darklua 0.19.0#287364

Merged
BrewTestBot merged 2 commits into
mainfrom
bump-darklua-0.19.0
Jun 11, 2026
Merged

darklua 0.19.0#287364
BrewTestBot merged 2 commits into
mainfrom
bump-darklua-0.19.0

Conversation

@BrewTestBot

Copy link
Copy Markdown
Contributor

Created by brew bump


Created with brew bump-formula-pr.

Details

release notes
The big change is **content loaders**. darklua now accepts glob patterns that map to configurable loaders in your config file. Most loaders are already there by default, but you can override or extend them:
{
  generator: "retain_lines",
  rules: [
    // ...
  ],
  loaders: {
    "**/*.model.json": "copy",
    "**/*.json": "json",
    "**/*.md": "string",
  },
}

This solves a few issues I know people had and it opens up new possibilities too:

  • Rojo model files can now be copied when processing files (no more manual cp workaround) with the copy loader
  • when bundling, darklua could already load data files (json, toml, yaml) and inline the converted data as Lua code, but now there are actual loaders to make that work in the regular process flow too
  • there is now a path to support more Lua parsers, since there is a way to add loaders like a future lua53 loader. (this is not currently planned, but it could be sponsored)

Available loaders: luau, copy, skip, string, buffer, bytes, data loaders (json, json_lines, toml, yaml), and encoding variants for embedding content (/base64, /zstd, /gzip, /zlib)

Other changes:

  • const declarations are now supported, with a new make_assignment_local rule to convert them to local assignments
  • type instantiation prefixes and methods are now supported (e.g. func<<string>>())
  • the rename_variables rule can now detect globals automatically and avoid renaming them

What's Changed

New Contributors

Full Changelog: seaofvoices/darklua@v0.18.0...v0.19.0

View the full release notes at https://github.com/seaofvoices/darklua/releases/tag/v0.19.0.


@github-actions github-actions Bot added rust Rust use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Jun 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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

Caution

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 Jun 11, 2026
@BrewTestBot BrewTestBot enabled auto-merge June 11, 2026 00:07
@BrewTestBot BrewTestBot added this pull request to the merge queue Jun 11, 2026
Merged via the queue into main with commit abe7adb Jun 11, 2026
22 checks passed
@BrewTestBot BrewTestBot deleted the bump-darklua-0.19.0 branch June 11, 2026 00:22
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. rust Rust use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants