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

Commit 6bb77da

Browse files
authored
Release Doma 3 (#21)
* Update versions * Update the description related to the getting-started sample project. * Update Java versions * Update po files
1 parent 713136c commit 6bb77da

File tree

14 files changed

+85
-101
lines changed

14 files changed

+85
-101
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
val domaVersion = "2.60.0"
1+
val domaVersion = "3.0.0"
22

33
fun updateVersion() {
44
// Gradle

docs/annotation-processing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ Use `the compilerArgs parameter
128128
<artifactId>maven-compiler-plugin</artifactId>
129129
<version>3.8.1</version>
130130
<configuration>
131-
<source>1.8</source> <!-- depending on your project -->
132-
<target>1.8</target> <!-- depending on your project -->
131+
<source>17</source> <!-- depending on your project -->
132+
<target>17</target> <!-- depending on your project -->
133133
<annotationProcessorPaths>
134134
<path>
135135
<groupId>org.seasar.doma</groupId>

docs/build.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ Write your build.gradle(.kts) as follows:
4040
}
4141
4242
dependencies {
43-
implementation("org.seasar.doma:doma-core:2.60.0")
44-
annotationProcessor("org.seasar.doma:doma-processor:2.60.0")
43+
implementation("org.seasar.doma:doma-core:3.0.0")
44+
annotationProcessor("org.seasar.doma:doma-processor:3.0.0")
4545
}
4646
4747
.. tab:: Groovy
@@ -53,8 +53,8 @@ Write your build.gradle(.kts) as follows:
5353
}
5454
5555
dependencies {
56-
implementation 'org.seasar.doma:doma-core:2.60.0'
57-
annotationProcessor 'org.seasar.doma:doma-processor:2.60.0'
56+
implementation 'org.seasar.doma:doma-core:3.0.0'
57+
annotationProcessor 'org.seasar.doma:doma-processor:3.0.0'
5858
}
5959
6060
To simplify your build.script(.kts), we recommend that you use the `org.seasar.doma.compile`_ plugin.
@@ -72,7 +72,7 @@ Write your pom.xml as follows:
7272
7373
...
7474
<properties>
75-
<doma.version>2.60.0</doma.version>
75+
<doma.version>3.0.0</doma.version>
7676
</properties>
7777
...
7878
<dependencies>
@@ -90,8 +90,8 @@ Write your pom.xml as follows:
9090
<artifactId>maven-compiler-plugin</artifactId>
9191
<version>3.8.1</version>
9292
<configuration>
93-
<source>1.8</source> <!-- depending on your project -->
94-
<target>1.8</target> <!-- depending on your project -->
93+
<source>17</source> <!-- depending on your project -->
94+
<target>17</target> <!-- depending on your project -->
9595
<annotationProcessorPaths>
9696
<path>
9797
<groupId>org.seasar.doma</groupId>

docs/faq.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Runtime environment
3131
Which version of JRE does Doma support?
3232
---------------------------------------
3333

34-
JRE 8 and above.
34+
JRE 17 and above.
3535

3636
Which libraries are required for Doma to work?
3737
----------------------------------------------
@@ -48,7 +48,7 @@ Development environment
4848
Which version of JDK does Doma support?
4949
---------------------------------------
5050

51-
JDK 8 and above.
51+
JDK 17 and above.
5252

5353
Which IDE do you recommend?
5454
---------------------------

docs/getting-started.rst

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ Install JDK
1515

1616
To begin, JDK 17 is required.
1717

18-
.. note::
19-
20-
It's important to note that Doma is compatible with JDK 8 onwards.
21-
For details on supported JDK versions, refer to the appropriate section.
22-
:ref:`Which version of JDK does Doma support?<which-version-of-jdk-does-doma-support>`.
23-
2418
Get sample project
2519
==================
2620

@@ -45,10 +39,8 @@ Ensure successful project setup with:
4539
Sample project structure
4640
========================
4741

48-
The getting-started sample is a Gradle multi-project consisting of java-8 and java-17 sub-projects.
49-
Both are similar, with the primary difference being how SQL statements are stored: in files for java-8 and as Text Blocks in java-17.
50-
51-
This guide will focus on the java-17 project.
42+
The getting-started sample is a Gradle multi-project that includes a java-17 subproject.
43+
This guide will focus on the java-17 subproject.
5244

5345
Import project to your IDE
5446
==========================

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
:align: right
1010
:target: https://github.com/domaframework/doma
1111

12-
Welcome to Doma 2
12+
Welcome to Doma
1313
=====================
1414

15-
Doma 2 is a database access framework for Java 8+.
15+
Doma is a database access framework for Java.
1616
Doma has various strengths:
1717

1818
* Verifies and generates source code at compile time using annotation processing.

docs/kotlin-support.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ You can write build.gradle.kts as follows:
152152
.. code-block:: kotlin
153153
154154
dependencies {
155-
implementation("org.seasar.doma:doma-kotlin:2.60.0")
155+
implementation("org.seasar.doma:doma-kotlin:3.0.0")
156156
}
157157
158158
Code Generation
@@ -173,8 +173,8 @@ For example, you can write build.gradle.kts as follows:
173173
.. code-block:: kotlin
174174
175175
dependencies {
176-
kapt("org.seasar.doma:doma-processor:2.60.0")
177-
implementation("org.seasar.doma:doma-kotlin:2.60.0")
176+
kapt("org.seasar.doma:doma-processor:3.0.0")
177+
implementation("org.seasar.doma:doma-kotlin:3.0.0")
178178
}
179179
180180
To simplify your build script, we recommend you use

docs/locale/ja/LC_MESSAGES/criteria-api.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ msgstr "次の例を参照してください。"
190190

191191
#: ../../criteria-api.rst:235
192192
msgid "Both (1) and (2) issue the same SQL statement as follows:"
193-
msgstr "(1) と (2) は両方とも、次のように同じ SQL ステートメントを発行します。"
193+
msgstr "(1) と (2) の両方とも、以下のように同じ SQL ステートメントを発行します。"
194194

195195
#: ../../criteria-api.rst:243
196196
msgid "The ResultSet contains 14 rows, but the Entityql DSL returns only 3 rows because it removes duplicate Department entities. The Entityql DSL uses the id properties to know the uniqueness of the entities."

docs/locale/ja/LC_MESSAGES/faq.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ msgid ""
22
msgstr ""
33
"Project-Id-Version: doma-docs\n"
44
"Report-Msgid-Bugs-To: \n"
5-
"POT-Creation-Date: 2024-03-17 13:53+0000\n"
5+
"POT-Creation-Date: 2024-09-01 09:20+0900\n"
66
"Last-Translator: \n"
77
"Language-Team: Japanese\n"
88
"MIME-Version: 1.0\n"
@@ -68,8 +68,8 @@ msgid "Which version of JRE does Doma support?"
6868
msgstr "Doma はどのバージョンの JRE をサポートしていますか?"
6969

7070
#: ../../faq.rst:34
71-
msgid "JRE 8 and above."
72-
msgstr "JRE 8以降です。"
71+
msgid "JRE 17 and above."
72+
msgstr "JRE 17以降です。"
7373

7474
#: ../../faq.rst:37
7575
msgid "Which libraries are required for Doma to work?"
@@ -92,8 +92,8 @@ msgid "Which version of JDK does Doma support?"
9292
msgstr "Doma はどのバージョンの JDK をサポートしていますか?"
9393

9494
#: ../../faq.rst:51
95-
msgid "JDK 8 and above."
96-
msgstr "JDK 8以降です。"
95+
msgid "JDK 17 and above."
96+
msgstr "JDK 17以降です。"
9797

9898
#: ../../faq.rst:54
9999
msgid "Which IDE do you recommend?"

0 commit comments

Comments
 (0)