Skip to content

Locali 1.0.0-preview.27 - #17

Merged
soyeyalon merged 4 commits into
mainfrom
candidate
Nov 22, 2026
Merged

soyeyalon merged 4 commits into
mainfrom
candidate

Conversation

@soyeyalon

Copy link
Copy Markdown
Collaborator

Promotes candidate at ce0197b, whose full gate passed in run 45077008254, to main for the release of 1.0.0-preview.27. The changes are in the changelog's 1.0.0-preview.27 entry.

A run given a solution walked the solution's whole folder, so it read
files no project of the solution owns: a git-ignored sandbox's
experiments, a throwaway project kept there, or a project of another
solution. A malformed file there failed the gate on the one machine
that kept it.

A run given a solution or a project now reads the files of the
projects it loads, those each is the nearest project above and those
each compiles or embeds. A referenced project a never-built tree loads
keeps its files, and a .locali.json above the projects is still
reported where the run does not read it. An ignoreDiagnostics glob is
still held to every file beneath the path, so one written for another
solution's project in the same folder counts as applied.
An excludeFiles glob in .locali.json that matched no file was LOC0021,
while the same glob given as --exclude matched nothing in silence. The
folder an exclusion names often exists on some machines alone, as a
git-ignored sandbox or a build's output does, so the configuration
route failed the gate on every clone without the folder.

An excludeFiles glob is now held to nothing, as --exclude is. Every
other entry of the configuration is still held to applying to
something.
An empty glob in .locali.json's excludeFiles, ignoreDiagnostics or
localeSources, and an empty value given to --path, --report or
--exclude, stopped the run with an unhandled exception before it
reported anything.

The configuration now reports an empty glob as LOC0020 where it is
written and reads the rest of the file, and the command line refuses
an empty value as it refuses a missing one.
@soyeyalon
soyeyalon merged commit ce0197b into main Nov 22, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant