Skip to content

Commit 868bb77

Browse files
committed
updated changelog and version
1 parent ef3e50d commit 868bb77

3 files changed

Lines changed: 22 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## [0.14.0-beta3] - 2025-03-17
4+
5+
### Fix 🐛
6+
7+
- Fixed keeping track of the query params so the frontend doesn't crash (thanks to @holg).
8+
9+
### Changes 🔥
10+
11+
- Made compatibility table much more prominent (thanks to @cramhead).
12+
- Adapted to allow --cfg erase_components usage (thanks to @Zagitta).
13+
14+
### Special thanks to our sponsor
15+
- @spencewenski
16+
17+
318
## [0.14.0-beta2] - 2025-01-05
419

520
### Breaking Changes 🛠️

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "leptos-struct-table"
3-
version = "0.14.0-beta2"
3+
version = "0.14.0-beta3"
44
edition = "2021"
55
authors = ["Marc-Stefan Cassola"]
66
categories = ["gui", "web-programming", "wasm"]

src/components/table_content.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ where
422422
end = end.min(row_count);
423423

424424
// Ensure start is within valid bounds *after* clamping end
425-
start = start.min(end); // Crucial: prevent start > end
425+
start = start.min(end); // Crucial: prevent start > end
426426
} else {
427427
//If total number of rows is unknown, we don't clamp,
428428
// but limit to MAX_DISPLAY_ROW_COUNT
@@ -457,7 +457,7 @@ where
457457
if let Some(missing_range) = missing_range {
458458
// Ensure missing_range is valid *after* all calculations
459459
let missing_start = missing_range.start.min(missing_range.end);
460-
let missing_end = missing_range.end; // Already correct
460+
let missing_end = missing_range.end; // Already correct
461461

462462
let missing_range = missing_start..missing_end;
463463

@@ -510,16 +510,16 @@ where
510510

511511
if let Ok((_, loaded_range)) = &result {
512512
if loaded_range.end < missing_range.end {
513-
match row_count_opt { // Use pre-fetched value!
513+
match row_count_opt {
514+
// Use pre-fetched value!
514515
Some(row_count) => {
515516
if loaded_range.end < row_count {
516517
set_known_row_count(loaded_range.end);
517518
}
518-
},
519+
}
519520
None => {
520521
set_known_row_count(loaded_range.end);
521-
},
522-
522+
}
523523
}
524524
}
525525
}

0 commit comments

Comments
 (0)