Skip to content

Add automatic entity timestamps - #358

Merged
elpete merged 5 commits into
nextfrom
feat/automatic-timestamps
Aug 30, 2026
Merged

Add automatic entity timestamps#358
elpete merged 5 commits into
nextfrom
feat/automatic-timestamps

Conversation

@elpete

@elpete elpete commented Aug 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a global automaticTimestamps Quick module setting with per-entity metadata and component-variable overrides
  • default timestamp attributes to createdDate and modifiedDate, while checking that mapped attributes exist before generating timestamp SQL
  • automatically maintain timestamps for entity saves, bulk updates, and upserts
  • add withoutAutomaticTimestamps() to QuickBuilder and preserve the setting across cloned builders/entities
  • preserve explicit timestamp values and existing customizable timestampFields() behavior

Testing

  • box testbox run runner=http://127.0.0.1:60442/tests/runner.cfm
  • 631 passed, 0 failed, 3 skipped on Lucee 5.4.8.2

@elpete
elpete merged commit d2fc9cb into next Aug 30, 2026
27 checks passed
@elpete
elpete deleted the feat/automatic-timestamps branch August 30, 2026 23:03
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