Skip to content

Commit 1da5d8a

Browse files
committed
chore(release): v2.0.0
1 parent a8987d9 commit 1da5d8a

File tree

4 files changed

+33
-6
lines changed

4 files changed

+33
-6
lines changed

CHANGELOG.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Changelog
22

3+
## [2.0.0] - 2026-02-20
4+
5+
This is a major rewrite, moving to a single-threaded async runtime, with actors.
6+
([aacb30f](https://github.com/stackmystack/tsdl/commit/aacb30f3f4cc3979ab9fdd074658acfe7bab9970))
7+
8+
Some of the things done are arguably unnecessary, granted, but also as always,
9+
it's a serious project where I get to try and learn to do things at the same
10+
time.
11+
12+
Some people call it fun, believe it or not …
13+
14+
### Features
15+
16+
- **cache**: _new_ Skips rebuilding when no changes are found
17+
- Skip useless rebuilds and --force to override - ([5910ad7](https://github.com/stackmystack/tsdl/commit/5910ad771f7be9c16297f5392580887202916651))
18+
- Handle targets of --target=all - ([2a0d445](https://github.com/stackmystack/tsdl/commit/2a0d44557909f38cd83f4d1752b35768a6ae9977))
19+
- **lock**: _new_
20+
- Output dir - ([5aeb1d7](https://github.com/stackmystack/tsdl/commit/5aeb1d787cd953bd4095dec07f618958f1010795))
21+
- **cli**: Tag each downloaded tree-sitter cli with its proper version - ([a8987d9](https://github.com/stackmystack/tsdl/commit/a8987d900f262b61acce2fb6dc7134fe7adb56c6))
22+
23+
### Bug Fixes
24+
25+
- **build**: Generate file name with prefix and extension on build - ([0e2a8b4](https://github.com/stackmystack/tsdl/commit/0e2a8b411d768250d62fd0101e4b58124d982cfb))
26+
- **build**: Copy exact files, or best match when possible - ([c1cce92](https://github.com/stackmystack/tsdl/commit/c1cce92e0c6a18ccda6383a0981b81b8282042c2))
27+
- **build**: --force = --fresh when installing - ([55b07a4](https://github.com/stackmystack/tsdl/commit/55b07a4673f9e176fd47cb3cd05ef6c677fff9bc))
28+
- **display**: Integer math - ([42ad2d0](https://github.com/stackmystack/tsdl/commit/42ad2d083add96f752f87fc6d101b433dcaf4d8a))
29+
330
## [1.5.0] - 2025-04-08
431

532
### Features
@@ -105,8 +132,7 @@
105132
## [1.0.0] - 2024-09-01
106133

107134
### Features
108-
- **tsdl**: Working implementation
109-
110135

136+
- **tsdl**: Working implementation
111137

112138
<!-- generated by git-cliff -->

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build = "build.rs"
88
description = "A downloader/builder of many tree-sitter parsers"
99
edition = "2021"
1010
name = "tsdl"
11-
version = "1.5.0" # managed by release.sh
11+
version = "2.0.0" # managed by release.sh
1212
license = "MIT"
1313

1414
[lib]

scripts/release.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
set -e
3+
set -ex
44

55
version=${1:-"$(git cliff --bumped-version)"}
66

@@ -10,7 +10,8 @@ just lint
1010
just test
1111
# update the version
1212
msg="# managed by release.sh"
13-
sed -E -i "s/^version = .*\s+$msg$/version = \"${version#v}\" $msg/" Cargo.toml
13+
sed -E "s/^version = .*[[:space:]]+$msg$/version = \"${version#v}\" $msg/" Cargo.toml > Cargo.toml.tmp
14+
mv Cargo.toml.tmp Cargo.toml
1415
# update the changelog
1516
git cliff --unreleased --tag "$version" --prepend CHANGELOG.md
1617
git add -A && git commit -m "chore(release): $version"

0 commit comments

Comments
 (0)