Fixes
-
Fix line ending detection for files with mixed endings. 074ff35
f.newlines lists the endings seen in a fixed order (CR, LF, CRLF), so taking the first entry let a single stray CR convert a whole LF file to CR.
Add read_text_and_newline, which picks the most common line ending, and use it for configured files, TOML files and the legacy INI config.
-
Fix config file line endings changing on a bump. b5751b8
The TOML and legacy .cfg config files were read and written in text mode
with the default newline handling, so a bump rewrote the whole file with
the platform's line ending: LF became CRLF on Windows.Write back the line ending the file already had, as ConfiguredFile does.
Other
-
[pre-commit.ci] pre-commit autoupdate. f7cb4a5
updates: - github.com/astral-sh/ruff-pre-commit: v0.17.3 → v0.17.5
-
Chore(deps): bump actions/setup-node. cd87626
Bumps the github-actions group with 1 update: actions/setup-node.
Updates
actions/setup-nodefrom 4 to 7
updated-dependencies: - dependency-name: actions/setup-node
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actionssigned-off-by: dependabot[bot] support@github.com
-
Fix internal link rewriting for
.mdfiles in VitePress and update preview script. 2900b22- Improve handling of internal
.mdlinks to correctly resolve and rewrite URLs for emitted pages, aligning with the dead-link checker expectations. - Adjust
docs/package.jsonto ensure reference generation is included in thepreviewscript.
- Improve handling of internal
-
Upgrade dependencies for VitePress and related packages. 630aa17
- Bump VitePress to
2.0.0-alpha.21. - Upgrade
@docsearch/cssand@docsearch/jsto4.7.1. - Replace older Rollup platform bindings with updated Rolldown bindings (
1.2.16). - Add
@oxc-project/typesdependency (0.156.0).
- Bump VitePress to
-
Point agent docs at pre-commit as the single lint gate. 2854288
Replace the hand-copied lint commands in CODING_STANDARDS.md with
pre-commit (which includes rumdl for markdown), and drop the duplicated
Code style and Commands content from AGENTS.md.