Skip to content

feat(core): add JSCalendar and jCal anonymization support - #167

Merged
SashankBhamidi merged 1 commit into
mainfrom
feat/jscalendar-jcal-support-159
Sep 14, 2026
Merged

SashankBhamidi merged 1 commit into
mainfrom
feat/jscalendar-jcal-support-159

Conversation

@SashankBhamidi

@SashankBhamidi SashankBhamidi commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Closes #159

Summary

  • Adds anonymize_jscal() for JSCalendar (RFC 8984): walks the JSON document natively rather than round-tripping through iCalendar, since calendaring-jmap was found to silently drop ATTACH/URL/CONFERENCE-equivalent data and per-instance recurrence overrides during conversion (tracked upstream as calendaring-jmap#19, Pre-commit hooks #20)
  • Adds anonymize_jcal() for jCal (RFC 7265): jCal is a lossless JSON encoding of iCalendar's own property model, so this is a thin wrapper around the existing, unmodified anonymize()
  • Adds CLI .json input auto-detection (object → JSCalendar, array → jCal) with a --format override flag
  • Bumps minimum icalendar to 7.3.0 for two jCal parsing security fixes relevant to untrusted input

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 icalendar-anonymizer | 🛠️ Build #34556877 | 📁 Comparing 3f24ef9 against latest (9d61c0d)

  🔍 Preview build  

5 files changed · ± 5 modified

± Modified

@codecov

codecov Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.76553% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/icalendar_anonymizer/cli.py 97.33% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@SashankBhamidi
SashankBhamidi merged commit 2818f58 into main Sep 14, 2026
15 checks passed
@SashankBhamidi
SashankBhamidi deleted the feat/jscalendar-jcal-support-159 branch September 14, 2026 20:31
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.

JSCalendar and jCal anonymization support

1 participant