Joscha
d4d1fcb668
Allow dates in identifiers
...
Continuous integration / Check formatting (push) Has been cancelled
Continuous integration / Test on Rust stable (push) Has been cancelled
Continuous integration / Check on WASM (push) Has been cancelled
Continuous integration / Run toml-test (push) Has been cancelled
Continuous integration / Test libraries with MSRV (push) Has been cancelled
Continuous integration / Test binaries with MSRV (push) Has been cancelled
Continuous integration / Test WASM with MSRV (push) Has been cancelled
Continuous integration / Tag Releases (push) Has been cancelled
According to the toml standard, bare keys may only contain the
characters A-Za-z0-9_- and they must contain at least one character.
This allows identifiers to look like dates, e.g. 2024-01-01.
Due to a bug in the lexing library logos, some-like identifiers are
incorrectly being parsed as INTEGER tokens, while date-like identifiers
in table names are being parsed as DATE tokens as they should be. Due to
this bug, date-like identifiers were being accepted in some situations
by taplo while they were rejected in other situations.
This commit only allows DATE tokens in identifiers (as they should be,
according to the standard). It does not fix the underlying bug that
sometimes produces incorrect INTEGER tokens instead of DATE tokens.
2025-10-22 14:36:25 +02:00
JP-Ellis
a2463554c3
fix: use new schemastore catalog url
...
Continuous integration / Tag Releases (push) Has been cancelled
Continuous integration / Check formatting (push) Has been cancelled
Continuous integration / Test on Rust stable (push) Has been cancelled
Continuous integration / Check on WASM (push) Has been cancelled
Continuous integration / Run toml-test (push) Has been cancelled
Continuous integration / Test libraries with MSRV (push) Has been cancelled
Continuous integration / Test binaries with MSRV (push) Has been cancelled
Continuous integration / Test WASM with MSRV (push) Has been cancelled
SchemaStore.org is in the process of transition to GitHub pages hosting.
The new, and more canonical, URL for the catalog is:
> https://json.schemastore.org/api/json/catalog.json
though this does require following a redirect.
Ref: SchemaStore/schemastore#4759
Ref: SchemaStore/schemastore#4763
Ref: tamasfe/taplo#800
Signed-off-by: JP-Ellis <josh@jpellis.me>
2025-07-04 00:04:15 +02:00
Jakub Panek
1242bbe55d
ci: fix invalid dir name, remove artefact compression, fix wheels publish
2025-07-04 00:01:48 +02:00
Jakub Panek
5db91cb4a3
docker: add oci-shell target for OCI images with /bin/sh requirements
...
Fixes https://github.com/tamasfe/taplo/issues/793
2025-07-04 00:01:48 +02:00
David Tolnay
e918c7775d
Remove backtrace feature from anyhow dependency
Continuous integration / Test on Rust stable (push) Has been cancelled
Continuous integration / Check on WASM (push) Has been cancelled
Continuous integration / Check formatting (push) Has been cancelled
Continuous integration / Tag Releases (push) Has been cancelled
Continuous integration / Run toml-test (push) Has been cancelled
Continuous integration / Test libraries with MSRV (push) Has been cancelled
Continuous integration / Test binaries with MSRV (push) Has been cancelled
Continuous integration / Test WASM with MSRV (push) Has been cancelled
2025-05-30 01:47:53 +02:00
Jakub Panek
b18a173326
docs: update download webpage
Continuous integration / Tag Releases (push) Has been cancelled
Continuous integration / Check formatting (push) Has been cancelled
Continuous integration / Test on Rust stable (push) Has been cancelled
Continuous integration / Check on WASM (push) Has been cancelled
Continuous integration / Run toml-test (push) Has been cancelled
Continuous integration / Test libraries with MSRV (push) Has been cancelled
Continuous integration / Test binaries with MSRV (push) Has been cancelled
Continuous integration / Test WASM with MSRV (push) Has been cancelled
Deploy Site / deploy (push) Has been cancelled
2025-05-23 07:35:52 +02:00
Jakub Panek
20a9145169
release: taplo-cli 0.10.0
2025-05-23 04:52:21 +02:00
Jakub Panek
8405a579fe
release: taplo-lsp 0.8.0
2025-05-23 04:28:31 +02:00
Jakub Panek
a613e543fd
release: lsp-async-stub 0.7.0
2025-05-23 02:51:32 +02:00
Jakub Panek
55d6d633d6
chore: sort features in Cargo.toml
2025-05-23 02:47:12 +02:00
Jakub Panek
bd26d062a4
fix: add missing tokio features, specify taplo dependency version
2025-05-23 02:30:11 +02:00
Jakub Panek
ab53926a8a
release: taplo-common 0.6.0
2025-05-23 01:59:57 +02:00
Jakub Panek
15963fcb55
release: taplo 0.14.0
2025-05-23 01:35:05 +02:00
Phuong Nguyen
1bb2c18819
ci: Build wheel for linux aarch64 ( #743 )
...
* ci: Build wheel for linux aarch64
* ci: Set workaround CFLAGS for linux aarch64
2025-04-29 14:15:14 +02:00
Jakub Panek
11e64bbe92
bump walkdir in test-gen
2025-04-08 20:08:57 +02:00
Jakub Panek
1901affc87
add musl wheels
2025-04-08 20:08:57 +02:00
Jakub Panek
0cfc0323e3
refactor logging setup
2025-04-08 20:08:57 +02:00
Jakub Panek
33e0b805fb
add completions generation to cli
2025-04-08 20:08:57 +02:00
Jakub Panek
59c029cbce
update dockerignore
2025-04-08 20:08:57 +02:00
Jakub Panek
6fe4a83492
fix LICENSE
2025-04-08 20:08:57 +02:00
Jakub Panek
5ca15b4797
bump ahash
2025-04-08 20:08:57 +02:00
Jakub Panek
eca499ff5c
fix wasm_bindgen unexpected cfg
2025-04-08 20:08:57 +02:00
MichiRecRoom
42518f0e52
total_len already appears to be in bytes
...
...so there's no need to get that slice of `remainder`, convert it to `&[u8]`, and get the length of that.
closes #681
2025-04-08 20:08:57 +02:00
Jakub Panek
002fa0ec48
fix clippy warnings
2025-04-08 20:08:57 +02:00
Jakub Panek
f3df04d96f
drop schemas from site
2025-04-08 20:08:57 +02:00
Jakub Panek
84595b8114
Update pyproject.toml
2025-04-08 20:08:57 +02:00
dependabot[bot]
18b86da66a
chore(deps): bump micromatch from 4.0.5 to 4.0.8 in /site ( #722 )
...
Bumps [micromatch](https://github.com/micromatch/micromatch ) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8 )
---
updated-dependencies:
- dependency-name: micromatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-22 20:34:47 +01:00
dependabot[bot]
9b6395a3ea
chore(deps): bump ws from 7.5.9 to 7.5.10 in /site ( #655 )
...
Bumps [ws](https://github.com/websockets/ws ) from 7.5.9 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-22 20:10:58 +01:00
dependabot[bot]
8e8ae08a09
chore(deps): bump micromatch from 4.0.5 to 4.0.8 in /editors/vscode ( #666 )
...
Bumps [micromatch](https://github.com/micromatch/micromatch ) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8 )
---
updated-dependencies:
- dependency-name: micromatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-22 19:15:48 +01:00
dependabot[bot]
118169c9c8
chore(deps): bump pprof from 0.13.0 to 0.14.0 ( #719 )
...
Bumps [pprof](https://github.com/tikv/pprof-rs ) from 0.13.0 to 0.14.0.
- [Changelog](https://github.com/tikv/pprof-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tikv/pprof-rs/commits )
---
updated-dependencies:
- dependency-name: pprof
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-22 19:14:39 +01:00
dependabot[bot]
fa7e5ba71a
chore(deps): bump nanoid from 3.3.7 to 3.3.8 in /site ( #721 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-22 19:14:09 +01:00
dependabot[bot]
3f05671495
chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /js ( #720 )
...
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn ) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6 )
---
updated-dependencies:
- dependency-name: cross-spawn
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-22 19:07:21 +01:00
dependabot[bot]
8009285d20
chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /site ( #702 )
...
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn ) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6 )
---
updated-dependencies:
- dependency-name: cross-spawn
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-22 18:33:04 +01:00
Jakub Panek
83deb8deb6
release: even-better-toml-0.21.2
2024-12-20 18:41:32 +01:00
Jakub Panek
151bd65ba1
release: even-better-toml-0.21.1
2024-12-20 18:29:05 +01:00
Jakub Panek
a8bc571ee2
migrate to @rollup/plugin-typescript
2024-11-19 03:19:45 +01:00
Jakub Panek
9374df4a97
migrate taplo-wasm to workspace
2024-11-19 03:19:45 +01:00
Jakub Panek
f4c616c3b9
run pypi builds on taplo cli releases or PR only
2024-11-19 03:19:45 +01:00
usamoi
37214e0ab3
pass include_children = true to text_ranges in formatting ( #684 )
2024-11-06 14:21:12 +01:00
Jakub Panek
a52472d209
release: even-better-toml-0.21.0
2024-11-06 12:32:38 +01:00
Jakub Panek
01ac972158
skip publishing vscode extension for source repository
2024-11-06 10:00:39 +01:00
Jakub Panek
9acabdf72e
Clean-up deps, fix vscode ext, refactor linter ( #697 )
...
* replace `atty` with std::io::IsTerminal; MSRV 1.70
* Hide linter behind feature, enabled by default
- make `lint` subcommand a feature-gated, enabled
by default; only available to build, it will not
be distributed by default, if it introduces a
regression, it will be reverted; closes #694
- clean-up code a bit, make `lsp` subcommand fail
properly as no subcommand found since the errors
are swallowed somewhere before reaching stderr
- remove references to `reqwest::Url`, use
`url::Url` exclusively
* update rustls
* update wasm-bindgen
* update indexmap
* fix wasm panic in vscode extension
2024-11-04 17:25:08 +01:00
Tobias Hernstig
db31b2b1e3
Add uv.lock as being identified automatically as TOML ( #668 )
...
* Add uv.lock as being identified automatically as TOML
Fixes #667
* Add back newline at the end of editors/vscode/package.json
2024-10-04 17:41:42 +02:00
usamoi
461151d2c9
fix incorrect error locations ( #680 )
2024-10-04 17:40:51 +02:00
Adrian
6694969522
feature: sort inline tables ( #671 )
...
* order keys in inline tables
* add tests for sort keys in inline tables
* refactor vec deque instantiation
* use reorder arrays key
* remove unnecessary VecDeque init
* add reorder_inline_tables flag
* add reorderInlineTables to even-better-toml
* add reorder_inline_tables to formatter options config doc
* reinstate reorder arrays test case
2024-09-10 16:06:29 +02:00
Colton Donnelly
b53671046d
improve error locations for unexpected properties ( #664 )
2024-08-30 11:12:15 +02:00
Jakub Panek
2e01e8cca2
site: revert change about binary installs
2024-08-21 08:31:07 +02:00
Remco de Boer
2b003639fb
Build wheels for Python package ( #549 )
...
Co-authored-by: Jakub Panek <me@panekj.dev>
2024-08-21 08:10:05 +02:00
Jakub Panek
d1d5a0b9bc
Update dependencies ( #652 )
...
* build: update mio/h2
* build: update ip/tar
2024-08-19 18:44:49 +02:00
Jakub Panek
a0fdd4cfa2
Add aarch64 windows builds and link runtime statically ( #648 )
...
* ci: enable aarch64 windows builds
* ci: link vc++ runtime statically
2024-08-16 11:26:00 +02:00