Skip to content

feat(agg,cli,plugin): v0.1.11 timezone-aware groupBy tz and CSV --encoding - #9

Merged
MonSp merged 2 commits into
mainfrom
feat/v0.1.11-requirements
Nov 6, 2026
Merged

MonSp merged 2 commits into
mainfrom
feat/v0.1.11-requirements

Conversation

@MonSp

@MonSp MonSp commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Summary

v0.1.11 (R-29 + R-30) from the post-v0.1.10 requirement list:

  • R-29 timezone-aware groupBy: period objects accept optional tz (fixed ±HH:MM HH 00..=14, or IANA whitelist v1 Asia/Shanghai -> +08:00, hand-rolled). day / week (Monday) / month bucket on the target timezone calendar. Default stays UTC (bit-for-bit unchanged); date-only values never shift; naive date-times with tz set are local wall-clock. Invalid tz -> analysis/invalid-args (exit 2); validateAggSpec mirrors the grammar pre-spawn.
  • R-30 CSV encoding: ingest --encoding utf-8|gbk|gb18030|auto (default utf-8, csv only). Fatal non-lossy GB18030 decode via encoding_rs. Decode failures are exit 2 with an actionable Plan B message (was exit 1 read failed); auto = BOM -> strict UTF-8 -> GB18030 fallback with warnings:[{code:encoding-fallback,encoding:gb18030}].
  • Docs/versions: docs/interface.md v0.1.11, USAGE, CHANGELOG; versions -> 0.1.11; capability tokens unchanged.

Verification

  • cargo test --workspace — 180/180 pass
  • cargo build --release -p dsh-analyze — pass
  • tsc -p tsconfig.json — pass
  • node --test three-file suite — 90/90 pass
  • Release-binary smoke: §7.1 both sides, bad tz exit 2, month+tz; §7.2 GB18030 paths + UTF-8 regression + version 0.1.11
  • Independent review (fca2b64..1f75db1): approve-with-nits — all acceptance items MET, 0 critical, 0 major

Notes

  • docs/compose/ is gitignored by project convention; public contract is docs/interface.md.
  • Untracked package-lock.json intentionally excluded (repo tracks no lockfiles).

@MonSp
MonSp merged commit 44c0b0a into main Nov 6, 2026
5 checks passed
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.

1 participant