Skip to content

Commit 75e5ff6

Browse files
committed
chore: setup 8.0.x branch
1 parent 9ca377b commit 75e5ff6

File tree

5 files changed

+35
-65
lines changed

5 files changed

+35
-65
lines changed

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
projectVersion=7.1.0-SNAPSHOT
16+
projectVersion=8.0.0-SNAPSHOT
1717

1818
javaVersion=17
1919

20-
githubBranch=7.1.x
20+
githubBranch=8.0.x
2121
githubSlug=apache/grails-core
2222

2323
# Note: BOM dependencies are defined in dependencies.gradle files to allow for dependabot updates

grails-core/src/test/groovy/grails/util/GrailsUtilTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class GrailsUtilTests {
3333

3434
@Test
3535
public void testGrailsVersion() {
36-
assertEquals("7.1.0-SNAPSHOT", GrailsUtil.getGrailsVersion());
36+
assertEquals("8.0.0-SNAPSHOT", GrailsUtil.getGrailsVersion());
3737
}
3838

3939
@AfterEach

grails-doc/src/en/guide/introduction/whatsNew.adoc

Lines changed: 4 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -17,77 +17,19 @@ specific language governing permissions and limitations
1717
under the License.
1818
////
1919

20-
This section covers all the new features introduced in Grails 7
20+
This section covers all the new features introduced in Grails 8
2121

2222
=== Overview
2323

2424
Grails {GrailsVersion} is a major release that includes new features, improvements, and dependency upgrades.
2525
This release focuses on enhancing the developer experience, improving performance, and ensuring compatibility with the latest technologies.
2626

27-
For detailed information on how to upgrade to Grails 7, including major dependency changes, please see the xref:upgrading#upgrading60x[Upgrading from Grails 6 to Grails 7] section.
27+
For detailed information on how to upgrade to Grails 8, including major dependency changes, please see the xref:upgrading#upgrading70x[Upgrading from Grails 7 to Grails 8] section.
2828
Notable new features are included below.
2929

30-
=== External Configuration
30+
==== No New Features at this time
3131

32-
The https://github.com/sbglasius/external-config[external configuration plugin] is now integrated into Grails.
33-
See the xref:conf.adoc#externalConfiguration[Configuration] section for details.
34-
35-
=== Ubiquitous Containerized Browser Testing with Geb
36-
37-
The https://github.com/apache/grails-core/tree/HEAD/grails-geb#readme[Grails Geb Plugin] has received a significant update, introducing test fixtures that enable ubiquitous containerized browser testing.
38-
39-
This new approach is now the recommended way to write functional tests in Grails. However, the previous method using WebDriver binaries remains supported for backward compatibility.
40-
41-
==== Key Features
42-
43-
By extending your test classes with `ContainerGebSpec`, your tests will automatically leverage a containerized browser provided by https://java.testcontainers.org/[Testcontainers]. This setup eliminates the need for managing browser versions and ensures consistent test environments.
44-
45-
==== Requirements
46-
47-
To use `ContainerGebSpec`, ensure that you have a compatible container runtime installed. Supported options include:
48-
49-
- **Docker Desktop**
50-
- **OrbStack** (macOS only)
51-
- **Rancher Desktop**
52-
- **Podman Desktop**
53-
- **Colima** (macOS and Linux)
54-
55-
==== How It Works
56-
57-
Once a compatible container runtime is installed, no additional configuration is needed. Simply extend your test classes with `ContainerGebSpec` (instead of `GebSpec`), and the following will happen:
58-
59-
1. A container will be started automatically when you run your integration tests.
60-
2. The container will be configured to launch a browser capable of accessing your application under test.
61-
62-
With this setup, you gain the benefits of containerized testing, such as isolation, reproducibility, and reduced setup complexity.
63-
64-
==== formActionSubmit tag
65-
66-
A new tag `formActionSubmit` has been added to replace `actionSubmit`.
67-
Dispatching actions via a parameter name on a form submit will be removed in a future version of grails.
68-
See ticket https://github.com/grails/grails-gsp/issues/551[#551] for details.
69-
70-
==== @Scaffold support for Controllers and Services
71-
72-
The `@Scaffold` annotation was added to customize scaffolding generation for controllers and services.
73-
74-
==== Bootstrap 5.3.3 support
75-
76-
Bootstrap 5.3.3 support.
77-
Saffolding and Fields tags now optionally support boostrap classes.
78-
79-
==== Prioritization of AutoConfiguration over bean overriding.
80-
81-
The core dependencies of Grails are moving to using `@Configuration` to better integrate with the Spring Boot ecosystem.
82-
Please note that this does mean that some beans are now initialized earlier in the application context lifecycle.
83-
84-
==== Significant Dependency Removals
85-
86-
With the removal of Micronaut, and the fixes to the asset pipeline plugin, Grails build sizes should now be significantly reduced.
87-
88-
==== g:form & CSRF protection
89-
90-
The `g:form` tag now automatically provides csrf protection when Spring Security CSRF is enabled.
32+
No new features at this time
9133

9234

9335

grails-doc/src/en/guide/toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ gettingStarted:
3636
developmentReloading: Development Reloading
3737
upgrading:
3838
title: Upgrading from the previous versions
39+
upgrading70x: Upgrading from Grails 7 to Grails 8
3940
upgrading60x: Upgrading from Grails 6 to Grails 7
4041
upgrading50x: Upgrading from Grails 5 to Grails 6
4142
upgrading40x: Upgrading from Grails 4 to Grails 5
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
////
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
https://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing,
13+
software distributed under the License is distributed on an
14+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
KIND, either express or implied. See the License for the
16+
specific language governing permissions and limitations
17+
under the License.
18+
////
19+
20+
=== Upgrade Instructions for Grails and Related Dependencies
21+
22+
To ensure compatibility with Grails {version}, please review the following upgrade instructions carefully.
23+
This guide outlines the necessary steps & warnings to upgrade your Grails project.
24+
25+
==== 1. No Changes at this time
26+
27+
No new features at this time

0 commit comments

Comments
 (0)