Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating to Grails 6.1.1 #521

Open
wants to merge 19 commits into
base: 5.0.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
d67cb07
Issue #437 - Expanded API for store token
jdaugherty Jan 14, 2024
47ded85
Issue #437 - Call storeToken for new access token on refresh
jdaugherty Jan 14, 2024
20e3e67
Upgrade to Grails 6.6.1
jdaugherty Jan 14, 2024
a5f330b
Run gradle check on all eligible branches
jdaugherty Jan 14, 2024
7540e31
Do not require the project to be built to detect subprojects
jdaugherty Jan 14, 2024
2caf405
Support publishing to maven central
jdaugherty Jan 14, 2024
f2951d2
Merge remote-tracking branch 'upstream/5.0.x' into 5.0.x
jdaugherty Sep 27, 2024
fd77408
Switch back to grails namespace
jdaugherty Sep 27, 2024
1e86795
Switch to JVM that matches other grails plugins
jdaugherty Sep 27, 2024
4afb875
Update documentation for 5.0.0 release.
jdaugherty Sep 27, 2024
80ec07b
Copy issue templates from spring-security-core plugin
jdaugherty Sep 27, 2024
d795527
Copy renovate & dependabot configuration from spring-security-core
jdaugherty Sep 27, 2024
856fb65
Update redis to latest version to support grails 6
jdaugherty Sep 27, 2024
cd94273
Update license to the same value as spring security core since it's t…
jdaugherty Sep 27, 2024
491be69
Setup gradle enterprise similar to spring security core
jdaugherty Sep 27, 2024
ea4d599
Updating documentation to have the correct API urls & general cleanup
jdaugherty Sep 27, 2024
b57ae0c
Initial workflow updates based on the spring security core plugin
jdaugherty Sep 27, 2024
ca3a987
Remove old testapp-profile project since it's no longer used
jdaugherty Sep 27, 2024
eb0f78d
Set authorEmail to empty
jdaugherty Sep 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Bug Report
description: File a bug report
body:
- type: markdown
attributes:
value: |
Thanks for reporting an issue for Grails framework, please review the task list below before submitting the issue. Your issue report will be closed if the issue is incomplete and the below tasks not completed.

NOTE: If you are unsure about something and the issue is more of a question a better place to ask questions is on Stack Overflow (https://stackoverflow.com/tags/grails) or Slack (https://slack-signup.grails.org). DO NOT use the issue tracker to ask questions.

NOTE: if you have questions or issues, [enable debug logging](https://grails-plugins.github.io/grails-spring-security-rest/latest/docs/index.html#_debugging), and include the output in your request.
- type: textarea
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
placeholder: Tell us what should happen
validations:
required: false
- type: textarea
attributes:
label: Actual Behaviour
description: A concise description of what you're experiencing.
placeholder: Tell us what happens instead
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. In this environment...
2. With this config...
3. Run '...'
4. See error...
validations:
required: false
- type: textarea
attributes:
label: Environment Information
description: Environment information where the problem occurs.
placeholder: |
- Operating System:
- JDK Version:
validations:
required: false
- type: input
id: example
attributes:
label: Example Application
description: Example application link.
placeholder: |
Link to GitHub repository with an example that reproduces the issue
validations:
required: false
- type: input
id: version
attributes:
label: Version
description: Grails version
validations:
required: true
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
contact_links:
- name: Stack Overflow
url: https://stackoverflow.com/tags/grails
about: Ask questions on Stack Overflow
- name: Grails Slack
url: https://grails.slack.com/
about: Chat with us on Grails Community Slack.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/new_feature.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Feature request
description: Create a new feature request
body:
- type: markdown
attributes:
value: |
Please describe the feature you want for Grails® framework to implement, before that check if there is already an existing issue to add it.
- type: textarea
attributes:
label: Feature description
placeholder: Tell us more about the feature you would like for Grails® framework to have and what problem is it going to solve
validations:
required: true
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/other.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Other
description: Something different
body:
- type: textarea
attributes:
label: Issue description
validations:
required: true
24 changes: 24 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: 2
updates:
- package-ecosystem: gradle
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: 4.0.x
labels:
- "type: dependency upgrade"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- package-ecosystem: gradle
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: 3.3.x
labels:
- "type: dependency upgrade"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
126 changes: 126 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
name-template: $RESOLVED_VERSION
tag-template: v$RESOLVED_VERSION
pull-request:
title-templates:
fix: '🐛 $TITLE (#$NUMBER)'
feat: '🚀 $TITLE (#$NUMBER)'
default: '$TITLE (#$NUMBER)'
autolabeler:
- label: 'bug'
branch:
- '/fix\/.+/'
title:
- '/fix/i'
- label: 'feature'
branch:
- '/feature\/.+/'
title:
- '/feat/i'
- label: 'documentation'
branch:
- '/docs\/.+/'
title:
- '/docs/i'
- label: 'maintenance'
branch:
- '/(chore|refactor|style|test|ci|perf|build|deps)\/.+/'
title:
- '/(chore|refactor|style|test|ci|perf|build|deps)/i'
- label: 'chore'
branch:
- '/chore\/.+/'
title:
- '/chore/i'
- label: 'refactor'
branch:
- '/refactor\/.+/'
title:
- '/refactor/i'
- label: 'style'
branch:
- '/style\/.+/'
title:
- '/style/i'
- label: 'test'
branch:
- '/test\/.+/'
title:
- '/test/i'
- label: 'ci'
branch:
- '/ci\/.+/'
title:
- '/ci/i'
- label: 'perf'
branch:
- '/perf\/.+/'
title:
- '/perf/i'
- label: 'build'
branch:
- '/build\/.+/'
title:
- '/build/i'
- label: 'deps'
branch:
- '/deps\/.+/'
title:
- '/deps/i'
- label: 'revert'
branch:
- '/revert\/.+/'
title:
- '/revert/i'
categories:
- title: '🚀 Features'
labels:
- 'feat'
- "type: enhancement"
- "type: new feature"
- "type: major"
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- "type: improvement"
- "type: bug"
- "type: minor"
- title: '📚 Documentation'
labels:
- 'docs'
- title: '🔧 Maintenance'
labels:
- 'chore'
- 'refactor'
- 'style'
- 'test'
- 'ci'
- 'perf'
- 'build'
- 'deps'
- "type: dependency upgrade"
- "dependencies"
- "type: ci"
- "type: build"
- title: '⏪ Reverts'
labels:
- 'revert'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
version-resolver:
major:
labels:
- 'type: major'
minor:
labels:
- 'type: minor'
patch:
labels:
- 'type: patch'
default: patch
template: |
## What's Changed

$CHANGES

## Contributors

$CONTRIBUTORS
69 changes: 69 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"extends": [
"config:base"
],
"labels": ["type: dependency upgrade"],
"packageRules": [
{
"matchPackagePatterns": ["*"],
"allowedVersions": "!/SNAPSHOT$/"
},
{
"matchPackagePatterns": [
"^org\\.codehaus\\.groovy"
],
"groupName": "groovy monorepo"
},
{
"matchPackagePatterns": [
"^org\\.seleniumhq"
],
"groupName": "selenium monorepo"
},
{
"matchPackagePatterns": [
"^org\\.spockframework"
],
"groupName": "spock framework monorepo"
},
{
"matchPackageNames": [
"org.grails:grails-bom",
"org.grails:grails-bootstrap",
"org.grails:grails-codecs",
"org.grails:grails-console",
"org.grails:grails-core",
"org.grails:grails-databinding",
"org.grails:grails-dependencies",
"org.grails:grails-docs",
"org.grails:grails-encoder",
"org.grails:grails-gradle-model",
"org.grails:grails-logging",
"org.grails:grails-plugin-codecs",
"org.grails:grails-plugin-controllers",
"org.grails:grails-plugin-databinding",
"org.grails:grails-plugin-datasource",
"org.grails:grails-plugin-domain-class",
"org.grails:grails-plugin-i18n",
"org.grails:grails-plugin-interceptors",
"org.grails:grails-plugin-mimetypes",
"org.grails:grails-plugin-rest",
"org.grails:grails-plugin-services",
"org.grails:grails-plugin-url-mappings",
"org.grails:grails-plugin-url-validation",
"org.grails:grails-shell",
"org.grails:grails-spring",
"org.grails:grails-test",
"org.grails:grails-validation",
"org.grails:grails-web",
"org.grails:grails-web-boot",
"org.grails:grails-web-common",
"org.grails:grails-web-databinding",
"org.grails:grails-web-fileupload",
"org.grails:grails-web-mvc",
"org.grails:grails-web-url-mappings"
],
"groupName": "grails monorepo"
}
]
}
52 changes: 35 additions & 17 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,50 @@ name: Java CI
on:
push:
branches:
- '[3-9].[0-9].x'
- '[5-9].[0-9].x'
pull_request:
branches:
- '[3-9].[0-9].x'
- '[5-9].[0-9].x'
workflow_dispatch:
jobs:
test:
core-tests:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
env:
WORKSPACE: ${{ github.workspace }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 8
- name: Checkout
uses: actions/checkout@v4
- name: Wrapper Integrity
uses: gradle/actions/wrapper-validation@v3
- name: Setup Java
uses: actions/setup-java@v4
with: { java-version: 11, distribution: temurin }
- name: Run Tests
if: github.event_name == 'pull_request'
id: tests
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
with:
arguments: |
:spring-security-rest:check
check
--refresh-dependencies
-Dgeb.env=chromeHeadless
build:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Wrapper Integrity
uses: gradle/wrapper-validation-action@v2
- name: Setup Java
uses: actions/setup-java@v4
with: { java-version: 11, distribution: temurin }
- name: Run Build
id: build
uses: gradle/actions/setup-gradle@v3
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}
GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }}
with:
arguments: |
check
--refresh-dependencies
-Dgeb.env=chromeHeadless
Loading
Loading