Skip to content

Conversation

@dzikoysk
Copy link
Member

@dzikoysk dzikoysk commented Feb 22, 2024

Reverts part of the 64ccbe1

Related to #2117

@zugazagoitia
Copy link
Member

Be aware that this build will fail, see: https://github.com/javalin/javalin/actions/runs/7944870197

The compiled templates need jdk17

@codecov
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.28%. Comparing base (30aa74f) to head (81d3246).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2123   +/-   ##
=========================================
  Coverage     79.28%   79.28%           
  Complexity     1264     1264           
=========================================
  Files           148      148           
  Lines          4040     4040           
  Branches        504      504           
=========================================
  Hits           3203     3203           
- Misses          606      607    +1     
+ Partials        231      230    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tipsy tipsy merged commit 2899c56 into javalin:master Feb 22, 2024
@dzikoysk
Copy link
Member Author

dzikoysk commented Feb 22, 2024

Be aware that this build will fail, see: https://github.com/javalin/javalin/actions/runs/7944870197

Speaking about the increasing complexity of the core repo lately be like

toothless-dancing-toothless

@dzikoysk dzikoysk deleted the dzikoysk-patch-1 branch February 22, 2024 21:46
@tipsy
Copy link
Member

tipsy commented Feb 22, 2024

🥲

@zugazagoitia
Copy link
Member

zugazagoitia commented Feb 22, 2024

@dzikoysk
Copy link
Member Author

dzikoysk commented Feb 22, 2024

I've checked the cause, and it's not even about compiled templates, but simply the fact that JTE 3.x dropped support for older versions of Java at all:

So we're basically blocked in this repo by this. 2 solutions:

  • Downgrade JTE from 3.x to 2.x
  • Release snapshots from JDK17

I guess it's up to @tipsy to choose.

@tipsy
Copy link
Member

tipsy commented Feb 22, 2024

Neither is fun, but downgrading JTE is the least not fun...

@tipsy
Copy link
Member

tipsy commented Feb 22, 2024

#2124

tipsy added a commit that referenced this pull request Feb 23, 2024
…to 3.3.0 (#2127)

* [context] Prevent unintended usage of JDK 21 feature (closes #2117)

- Import import kotlin.collections.removeFirst as removeFirstKt
- Set <release> instead of <source> and <target>

* [tests] Add more ApiBuilder tests

* [distribution] Revert 64ccbe1 and use JDK11 for snapshots GH-2117 (#2123)

* [deps]: Bump kotlin.version from 1.9.10 to 1.9.22 (#2128)

Bumps `kotlin.version` from 1.9.10 to 1.9.22.

Updates `org.jetbrains.kotlin:kotlin-stdlib-jdk8` from 1.9.10 to 1.9.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v1.9.10...v1.9.22)

Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.9.10 to 1.9.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v1.9.10...v1.9.22)

Updates `org.jetbrains.kotlin:kotlin-stdlib-common` from 1.9.10 to 1.9.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v1.9.10...v1.9.22)

Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.9.10 to 1.9.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v1.9.10...v1.9.22)

Updates `org.jetbrains.kotlin:kotlin-maven-plugin` from 1.9.10 to 1.9.22

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk8
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-common
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [deps]: Bump org.apache.maven.plugins:maven-resources-plugin (#2129)

Bumps [org.apache.maven.plugins:maven-resources-plugin](https://github.com/apache/maven-resources-plugin) from 3.2.0 to 3.3.1.
- [Release notes](https://github.com/apache/maven-resources-plugin/releases)
- [Commits](apache/maven-resources-plugin@maven-resources-plugin-3.2.0...maven-resources-plugin-3.3.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-resources-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [deps]: Bump org.apache.maven.plugins:maven-source-plugin

Bumps [org.apache.maven.plugins:maven-source-plugin](https://github.com/apache/maven-source-plugin) from 3.2.1 to 3.3.0.
- [Commits](apache/maven-source-plugin@maven-source-plugin-3.2.1...maven-source-plugin-3.3.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-source-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: tipsy <[email protected]>
Co-authored-by: dzikoysk <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
tipsy added a commit that referenced this pull request Feb 23, 2024
* [context] Prevent unintended usage of JDK 21 feature (closes #2117)

- Import import kotlin.collections.removeFirst as removeFirstKt
- Set <release> instead of <source> and <target>

* [tests] Add more ApiBuilder tests

* [distribution] Revert 64ccbe1 and use JDK11 for snapshots GH-2117 (#2123)

* [deps]: Bump org.assertj:assertj-core from 3.25.0 to 3.25.3

Bumps [org.assertj:assertj-core](https://github.com/assertj/assertj) from 3.25.0 to 3.25.3.
- [Release notes](https://github.com/assertj/assertj/releases)
- [Commits](assertj/assertj@assertj-build-3.25.0...assertj-build-3.25.3)

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: tipsy <[email protected]>
Co-authored-by: dzikoysk <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants