This is an automated email from the ASF dual-hosted git repository.

scottheiberg pushed a change to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git


    from cbd38b6d97 Merge pull request #15195 from 
codeconsole/7.0.x-gormservice-dev-racecondition
     add 89d77d5a15 Introduce CreatedDate and LastModifiedDate annotations
     add 841fe22a0f Introduce GrailsExtension importGrailsAnnotations that will 
auto import @Scaffold and grails.gorm.annotation.*
     add 568060d3fd Merge branch '7.0.x' into 7.0.x-autotimestamp-enhancements
     add f0de080830 Fix for mongodb autotimestamp properties not being marked 
dirty. Properties will only be marked dirty if other updates exist. This mimics 
the behavior in hibernate. Fixes #15120
     add 2c91003be4 unused import
     add e935901431 Skip null check on AutoTimestamp properties
     add 7fed24cecc Hide AutoTimestamp properties from scaffold input/edit views
     add 00a4f03bae remove duplicate method
     add 0997abda2a Merge branch '7.0.x' into 7.0.x-autotimestamp-enhancements
     add 8019058110 Merge branch '7.0.x' into 7.0.x-autotimestamp-enhancements
     add 4d93af3df0 Merge branch '7.0.x' into 7.0.x-autotimestamp-enhancements
     add a73aac74a9 Revert setting properties dirty in 
AutoTimestampEventListener as this is now handled in the EntityPersister
     add 809f1d0b55 Deprecate @AutoTimestamp
     add f05cee7e95 Cache annotation lookups when not in development mode
     add f37dcc16f4 Add jakarta.validation.constraints.* to common annotation 
star imports
     add a052ed18ee null check on persistentProperty
     add 8602be40b2 remove unused imports
     add df38a80392 Support for Spring Data annotations
     add e1597d9f79 @CreatedBy and @LastModifiedBy support
     add da8776ce87 Merge branch '7.0.x' into 7.0.x-autotimestamp-enhancements
     add bb3951b507 Merge branch '7.0.x' into 7.0.x-autotimestamp-enhancements
     add 477a41cfaf Merge branch '7.1.x' into 7.0.x-autotimestamp-enhancements
     add 1ebfb27353 Make annotation caching configurable
     add 7ff89e050f make base starImports configurable
     add 3af3efeb1f remove comment escaping
     add 163a3c2ce5 Allow @CreatedBy and @LastModifiedBy fields to have 
constraints applied
     add a172a2d6ba Deprecate AutoTimestamp for removal in 8.0
     add 7776374bd5 Rename AutoTimestampType to AuditMetadataType since it now 
includes createdBy and updatedBy
     add 7b91138ebb fix old method reference
     add 89e3fa009f Add excludeAnnotatedTimestamps to DomainModelService 
interface
     add ec7b41a272 Match types in interface
     add d4285cf7c5 Use switch statement instead of complex if else
     add ede6abf2f3 wrap @ javadoc references in {@code
     add b1182cbdfd Fix verison references
     add fbad49d3d4 Update example app to use new annotations
     add 49cc01d8fc Add missing AuditorAware implementation
     add 801a1de40b Merge branch '7.1.x' into 7.0.x-autotimestamp-enhancements
     add 36f4edb4f0 Merge branch '7.1.x' into 7.0.x-autotimestamp-enhancements
     add 485e41aba7 document auditing changes in upgrade guide
     add f02eb42cbd Rename AutoTimestampUtils to AuditMetadataUtils and log 
debug ignored exceptions
     add 15a3c8873b 7.1
     add bd126c9ae7 Merge branch '7.1.x' into 7.0.x-autotimestamp-enhancements
     add 1db099b332 Fix checkstyleMain
     new 162ff83a38 Merge pull request #15118 from 
codeconsole/7.0.x-autotimestamp-enhancements

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../datastore/gorm/CustomAutoTimestampSpec.groovy  |  77 +++++-
 .../grails/gorm/annotation/AutoTimestamp.java      |   2 +
 .../{AutoTimestamp.java => CreatedBy.java}         |  41 ++--
 .../{AutoTimestamp.java => CreatedDate.java}       |  19 +-
 .../{AutoTimestamp.java => LastModifiedBy.java}    |  41 ++--
 .../{AutoTimestamp.java => LastModifiedDate.java}  |  19 +-
 .../gorm/events/AutoTimestampEventListener.java    | 124 ++++++++--
 .../datastore/gorm/timestamp/AuditorAware.java     |  58 +++++
 .../eval/DefaultConstraintEvaluator.java           |  26 ++-
 .../registry/DefaultValidatorRegistry.groovy       |   5 +-
 .../mapping/config/AuditMetadataType.java          |  58 +++++
 .../datastore/mapping/config/Property.groovy       |   6 +
 .../grails/datastore/mapping/config/Settings.java  |   2 +
 .../connections/ConnectionSourceSettings.groovy    |   5 +
 .../mapping/model/AuditMetadataUtils.java          | 186 +++++++++++++++
 .../src/en/guide/upgrading/upgrading60x.adoc       | 257 +++++++++++++++++++++
 .../plugins/domain/DomainClassGrailsPlugin.groovy  |  14 ++
 .../plugin/formfields/FormFieldsTagLib.groovy      |   3 +-
 .../scaffolding/model/DomainModelService.groovy    |   1 +
 .../model/DomainModelServiceImpl.groovy            |  82 ++++++-
 .../gradle/plugin/core/GrailsExtension.groovy      |  16 ++
 .../gradle/plugin/core/GrailsGradlePlugin.groovy   |  42 +++-
 .../grails-app/domain/com/example/User.groovy      |  15 +-
 .../domain/com/example/community/User.groovy       |  15 +-
 .../grails-app/init/com/example/Application.groovy |   7 +
 .../com/example/SpringSecurityAuditorAware.groovy  |  50 ++++
 26 files changed, 1059 insertions(+), 112 deletions(-)
 copy 
grails-datamapping-core/src/main/groovy/grails/gorm/annotation/{AutoTimestamp.java
 => CreatedBy.java} (59%)
 copy 
grails-datamapping-core/src/main/groovy/grails/gorm/annotation/{AutoTimestamp.java
 => CreatedDate.java} (78%)
 copy 
grails-datamapping-core/src/main/groovy/grails/gorm/annotation/{AutoTimestamp.java
 => LastModifiedBy.java} (58%)
 copy 
grails-datamapping-core/src/main/groovy/grails/gorm/annotation/{AutoTimestamp.java
 => LastModifiedDate.java} (78%)
 create mode 100644 
grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/timestamp/AuditorAware.java
 create mode 100644 
grails-datastore-core/src/main/groovy/org/grails/datastore/mapping/config/AuditMetadataType.java
 create mode 100644 
grails-datastore-core/src/main/groovy/org/grails/datastore/mapping/model/AuditMetadataUtils.java
 create mode 100644 
grails-test-examples/scaffolding/src/main/groovy/com/example/SpringSecurityAuditorAware.groovy

Reply via email to