Repository: seratch/notion-sdk-jvm
Pull request #100 (2023-08-21 18:54:35)

Bump org.apache.maven.plugins:maven-compiler-plugin from 3.8.1 to 3.11.0
Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.8.1 to 3.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/apache/maven-compiler-plugin/releases">org.apache.maven.plugins:maven-compiler-plugin's releases</a>.</em></p>
<blockquote>
<h2>3.11.0</h2>
<!-- raw HTML omitted -->
<h2>🚀 New features and improvements</h2>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-494">[MCOMPILER-494]</a> - Add a <code>useModulePath</code> switch to the <code>testCompile</code> mojo (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/119">#119</a>) <a href="https://github.com/dmlloyd"><code>@​dmlloyd</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-395">[MCOMPILER-395]</a> - Allow dependency exclusions for 'annotationProcessorPaths' (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/173">#173</a>) <a href="https://github.com/psiroky"><code>@​psiroky</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-522">[MCOMPILER-522]</a> - Use maven-resolver to resolve 'annotationProcessorPaths' dependencies (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/169">#169</a>) <a href="https://github.com/psiroky"><code>@​psiroky</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-516">[MCOMPILER-516]</a> - upgrade plexus-compiler to improve compiling message (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/164">#164</a>) <a href="https://github.com/hboutemy"><code>@​hboutemy</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-501">[MCOMPILER-501]</a> - compileSourceRoots parameter should be writable  (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/159">#159</a>) <a href="https://github.com/gnodet"><code>@​gnodet</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-457">[MCOMPILER-457]</a> - Change showWarnings to true by default (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/157">#157</a>) <a href="https://github.com/pzygielo"><code>@​pzygielo</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-457">[MCOMPILER-457]</a> - Warn about warn-config conflicting values (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/153">#153</a>) <a href="https://github.com/pzygielo"><code>@​pzygielo</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-505">[MCOMPILER-505]</a> - Update default source/target from 1.7 to 1.8 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/149">#149</a>) <a href="https://github.com/jorsol"><code>@​jorsol</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-499">[MCOMPILER-499]</a> - display recompilation causes (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/143">#143</a>) <a href="https://github.com/olamy"><code>@​olamy</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-500">[MCOMPILER-500]</a> - add some parameter to pattern from stale source calculation (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/141">#141</a>) <a href="https://github.com/olamy"><code>@​olamy</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-488">[MCOMPILER-488]</a> - dedicated option for <code>implicit</code> javac flag (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/102">#102</a>) <a href="https://github.com/pzygielo"><code>@​pzygielo</code></a></li>
</ul>
<h2>🐛 Bug Fixes</h2>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-525">[MCOMPILER-525]</a> - Incorrect detection of dependency change (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/172">#172</a>) <a href="https://github.com/jorsol"><code>@​jorsol</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-523">[MCOMPILER-523]</a> - Test with Maven 3.9.0 and fix the failing IT (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/176">#176</a>) <a href="https://github.com/gnodet"><code>@​gnodet</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-503">[MCOMPILER-503]</a> - Resolve all annotation processor dependencies together (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/170">#170</a>) <a href="https://github.com/psiroky"><code>@​psiroky</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-512">[MCOMPILER-512]</a> - Defining maven.compiler.release as empty string end… (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/158">#158</a>) <a href="https://github.com/project25o1"><code>@​project25o1</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-495">[MCOMPILER-495]</a> - Fixes missing dirs in createMissingPackageInfoClasses (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/121">#121</a>) <a href="https://github.com/jmax01"><code>@​jmax01</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-347">[MCOMPILER-347]</a> - Set Xcludes in config passed to actual compiler (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/101">#101</a>) <a href="https://github.com/pzygielo"><code>@​pzygielo</code></a></li>
</ul>
<h2>📦 Dependency updates</h2>
<ul>
<li>Bump apache/maven-gh-actions-shared from 2 to 3 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/182">#182</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump maven-invoker-plugin from 3.4.0 to 3.5.0 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/179">#179</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-527">[MCOMPILER-527]</a> - Upgrade plexus-java to 1.1.2 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/177">#177</a>) <a href="https://github.com/gnodet"><code>@​gnodet</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-526">[MCOMPILER-526]</a> - Upgrade to parent 39 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/175">#175</a>) <a href="https://github.com/gnodet"><code>@​gnodet</code></a></li>
<li>Bump junit from 4.12 to 4.13.1 in /src/it/multirelease-patterns/packaging-plugin (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/115">#115</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-519">[MCOMPILER-519]</a> - Upgrade maven-invoker-plugin from 3.3.0 to 3.4.0 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/166">#166</a>) <a href="https://github.com/psiroky"><code>@​psiroky</code></a></li>
<li>Bump qdox from 2.0.2 to 2.0.3 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/152">#152</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump maven-jxr-plugin from 3.2.0 to 3.3.0 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/146">#146</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump maven-jxr-plugin from 3.1.1 to 3.2.0 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/105">#105</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump junit from 4.10 to 4.13.1 in /src/it/MCOMPILER-203-processorpath/annotation-user (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/114">#114</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump plexusCompilerVersion from 2.12.0 to 2.12.1 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/139">#139</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump maven-shared-utils from 0.1 to 3.3.3 in /src/it/MCOMPILER-157/annotation-verify (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/127">#127</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump maven-shared-utils from 0.1 to 3.3.3 in /src/it/MCOMPILER-203-processorpath/annotation-verify (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/128">#128</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump mockito-core from 4.6.0 to 4.6.1 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/132">#132</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump maven-release-plugin from 3.0.0-M5 to 3.0.0-M6 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/133">#133</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump mockito-core from 4.5.1 to 4.6.0 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/130">#130</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump maven-invoker-plugin from 3.2.2 to 3.3.0 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/131">#131</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump junit from 4.8.2 to 4.13.1 in /src/it/groovy-project-with-new-plexus-compiler (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/124">#124</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump junit from 4.12 to 4.13.1 in /src/it/MCOMPILER-298 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/125">#125</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump plexusCompilerVersion from 2.11.2-SNAPSHOT to 2.12.0 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/122">#122</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump junit from 4.12 to 4.13.1 in /src/it/multirelease-patterns/singleproject-runtime (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/110">#110</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump junit from 4.12 to 4.13.1 in /src/it/multirelease-patterns/multiproject/multirelease-nine (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/112">#112</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump junit from 4.12 to 4.13.1 in /src/it/multirelease-patterns/multimodule/multirelease-base (<a href="https://redirect.github.com/apache/maven-compiler-plugin/pull/111">#111</a>) <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/apache/maven-compiler-plugin/commit/eeda628b832bf3cc27571e2073f62d582a6d9527"><code>eeda628</code></a> [maven-release-plugin] prepare release maven-compiler-plugin-3.11.0</li>
<li><a href="https://github.com/apache/maven-compiler-plugin/commit/82b799f3501d0dc3ef868859245816c563c46f04"><code>82b799f</code></a> [MCOMPILER-527] Upgrade plexus-java to 1.1.2 (<a href="https://redirect.github.com/apache/maven-compiler-plugin/issues/177">#177</a>)</li>
<li><a href="https://github.com/apache/maven-compiler-plugin/commit/f9c2350c885a96638db66fbab4d9180729a31d5a"><code>f9c2350</code></a> [MCOMPILER-526] Fix IT (<a href="https://redirect.github.com/apache/maven-compiler-plugin/issues/178">#178</a>)</li>
<li><a href="https://github.com/apache/maven-compiler-plugin/commit/4022bd0f37626124dad394b2e4583fd6768fa74a"><code>4022bd0</code></a> [MCOMPILER-494] - Add a <code>useModulePath</code> switch to the <code>testCompile</code> mojo (<a href="https://redirect.github.com/apache/maven-compiler-plugin/issues/119">#119</a>)</li>
<li><a href="https://github.com/apache/maven-compiler-plugin/commit/f4a8a54e116b07e888ac7b6371fa24b7a81517b3"><code>f4a8a54</code></a> [MCOMPILER-525] Incorrect detection of dependency change (<a href="https://redirect.github.com/apache/maven-compiler-plugin/issues/172">#172</a>)</li>
<li><a href="https://github.com/apache/maven-compiler-plugin/commit/86b9f5972bcb005305f8abb8fb1f3c0d89df2726"><code>86b9f59</code></a> [MCOMPILER-395] Allow dependency exclusions for 'annotationProcessorPaths' (#...</li>
<li><a href="https://github.com/apache/maven-compiler-plugin/commit/e304ceb91cb625399638f95be41e6c23ca0970d0"><code>e304ceb</code></a> [MCOMPILER-526] Ignore reformat commit for git blame</li>
<li><a href="https://github.com/apache/maven-compiler-plugin/commit/f7a4613eaa2364dcaf10f96f04a6b1afb2feb7ed"><code>f7a4613</code></a> [MCOMPILER-526] Reformat</li>
<li><a href="https://github.com/apache/maven-compiler-plugin/commit/cc78aee657a684af721b3efafd0e1525272d4201"><code>cc78aee</code></a> [MCOMPILER-526] Upgrade to parent 39</li>
<li><a href="https://github.com/apache/maven-compiler-plugin/commit/3dca82f4bf91e747c81ff3fe43e670f7cd7c08e1"><code>3dca82f</code></a> [MCOMPILER-526] Add packages to please the formatter</li>
<li>Additional commits viewable in <a href="https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.8.1...maven-compiler-plugin-3.11.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-compiler-plugin&package-manager=maven&previous-version=3.8.1&new-version=3.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>


Patch:
diff --git a/core/src/main/kotlin/notion/api/v1/model/databases/query/filter/PropertyFilter.kt b/core/src/main/kotlin/notion/api/v1/model/databases/query/filter/PropertyFilter.kt
index a987df1..fee9f4f 100644
--- a/core/src/main/kotlin/notion/api/v1/model/databases/query/filter/PropertyFilter.kt
+++ b/core/src/main/kotlin/notion/api/v1/model/databases/query/filter/PropertyFilter.kt
@@ -25,4 +25,5 @@ constructor(
     var relation: RelationFilter? = null,
     var formula: FormulaFilter? = null,
     var status: StatusFilter? = null,
+    var rollup: RollupFilter? = null,
 ) : QueryTopLevelFilter, CompoundFilterElement
diff --git a/core/src/main/kotlin/notion/api/v1/model/databases/query/filter/condition/RollupFilter.kt b/core/src/main/kotlin/notion/api/v1/model/databases/query/filter/condition/RollupFilter.kt
new file mode 100644
index 0000000..a775231
--- /dev/null
+++ b/core/src/main/kotlin/notion/api/v1/model/databases/query/filter/condition/RollupFilter.kt
@@ -0,0 +1,34 @@
+package notion.api.v1.model.databases.query.filter.condition
+
+open class RollupFilter
+@JvmOverloads
+constructor(
+    var any: Content? = null,
+    var every: Content? = null,
+    var none: Content? = null,
+) {
+  open class Content
+  @JvmOverloads
+  constructor(
+      var title: TextFilter? = null,
+      var richText: TextFilter? = null,
+      var url: TextFilter? = null,
+      var email: TextFilter? = null,
+      var phoneNumber: TextFilter? = null,
+      var number: NumberFilter? = null,
+      var checkbox: CheckboxFilter? = null,
+      var select: SelectFilter? = null,
+      var multiSelect: MultiSelectFilter? = null,
+      var date: DateFilter? = null,
+      var timestamp: String? = null, // "created_time", "last_edited_time"
+      var createdTime: TimestampFilter? = null,
+      var lastEditedTime: TimestampFilter? = null,
+      var createdBy: PeopleFilter? = null,
+      var lastEditedBy: PeopleFilter? = null,
+      var file: FilesFilter? = null,
+      var relation: RelationFilter? = null,
+      var formula: FormulaFilter? = null,
+      var status: StatusFilter? = null,
+      var rollup: RollupFilter? = null,
+  )
+}
diff --git a/core/src/main/kotlin/notion/api/v1/model/pages/PageProperty.kt b/core/src/main/kotlin/notion/api/v1/model/pages/PageProperty.kt
index 23d49b4..d3f1ab5 100644
--- a/core/src/main/kotlin/notion/api/v1/model/pages/PageProperty.kt
+++ b/core/src/main/kotlin/notion/api/v1/model/pages/PageProperty.kt
@@ -106,5 +106,6 @@ constructor(
       val number: Number? = null,
       val array: List<PageProperty>? = null,
       val function: String? = null,
+      val date: Date? = null,
   )
 }
diff --git a/pom.xml b/pom.xml
index 03d6d83..be5bf61 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,7 +51,7 @@
         <kotlin.code.style>official</kotlin.code.style>
         <duplicate-finder-maven-plugin.version>1.3.0</duplicate-finder-maven-plugin.version>
         <maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version>
-        <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
+        <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
         <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
         <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
         <maven-release-plugin.version>2.5.3</maven-release-plugin.version>


Test patch:
diff --git a/core/src/test/kotlin/tests/model/PagesTest.kt b/core/src/test/kotlin/tests/model/PagesTest.kt
index c74bd66..47a6d93 100644
--- a/core/src/test/kotlin/tests/model/PagesTest.kt
+++ b/core/src/test/kotlin/tests/model/PagesTest.kt
@@ -44,6 +44,19 @@ class PagesTest {
         }
       ]
     },
+    "Rollup Property": {
+      "id": "da010d01-6406-43d1-ae03-4b4b6989bbd9",
+      "type": "rollup",
+      "rollup": {
+        "type": "date",
+        "function": "opaque_value",
+        "date": {
+          "start": "2023-03-09T00:00:00.000+00:00",
+          "end": null,
+          "time_zone": null
+        }
+      }
+    },
     "Due": {
       "id": "da010d01-6406-43d1-ae03-4b4b6989bbd8",
       "date": {