This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a change to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 9dc73d31aa Merge pull request #15357 from apache/7.1.x
add 39f1d0e476 display constraint expansion
add 4d7a5dc538 Change DisplayType.INPUT/OUTPUT to
DisplayType.INPUT/OUTPUT_ONLY
add 71f7c096cc update documentation for display constraint
add ebf2912c39 add documentation to upgrade guide
add 232cfea30d Merge branch '7.1.x' into 7.1.x-display-constraint
add d6291044f5 Merge branch '7.1.x' into 7.1.x-display-constraint
add 0067871900 Merge branch '7.1.x' into 7.1.x-display-constraint
add b1b2a2e49b DisplayType should override all other checks
add 1d824927fd Merge branch '7.1.x' into 7.1.x-display-constraint
add f31bf51430 deprecate isDisplay()
add e45ac2d7a4 Merge branch '7.1.x' into 7.1.x-display-constraint
add 2bef7742ac Introduction of grails add-field for modify grails domain
objects via the command line
add 5176e35712 support for domain names with same name but different
packages
add ea3b914f6c make field prefixes variables
add e93e6e4d1e throw exception on syntax error
add d2a6c84d4b support for enums and custom types
add 177ff46e8a remove groovyVersion
add 385c5d7d1a make groovy 3 dep compile only
add 6b17eaf636 resolve groovy conflict from transitive bom import
add 8d1e8c0517 fix test on windows
add f267623709 Merge branch '7.1.x' into
fork/codeconsole/7.1.x-cli-enhancements
add 9c155505ec Merge branch '7.1.x' into 7.1.x-cli-enhancements
add 74df020b3e add-property support
add c2214f9d2d update since to 7.1
add 0f1e1dcb14 use --access instead of --private/protected/public
add f841c3256b remove add-field command
add 828dfe467c Merge branch '7.1.x' into 7.1.x-cli-enhancements
add 9aa89c0851 Merge pull request #15289 from
codeconsole/7.1.x-cli-enhancements
add 77ef9dbeb2 Merge branch '7.1.x' into 7.1.x-display-constraint
add e6fa181c3d Merge pull request #15266 from
codeconsole/7.1.x-display-constraint
add e4b2ae3794 fix for UrlMapping greedy not working when no id is present
add d11867dbe9 fix codestyle
add fdcb2274f9 remove debugging code
add 6451aad891 Merge branch '7.1.x' into
7.1.x-url-mapping-greedy-extension-2
add ae0e16bd6e Merge pull request #15358 from
codeconsole/7.1.x-url-mapping-greedy-extension-2
add 777e22a397 Remove pull_request_target from release drafter
add 8acce051d7 Optimize CI workflow to reduce build time
add 4eb84a4342 Fix flaky tests caused by ThreadLocal pollution in parallel
execution
add 1010606a47 Fix database-per-tenant test isolation
add fe3e25c4d1 Limit CI matrix OS/Java combinations
add caa9ce2417 Fix command object shared constraint test isolation
add 07ffedbf6f Fix mime type test isolation by clearing static cache
add 7f32b71924 Add test isolation fixes for parallel test execution
add 96ec6523b5 Remove hardcoded test parallelism restriction from
grails-gsp
add 636e98b995 Add cleanup method to RespondMethodSpec for test isolation
add 59dcd50061 Fix WithFormatContentTypeSpec parallel test isolation
add 3a9df26354 Fix additional Holders.clear() calls that could cause
parallel test flakiness
add cb751d6a86 Enable cancel-in-progress for PR workflow runs
add c6789d1734 Fix URL mapping artefact isolation for parallel test
execution
add 83774cf385 Fix MIME type lookup isolation for parallel test execution
add bf78a4cbae Remove Develocity test retries now that flaky tests are
fixed
add fdaf826a6c Fix shared constraint cache isolation for parallel test
execution
add 461813e5a7 Add additional test isolation fixes for parallel execution
add 0853424edc Enable cancel-in-progress for PR runs in all CI workflows
add d2880650b3 Use @RestoreSystemProperties for cleaner test isolation
add f1f8aca9ef Add cleanup for HttpServletResponseExtension.@mimeTypes in
all test files
add 2a04d423ee Use proper imports instead of inline fully-qualified class
names
add 8b1c0eb74b Add cleanup for constraint caches to be good citizens in
parallel tests
add 6440ef70eb Rename clearConstraintsMap() to clearConstraintsMapCache()
for clarity
add 3850905c68 Use reflection to clear Validateable constraints cache
instead of public API
add e6f28c3718 Disable Groovy compilation cache in CI to ensure AST
transformations are applied
add 2a1df04505 Fix multi-tenancy test isolation in MongoDB specs for
parallel execution
add 0ef534f75d Fix NPE in HttpServletResponseExtension.getMimeTypes() for
parallel test execution
add 733cae94a7 Fix CommandObjectsSpec shared constraint test isolation
add 375f7f3c93 Fix RestfulReverseUrlRenderingTests URL mapping isolation
for parallel execution
add e4efb4711d Remove @Isolated annotations and update misleading parallel
test comments
add f6b876fddc Fix RespondMethodSpec Windows test isolation issue by
setting explicit HTML format
add 9e1503f042 Fix RestfulReverseUrlRenderingTests by re-registering URL
mappings in setup
add 5d3717ca08 Fix CommandObjectsSpec by clearing
ConstraintEvalUtils.defaultConstraintsMap in setup/cleanup
add 1e82ee8d1a Fix mockArtefact to refresh linkGenerator's
urlMappingsHolder reference
add bd6e1e5580 Fix FormTagLibTests to refresh linkGenerator's
urlMappingsHolder reference
add 6a7930c34b Fix test isolation for constraint cache and MIME type cache
add 0bd3006cf7 Fix test isolation for system property manipulation in tests
add bb193ba83f Fix shared constraint test by ensuring grailsApplication is
initialized before clearing caches
add 0f97dc4714 Fix MIME type tests by ensuring grailsApplication is
initialized before clearing cache
add 5efd1aba8d Fix RestfulReverseUrlRenderingTests by ensuring
grailsApplication is initialized before accessing artefacts
add 76a8df6285 Merge 7.0.x into improve-gh-ci-speed
add 37c5907efc Fix YamlPropertySourceLoaderSpec by ensuring development
environment is set before tests
add ddf492abe2 Update Gradle workflow to use --rerun-tasks flag
add bef53ffe46 Update comment in getMimeTypes method
add 7180d65c13 Remove Develocity test distribution configuration
add 1fe0a7db85 Update test comments for clarity on environment pollution
add 3ee3b5400b Merge pull request #15335 from apache/improve-gh-ci-speed
add 2b92500ad4 Update asset pipeline to 5.0.30
add 5ecbbc489e Merge pull request #15360 from jdaugherty/7.0.x
add 3b1aac5004 Merge branch '7.0.x' into 7.1.x
new f9b2f712c5 Merge branch '7.1.x' into 8.0.x
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:
.github/workflows/codeql.yml | 2 +-
.github/workflows/codestyle.yml | 2 +-
.github/workflows/gradle.yml | 52 ++-
.github/workflows/groovy-joint-workflow.yml | 2 +-
.github/workflows/rat.yml | 2 +-
.github/workflows/release-notes.yml | 6 +-
build-logic/docs-core/build.gradle | 8 +-
build.gradle | 2 +-
dependencies.gradle | 4 +-
gradle/test-config.gradle | 23 +-
.../codegen/model/AbstractMemberDefinition.groovy | 225 +++++++++
.../codegen/model/DomainFieldModifier.groovy | 391 ++++++++++++++++
.../grails/codegen/model/FieldDefinition.groovy | 156 +++++++
.../grails/codegen/model/PropertyDefinition.groovy | 119 +++++
.../codegen/model/DomainFieldModifierSpec.groovy | 502 +++++++++++++++++++++
.../codegen/model/FieldDefinitionSpec.groovy | 162 +++++++
.../codegen/model/PropertyDefinitionSpec.groovy | 364 +++++++++++++++
.../grails/boot/DevelopmentModeWatchSpec.groovy | 4 +-
...aceHolderConfigurerCorePluginRuntimeSpec.groovy | 2 +
.../compiler/injection/GrailsASTUtilsTests.groovy | 9 +-
.../injection/GrailsArtefactTransformerSpec.groovy | 6 +-
.../config/NavigableMapSpringProfilesSpec.groovy | 2 +
.../config/YamlPropertySourceLoaderSpec.groovy | 8 +-
.../org/grails/plugins/GrailsPluginTests.groovy | 9 +-
.../MultiTenancyBidirectionalManyToManySpec.groovy | 2 +
.../connections/SchemaMultiTenantSpec.groovy | 3 +
.../hibernate/connections/SingleTenantSpec.groovy | 3 +
grails-data-hibernate5/dbmigration/build.gradle | 13 -
.../MongoDbGormAutoConfigurationSpec.groovy | 2 +
...ngoDbGormAutoConfigureWithGeoSpacialSpec.groovy | 2 +
.../connections/MongoConnectionSourcesSpec.groovy | 7 +
.../gorm/mongo/connections/MultiTenancySpec.groovy | 5 +-
.../connections/SchemaBasedMultiTenancySpec.groovy | 5 +-
.../mongo/connections/SingleTenancySpec.groovy | 5 +-
.../MongoStaticApiMultiTenancySpec.groovy | 5 +-
.../Neo4jAutoConfigurationSpec.groovy | 2 +
.../tests/multitenancy/MultiTenancySpec.groovy | 4 +
.../tests/multitenancy/SingleTenancySpec.groovy | 2 +
.../database/DatabasePerTenantSpec.groovy | 3 +-
.../MultiTenantServiceTransformSpec.groovy | 2 +
.../partitioned/PartitionMultiTenancySpec.groovy | 3 +-
.../multitenancy/schema/SchemaPerTenantSpec.groovy | 6 +-
.../gorm/tests/CurrentTenantTransformSpec.groovy | 6 +-
.../grails/gorm/tests/TenantServiceSpec.groovy | 7 +-
.../grails/gorm/validation/Constrained.groovy | 10 +-
.../validation/DefaultConstrainedProperty.groovy | 51 ++-
.../grails/gorm/validation/DisplayType.groovy | 81 ++++
.../grails/gorm/validation/DisplayTypeSpec.groovy | 151 +++++++
grails-doc/src/en/ref/Constraints.adoc | 51 ++-
.../grails/persistence/DomainClassTraitSpec.groovy | 6 +
.../plugin/formfields/FormFieldsTagLib.groovy | 20 +-
.../scaffolding/model/DomainModelService.groovy | 1 +
.../model/DomainModelServiceImpl.groovy | 58 ++-
.../scaffolding/model/property/Constrained.groovy | 20 +
.../model/DomainModelServiceSpec.groovy | 6 +-
grails-forge/buildSrc/build.gradle | 1 -
grails-forge/gradle/test-config.gradle | 10 -
grails-forge/grails-forge-cli/build.gradle | 5 +
.../forge/cli/command/AddPropertyCommand.java | 181 ++++++++
grails-gradle/gradle/test-config.gradle | 7 -
grails-gsp/plugin/build.gradle | 2 -
.../mapping/RestfulReverseUrlRenderingTests.groovy | 21 +
.../web/taglib/AbstractGrailsTagTests.groovy | 7 +
.../org/grails/web/taglib/FormTagLibTests.groovy | 28 ++
.../web/interceptors/UrlMappingMatcherSpec.groovy | 7 +-
.../web/mime/HttpServletRequestExtension.groovy | 14 +-
.../web/mime/HttpServletResponseExtension.groovy | 2 +-
.../groovy/grails/web/mime/MimeUtilitySpec.groovy | 11 +
.../web/mime/MimeTypesConfigurationSpec.groovy | 11 +
.../grails/web/mime/AcceptHeaderParserSpec.groovy | 5 +
.../mvc/RequestAndResponseMimeTypesApiSpec.groovy | 7 +
grails-profiles/base/commands/add-property.groovy | 132 ++++++
.../rest/render/DefaultRendererRegistrySpec.groovy | 11 +
.../web/rest/render/VndErrorRenderingSpec.groovy | 8 +
.../web/rest/render/hal/HalJsonRendererSpec.groovy | 10 +
.../web/rest/render/html/HtmlRendererSpec.groovy | 10 +
.../web/rest/render/json/JsonRendererSpec.groovy | 2 +
.../profile/commands/CreateAppCommandSpec.groovy | 4 +-
.../groovy/gorm/BindingOutsideRequestSpec.groovy | 5 +
.../groovy/example/DatabasePerTenantSpec.groovy | 6 +-
.../example/PartitionedMultiTenancySpec.groovy | 6 +-
.../schemapertenant/SchemaPerTenantSpec.groovy | 5 +-
.../groovy/examples/mongo/tenant/BookSpec.groovy | 7 +-
grails-test-suite-uber/build.gradle | 2 +-
...GrailsCompileStaticCompilationErrorsSpec.groovy | 9 +
.../GrailsTypeCheckedCompilationErrorsSpec.groovy | 9 +
.../grails/persistence/EntityTransformTests.groovy | 9 +
.../groovy/grails/spring/BeanBuilderTests.groovy | 9 +
.../test/mixin/ControllerUnitTestMixinTests.groovy | 26 ++
.../grails/test/mixin/RestfulControllerSpec.groovy | 11 +
.../rest/render/BaseDomainClassRendererSpec.groovy | 8 +
.../web/codecs/HTMLJSCodecIntegrationSpec.groovy | 5 +
.../DefaultGrailsApplicationAttributesTests.groovy | 6 +
.../web/servlet/FlashScopeWithErrorsTests.groovy | 5 +
.../grails/web/util/StreamCharBufferSpec.groovy | 5 +
.../org/grails/web/util/WebUtilsTests.groovy | 5 +
grails-test-suite-web/build.gradle | 2 +-
.../grails/rest/web/RespondMethodSpec.groovy | 20 +
.../org/grails/compiler/web/WithFormatSpec.groovy | 11 +
.../rest/render/xml/DefaultXmlRendererSpec.groovy | 5 +
...ngHelperDomainClassSpecialPropertiesSpec.groovy | 9 +
.../web/binding/JSONBindingToNullSpec.groovy | 16 +
.../JsonBindingWithExceptionHandlerSpec.groovy | 24 +
.../commandobjects/CommandObjectNoDataSpec.groovy | 6 +
.../CommandObjectNullabilitySpec.groovy | 26 ++
.../web/commandobjects/CommandObjectsSpec.groovy | 6 +
.../web/controllers/ContentNegotiationSpec.groovy | 16 +
.../metaclass/CollectionBindDataMethodSpec.groovy | 11 +
.../web/mime/ContentFormatControllerTests.groovy | 10 +
.../web/mime/WithFormatContentTypeSpec.groovy | 16 +
.../grails/testing/web/UrlMappingsUnitTest.groovy | 10 +
.../grails/validation/ConstrainedDelegate.groovy | 7 +
.../CommandObjectConstraintGettersSpec.groovy | 40 ++
.../DefaultASTValidateableHelperSpec.groovy | 9 +
.../validation/SerializableValidateableSpec.groovy | 24 +
.../grails/validation/ValidateableMockSpec.groovy | 24 +
.../grails/plugin/json/view/api/JsonApiSpec.groovy | 21 +
.../groovy/grails/web/mapping/UrlMappingData.java | 10 +
.../grails/web/mapping/DefaultUrlMappingData.java | 8 +
.../org/grails/web/mapping/RegexUrlMapping.java | 24 +-
.../UrlMappingsWithGreedyExtensionSpec.groovy | 203 +++++++++
.../LinkGeneratorWithUrlMappingsSpec.groovy | 13 +
.../web/mapping/RestfulUrlMappingSpec.groovy | 6 +
.../mapping/UrlMappingsWithHttpMethodSpec.groovy | 6 +
.../web/mapping/mvc/EncodePathFromURISpec.groovy | 5 +
125 files changed, 3683 insertions(+), 143 deletions(-)
create mode 100644
grails-bootstrap/src/main/groovy/grails/codegen/model/AbstractMemberDefinition.groovy
create mode 100644
grails-bootstrap/src/main/groovy/grails/codegen/model/DomainFieldModifier.groovy
create mode 100644
grails-bootstrap/src/main/groovy/grails/codegen/model/FieldDefinition.groovy
create mode 100644
grails-bootstrap/src/main/groovy/grails/codegen/model/PropertyDefinition.groovy
create mode 100644
grails-bootstrap/src/test/groovy/grails/codegen/model/DomainFieldModifierSpec.groovy
create mode 100644
grails-bootstrap/src/test/groovy/grails/codegen/model/FieldDefinitionSpec.groovy
create mode 100644
grails-bootstrap/src/test/groovy/grails/codegen/model/PropertyDefinitionSpec.groovy
create mode 100644
grails-datamapping-validation/src/main/groovy/grails/gorm/validation/DisplayType.groovy
create mode 100644
grails-datamapping-validation/src/test/groovy/grails/gorm/validation/DisplayTypeSpec.groovy
create mode 100644
grails-forge/grails-forge-cli/src/main/java/org/grails/forge/cli/command/AddPropertyCommand.java
create mode 100644 grails-profiles/base/commands/add-property.groovy