Skip to content

Commit 20c479f

Browse files
committed
release: v1.13.2
Bundles the safe dependabot updates (regex, memchr, tempfile, clap, actions/upload-artifact v7, actions/download-artifact v8), fixes rustfmt formatting on tests/differ_unit_test.rs that was breaking Lint on every dependabot PR, and cleans up trivial clippy warnings. Defers rand 0.10 (PR #37) — major-version bump with breaking API changes across ~10 source files.
1 parent 2f257eb commit 20c479f

6 files changed

Lines changed: 53 additions & 40 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
shell: bash
6767
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.4/cargo-dist-installer.sh | sh"
6868
- name: Cache dist
69-
uses: actions/upload-artifact@v6
69+
uses: actions/upload-artifact@v7
7070
with:
7171
name: cargo-dist-cache
7272
path: ~/.cargo/bin/dist
@@ -82,7 +82,7 @@ jobs:
8282
cat plan-dist-manifest.json
8383
echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
8484
- name: "Upload dist-manifest.json"
85-
uses: actions/upload-artifact@v6
85+
uses: actions/upload-artifact@v7
8686
with:
8787
name: artifacts-plan-dist-manifest
8888
path: plan-dist-manifest.json
@@ -131,7 +131,7 @@ jobs:
131131
run: ${{ matrix.install_dist.run }}
132132
# Get the dist-manifest
133133
- name: Fetch local artifacts
134-
uses: actions/download-artifact@v7
134+
uses: actions/download-artifact@v8
135135
with:
136136
pattern: artifacts-*
137137
path: target/distrib/
@@ -158,7 +158,7 @@ jobs:
158158
159159
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
160160
- name: "Upload artifacts"
161-
uses: actions/upload-artifact@v6
161+
uses: actions/upload-artifact@v7
162162
with:
163163
name: artifacts-build-local-${{ join(matrix.targets, '_') }}
164164
path: |
@@ -180,14 +180,14 @@ jobs:
180180
persist-credentials: false
181181
submodules: recursive
182182
- name: Install cached dist
183-
uses: actions/download-artifact@v7
183+
uses: actions/download-artifact@v8
184184
with:
185185
name: cargo-dist-cache
186186
path: ~/.cargo/bin/
187187
- run: chmod +x ~/.cargo/bin/dist
188188
# Get all the local artifacts for the global tasks to use (for e.g. checksums)
189189
- name: Fetch local artifacts
190-
uses: actions/download-artifact@v7
190+
uses: actions/download-artifact@v8
191191
with:
192192
pattern: artifacts-*
193193
path: target/distrib/
@@ -205,7 +205,7 @@ jobs:
205205
206206
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
207207
- name: "Upload artifacts"
208-
uses: actions/upload-artifact@v6
208+
uses: actions/upload-artifact@v7
209209
with:
210210
name: artifacts-build-global
211211
path: |
@@ -230,14 +230,14 @@ jobs:
230230
persist-credentials: false
231231
submodules: recursive
232232
- name: Install cached dist
233-
uses: actions/download-artifact@v7
233+
uses: actions/download-artifact@v8
234234
with:
235235
name: cargo-dist-cache
236236
path: ~/.cargo/bin/
237237
- run: chmod +x ~/.cargo/bin/dist
238238
# Fetch artifacts from scratch-storage
239239
- name: Fetch artifacts
240-
uses: actions/download-artifact@v7
240+
uses: actions/download-artifact@v8
241241
with:
242242
pattern: artifacts-*
243243
path: target/distrib/
@@ -250,14 +250,14 @@ jobs:
250250
cat dist-manifest.json
251251
echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
252252
- name: "Upload dist-manifest.json"
253-
uses: actions/upload-artifact@v6
253+
uses: actions/upload-artifact@v7
254254
with:
255255
# Overwrite the previous copy
256256
name: artifacts-dist-manifest
257257
path: dist-manifest.json
258258
# Create a GitHub Release while uploading all files to it
259259
- name: "Download GitHub Artifacts"
260-
uses: actions/download-artifact@v7
260+
uses: actions/download-artifact@v8
261261
with:
262262
pattern: artifacts-*
263263
path: artifacts
@@ -297,7 +297,7 @@ jobs:
297297
token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
298298
# So we have access to the formula
299299
- name: Fetch homebrew formulae
300-
uses: actions/download-artifact@v7
300+
uses: actions/download-artifact@v8
301301
with:
302302
pattern: artifacts-*
303303
path: Formula/

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.13.2] - 2026-05-04
11+
12+
### Changed
13+
14+
- **Dependency bumps** (patch-level): `regex` 1.12.2 → 1.12.3, `memchr` 2.7.6 → 2.8.0, `tempfile` 3.24.0 → 3.25.0, `clap` 4.5.57 → 4.5.60
15+
- **CI: GitHub Actions** bumped: `actions/upload-artifact` v6 → v7, `actions/download-artifact` v7 → v8
16+
17+
### Fixed
18+
19+
- **rustfmt formatting** on `tests/differ_unit_test.rs` (Lint job had been failing on dependabot PRs)
20+
- **Clippy nits**: replaced `len() >= 1` with `!is_empty()` in `tests/duckdb_test.rs` (6 occurrences); silenced `clippy::approx_constant` in a JSON-conversion test that uses `3.14` as test data
21+
1022
## [1.13.1] - 2026-02-18
1123

1224
### Fixed

Cargo.lock

Lines changed: 21 additions & 21 deletions
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
@@ -4,7 +4,7 @@ resolver = "2"
44

55
[package]
66
name = "sql-splitter"
7-
version = "1.13.1"
7+
version = "1.13.2"
88
edition = "2021"
99
authors = ["Helge Sverre <helge.sverre@gmail.com>"]
1010
description = "High-performance CLI tool for splitting large SQL dump files into individual table files"

src/duckdb/output.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ mod tests {
358358
}
359359

360360
#[test]
361+
#[allow(clippy::approx_constant)]
361362
fn test_json_value_conversion() {
362363
assert_eq!(
363364
QueryResultFormatter::json_value("NULL"),

tests/duckdb_test.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ fn test_query_with_join() {
161161
)
162162
.unwrap();
163163

164-
assert!(result.rows.len() >= 1);
164+
assert!(!result.rows.is_empty());
165165
// Alice has 2 orders: 99.99 + 149.50 = 249.49
166166
}
167167

@@ -2803,7 +2803,7 @@ fn test_exists_subquery() {
28032803
)
28042804
.unwrap();
28052805
// Users with at least one order
2806-
assert!(result.rows.len() >= 1);
2806+
assert!(!result.rows.is_empty());
28072807
}
28082808

28092809
#[test]
@@ -2817,7 +2817,7 @@ fn test_in_subquery() {
28172817
let result = engine
28182818
.query("SELECT name FROM users WHERE id IN (SELECT DISTINCT user_id FROM orders)")
28192819
.unwrap();
2820-
assert!(result.rows.len() >= 1);
2820+
assert!(!result.rows.is_empty());
28212821
}
28222822

28232823
#[test]
@@ -3284,7 +3284,7 @@ INSERT INTO order_items VALUES (3, 2, 2, 1, 49.99);
32843284
ORDER BY units_sold DESC",
32853285
)
32863286
.unwrap();
3287-
assert!(result.rows.len() >= 1);
3287+
assert!(!result.rows.is_empty());
32883288
}
32893289

32903290
#[test]
@@ -3365,7 +3365,7 @@ INSERT INTO comments VALUES (2, 2, 2, 'Very helpful', '2024-01-16 09:00:00');
33653365
GROUP BY a.id, a.username",
33663366
)
33673367
.unwrap();
3368-
assert!(result.rows.len() >= 1);
3368+
assert!(!result.rows.is_empty());
33693369
}
33703370

33713371
// =============================================================================
@@ -3516,7 +3516,7 @@ fn test_mssql_join_query() {
35163516
let result = engine
35173517
.query("SELECT u.name, COUNT(o.id) as order_count FROM users u LEFT JOIN orders o ON u.id = o.user_id GROUP BY u.id, u.name")
35183518
.unwrap();
3519-
assert!(result.rows.len() >= 1);
3519+
assert!(!result.rows.is_empty());
35203520
}
35213521

35223522
#[test]

0 commit comments

Comments
 (0)