Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Conversation

@matrei
Copy link
Contributor

@matrei matrei commented Feb 11, 2025

Please see individual commit messages for detailed descriptions of each change.

Breaking change:
MongoSpec in org.grails.plugins:mongodb has been moved to testFixtures.

The Spring auto-configuration was incorrectly set in the `boot-plugin`, causing misconfiguration issues. This commit ensures the correct auto-configuration is applied.
Corrected a typo in the package name grails-datastore-async in renovate.json to ensure proper dependency updates.
Update the GitHub workflows to the latest Grails repository standard and best practices.
…uration

Fixed a Spring misconfiguration that caused MongoDbGormAutoConfigurationSpec to fail. This commit ensures the test runs correctly.
Moved shared build configuration logic into `*-config.gradle` files, enabling a more compositional approach to build setup.
Refactored `BsonPersistentEntityCodecSpec` to align with the updated API. The constructor `JsonWriterSettings(JsonMode)`` no longer exists, requiring adjustments to the test.
Refactored GlobalTemplateSpec to eliminate the use of Micronaut HttpClient, removing the project's dependency on it.
…erSpec`

Removed the `@Ignore` annotation from two tests in `MongoDbDataStoreSpringInitializerSpec` since they are now passing, allowing them to run as part of the test suite.
Remove unused `grails-app` directory.

The `application.yml` setting `grails.gorm.failOnError: false` seems to be a
left-over from copy-pasting the `gorm-hibernate` plugin.
Update a test in `LocalMongoUnitSpec` to use `@PendingFeature` instead of `@Ignore`,
allowing it to run while marking it as an expected failure until the issue is resolved.
Refactor `MongoSpec` to remove the deprecated `Package.getPackage()` call,
ensuring compatibility with newer Java versions.
It looks like this file has been copy/pasted from another project.
- Adopt a composition-based build structure.
- Integrate the Grails Publish Plugin.
- Update dependencies and refine dependency scopes.
- Add support for the `excludeUnusedTransDeps` flag to allow building and testing with unused transitive dependencies excluded.
- Update 7.0.14 to 7.0 which uses the latest 7.0.x version
- Add mongodb server to groovy-joint-workflow.yml
- Switch to only use major version.
- Add version 8.
@matrei matrei changed the title Project updates Multiple Project updates Feb 11, 2025
Copy link
Contributor

@jdaugherty jdaugherty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! I'll merge the docs updates & remove the rx gorm docs after we get this merged.

@matrei matrei requested a review from jdaugherty February 12, 2025 08:57
Copy link
Contributor

@jdaugherty jdaugherty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you also removed the author/developers reference. We've only been removing the email addresses, but I'm ok with removing these too. They're in the published artifact anyhow.

@matrei matrei merged commit 153bd20 into 9.0.x Feb 12, 2025
11 checks passed
@matrei matrei deleted the matrei/project-overhaul branch February 15, 2025 12:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants