Repository navigation
PR #2 Merge grails-data-mapping & grails-geb into grails-core - #14324
Merged
Merged
Conversation
Merge 4.1.x to 5.0.x & restore NEXUS variables
* fix: add setting to disable tracing Close gh-119 * docs: document `grails.geb.tracing.enabled` setting
# Conflicts: # gradle.properties
Merge 4.1.x into 5.0.x
This resolves an issue on Windows when using the file from `container.copyFileToContainer()` with the Geb FileInput module.
`macos-latest` does not seem to have container support.
`windows-latest` does not seem to provide a container environment.
- Use `replace(char, char)` instead of `replaceAll(String, String)` to avoid the overhead of regex pattern compilation. - Replace hardcoded string literals with `File.separatorChar`, ensuring the `replace` operation is a no-op on non-Windows hosts where no substitution is needed.
Cross-Platform Geb FileInput module support
# Conflicts: # gradle.properties
Merge 4.2.x into 5.0.x
This commit introduces explicit delegation to improve convenience and support for IDE autocompletion. The following delegates have been added: - `browser` object delegate - `page` object delegate - `report(String)` method delegate - `getPageSource()` method delegate - Refactor `ContainerAwareDownloadSupport` to a more generic support trait and move `createFileInputSource` method to it. - Move support classes to `support` package.
- This enables IDE autocompletion to display correct parameter names, improving developer experience.
Geb classes lack parameter metadata, which prevents proper IDE autocompletion. To address this, we manually delegate to enable accurate parameter names. - Add delegate implementations for all Geb interfaces in `ContainerGebSpec`. - Move container-related logic to the `ContainerSupport` class for better separation of concerns. - Add `@CompileStatic` where possible.
The `@since` attribute in the `ContainerSupport` class was incorrectly set to `4.1`. Updated it to the correct version, `4.2`.
Enhance Developer Experience with Explicit Delegation
- Upgrade `gradle-versions-plugin` to the latest release. - See the [release notes](https://github.com/ben-manes/gradle-versions-plugin/releases/tag/v0.52.0) for details.
matrei
approved these changes
Apr 22, 2025
matrei
left a comment
Contributor
There was a problem hiding this comment.
Sorry for the delay, Intellij kept hanging for me and trying to use the GitHub interface left me going in circles. I have not been able to do a thourough review and only have some minor comments. As always amazing work, thank you @jdaugherty !
Closed
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.
Per the decision[1], this merges the grails-data-mapping & grails-geb repositories into grails-core.
Please note that after having these repositories fully merged, clean up was done, including:
[1] https://lists.apache.org/thread/7trbthyv31tp2pkwpr3swn1pm80nd969