Skip to content

Commit c21b801

Browse files
committed
feat(tomcat,build): add CORS support, improve SSE, bump versions and deps
Add full CORS handling to TomcatServer (Origin, credentials, preflight OPTIONS, configurable headers/methods/max-age) Fix request handling signature to pass Request object into handleRequest Improve SSE response header (text/event-stream; charset=utf-8) Improve protocol detection using request.isSecure() instead of server flag Minor code style cleanups (spacing, instanceof pattern matching, formatting) Bump versions: tinystruct: 1.7.11 → 1.7.17 module: 1.0.5 → 1.0.6 tomcat: 11.0.13 → 11.0.15 jupiter: 6.0.1 → 6.0.2 Disable GPG signing in build config Update IDEA project to include netty & undertow modules Update dispatcher scripts to 1.7.17
1 parent 08b83ae commit c21b801

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

bin/dispatcher

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# ***************************************************************************
1818

1919
ROOT="$(pwd)"
20-
VERSION="1.7.11"
20+
VERSION="1.7.17"
2121
cd "$(dirname "$0")" || exit
2222
cd "../"
2323
# Navigate to the root directory

bin/dispatcher.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
set "MAVEN_REPO=%USERPROFILE%\.m2\repository\org\tinystruct\tinystruct"
2020
@REM Consolidate classpath entries, initialize ROOT and VERSION
2121
set "ROOT=%~dp0.."
22-
set "VERSION=1.7.11"
22+
set "VERSION=1.7.17"
2323

2424
@REM Define the paths for tinystruct jars in the Maven repository
2525
set "DEFAULT_JAR_FILE=%MAVEN_REPO%\%VERSION%\tinystruct-%VERSION%.jar"

pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<name>tomcat server module</name>
77
<groupId>org.tinystruct</groupId>
88
<artifactId>tinystruct-tomcat-server</artifactId>
9-
<version>1.0.5</version>
9+
<version>1.0.6</version>
1010
<description>A tinystruct-based module to enable tomcat server support.</description>
1111
<url>https://tinystruct.org</url>
1212
<licenses>
@@ -31,9 +31,9 @@
3131
<maven.compiler.source>17</maven.compiler.source>
3232
<maven.compiler.target>17</maven.compiler.target>
3333
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34-
<tomcat.embed.version>11.0.13</tomcat.embed.version>
35-
<tinystruct.version>1.7.12</tinystruct.version>
36-
<jupiter.version>6.0.1</jupiter.version>
34+
<tomcat.embed.version>11.0.15</tomcat.embed.version>
35+
<tinystruct.version>1.7.17</tinystruct.version>
36+
<jupiter.version>6.0.2</jupiter.version>
3737
</properties>
3838
<dependencies>
3939
<dependency>
@@ -152,6 +152,7 @@
152152
<goal>sign</goal>
153153
</goals>
154154
<configuration>
155+
<skip>true</skip>
155156
<gpgArguments>
156157
<arg>--pinentry-mode</arg>
157158
<arg>loopback</arg>

0 commit comments

Comments
 (0)