Skip to content

Bump version to 3.2.0 and update dependencies#44

Merged
rracariu merged 2 commits into
masterfrom
chore/code-smells
May 19, 2026
Merged

Bump version to 3.2.0 and update dependencies#44
rracariu merged 2 commits into
masterfrom
chore/code-smells

Conversation

@rracariu
Copy link
Copy Markdown
Contributor

  • Updated the version in Cargo.toml to 3.2.0.
  • Replaced uuid with ulid and added getrandom as dependencies.
  • Refactored JSON deserialization for Hayson types using a macro to reduce boilerplate.
  • Improved error handling in zinc encoding by providing detailed error messages.
  • Introduced ConversionError type for consistent error handling across Haystack value conversions.
  • Updated various Haystack value modules to use ConversionError instead of &'static str.
  • Enhanced safe_id method in HaystackDict trait to return a reference to Ref.
  • Optimized make_from_dicts method in Grid to simplify column name collection.
  • Added a new Cargo configuration for WASM target to specify getrandom backend.

Radu Racariu added 2 commits May 19, 2026 20:05
- Updated the version in Cargo.toml to 3.2.0.
- Replaced `uuid` with `ulid` and added `getrandom` as dependencies.
- Refactored JSON deserialization for Hayson types using a macro to reduce boilerplate.
- Improved error handling in zinc encoding by providing detailed error messages.
- Introduced `ConversionError` type for consistent error handling across Haystack value conversions.
- Updated various Haystack value modules to use `ConversionError` instead of `&'static str`.
- Enhanced `safe_id` method in `HaystackDict` trait to return a reference to `Ref`.
- Optimized `make_from_dicts` method in `Grid` to simplify column name collection.
- Added a new Cargo configuration for WASM target to specify getrandom backend.
@github-actions
Copy link
Copy Markdown

Coverage after merging chore/code-smells into master will be

82.57%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
src/haystack/encoding/json
   decode.rs76.30%100%65.71%77.66%100–102, 115–135, 195, 21–24, 26, 267, 270, 28, 314, 324, 337, 344, 35, 354, 36, 362, 37–38, 381, 40, 415, 42, 421, 423, 432, 47–50, 52, 54, 65–68, 70
src/haystack/encoding/zinc
   encode.rs86.92%100%83.33%87.39%142, 144–145, 147, 149, 182, 237, 240–241, 243, 258, 286, 403, 68–70, 72, 78–80, 84–86, 90–92, 96–98
src/haystack/val
   boolean.rs92.86%100%100%90.91%70, 81
   coord.rs60%100%75%56.76%52, 58–61, 86, 88–95, 97, 99
   date.rs80%100%80%80%110, 69–71, 92–94
   datetime.rs71.43%100%68.75%72.13%130–132, 183, 53, 57–59, 73–75, 79–81, 96–98
   dict.rs93.06%100%93.96%92.88%206, 232, 448, 463–466, 468, 473, 487, 496–498, 505–507, 640–642, 644–646, 648–650, 763–765, 781, 788–790, 909, 942
   grid.rs98.95%100%100%98.75%223
   list.rs90%100%100%87.50%35
   marker.rs90%100%100%87.50%35
   na.rs90%100%100%87.50%35
   number.rs89.47%100%94.12%88.79%108, 151–155, 157, 159, 172, 198, 222, 245, 249
   reference.rs91.53%100%92.31%91.30%118, 77–79
   remove.rs90%100%100%87.50%35
   string.rs96.97%100%100%96.08%83, 94
   symbol.rs96.15%100%100%95%62
   time.rs65.38%100%63.64%65.85%100–102, 118, 48, 54–56, 60–62, 77–79
   uri.rs95.45%100%100%94.12%60
   value.rs92.13%100%98.04%90.64%155, 218–220, 361, 363, 365, 369, 385, 397–398, 400, 403, 406–410, 413
   xstr.rs94.12%100%100%92.86%48

@rracariu rracariu requested a review from garethj2 May 19, 2026 17:11
@rracariu rracariu self-assigned this May 19, 2026
@rracariu rracariu merged commit c4d704e into master May 19, 2026
10 checks passed
@rracariu rracariu deleted the chore/code-smells branch May 19, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants