Skip to content

Commit 975e34e

Browse files
committed
feat(netty,build): add CORS support, bump versions to tinystruct 1.7.17
Add full CORS handling to Netty HttpRequestHandler Support Origin echo or configured allowlist Support credentials Handle OPTIONS preflight with configurable methods, headers, and max-age Bump versions: tinystruct: 1.7.10 / 1.7.12 → 1.7.17 netty module: 1.0.4 → 1.0.5 netty: 4.2.7.Final → 4.2.9.Final jupiter: 6.0.1 → 6.0.2 Update dispatcher scripts to 1.7.17
1 parent 4ee736f commit 975e34e

3 files changed

Lines changed: 6 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.10"
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.10"
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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<name>netty http server module</name>
77
<groupId>org.tinystruct</groupId>
88
<artifactId>tinystruct-netty-http-server</artifactId>
9-
<version>1.0.4</version>
9+
<version>1.0.5</version>
1010
<description>A tinystruct-based module to enable netty http 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-
<netty.version>4.2.7.Final</netty.version>
35-
<tinystruct.version>1.7.12</tinystruct.version>
36-
<jupiter.version>6.0.1</jupiter.version>
34+
<netty.version>4.2.9.Final</netty.version>
35+
<tinystruct.version>1.7.17</tinystruct.version>
36+
<jupiter.version>6.0.2</jupiter.version>
3737
</properties>
3838

3939
<dependencies>

0 commit comments

Comments
 (0)