[DGS-4423] Add per-document timestamp settings - #417
Merged
Conversation
- Add `EnvelopeDocument.timestampEnabled` and `EnvelopeDocument.timestampsRenewalPeriod` - Add `EnvelopeTemplateDocument.timestampEnabled` and `EnvelopeTemplateDocument.timestampsRenewalPeriod` - Add `EnvelopeProperties.defaultTimestampDocuments` and `EnvelopeProperties.timestampAuditLogRenewalPeriod` - Rename `EnvelopeProperties.timestampsRenewalPeriod` to `defaultTimestampsRenewalPeriod` - Deprecate `timestampDocuments` on `EnvelopeProperties` and `EnvelopeTemplate` in favor of `defaultTimestampDocuments` Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Composer 2.9 blocks installation of squizlabs/php_codesniffer 3.8/3.9 due to security advisory PKSA-rdkp-vv9z-mjkg; coding-standard ^0.3.0 allows php_codesniffer 3.13.* where the advisory is fixed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
slevomat/coding-standard 8.19.0 combined with php_codesniffer 3.13 reports a false positive (MultipleSpacesBetweenTypeHintAndProperty) on the untyped FileStream::$handle property; 8.19.1 fixes property detection. digitalcz/coding-standard only constrains it to 8.19.*, so prefer-lowest picked the broken 8.19.0. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 2.x #417 +/- ##
=========================================
Coverage 97.83% 97.83%
Complexity 533 533
=========================================
Files 87 87
Lines 1246 1246
=========================================
Hits 1219 1219
Misses 27 27 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
IamDejv
approved these changes
Aug 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Mirrors API changes — per-document timestamp settings on envelopes and templates.
Added
EnvelopeDocument.timestampEnabled(bool) andEnvelopeDocument.timestampsRenewalPeriod(?int, years,-1= unlimited,null= disabled)EnvelopeTemplateDocument.timestampEnabledandEnvelopeTemplateDocument.timestampsRenewalPeriodEnvelopeProperties.defaultTimestampDocuments— default seed for per-documenttimestampEnabledEnvelopeProperties.timestampAuditLogRenewalPeriod— audit log renewal periodChanged
EnvelopeProperties.timestampsRenewalPeriodrenamed todefaultTimestampsRenewalPeriod— breaking, approved: field is new from DGS-4362 and the renewal engine does not exist yet, no real consumersEnvelopeProperties.timestampDocumentsandEnvelopeTemplate.timestampDocumentsdeprecated in favor ofdefaultTimestampDocuments(API keeps both keys in output for now; old keys will be dropped in a follow-up ticket)Checks
--memory-limit=2G)🤖 Generated with Claude Code