Skip to content

Latest commit

 

History

History
178 lines (140 loc) · 5.92 KB

File metadata and controls

178 lines (140 loc) · 5.92 KB

2.50.6

  • Updated dependencies

2.50.5

  • Bumped version to one that does not conflict with testcontainers (and will likely not do so in the foreseeable future) #403
  • Updated dependencies

2.0.4

  • Updated dependencies

2.0.3

  • Updated dependencies
    • testcontainers is currently using an outdated versions of jackson-annotations which may override the version required by jackson-databind, you may be required to manually update this in your project.

2.0.2

  • Updated dependencies

2.0.1

  • Re-Release of 2.0.0 due to GitHub being down

2.0.0

  • Updated Jackson Databind to v3

1.3.1

  • Updated dependencies

1.3.0

  • Update Testcontainers to v2
  • Updated dependencies

1.2.0

  • Updated docker image to use Java 25
    • Use Ahead-of-Time (AoT) Class Loading & Linking
      • This should result in a faster start
    • Use Compact Object Headers (COH)
      • This should result in less memory usage
  • Removed ToJavaSerializer because the code is in an unmaintainable state
  • Removed a lot of unused code int the server module
  • Minor optimizations
  • Updated dependencies

1.1.3

  • Fixed deprecations
  • Updated dependencies

1.1.2

  • Updated dependencies

1.1.1

  • Add BOM #211
  • Now also publishing maven to GitHub packages
  • Updated dependencies

1.1.0

broken release

1.0.19

  • Removed unused resources from core
  • Updated dependencies

1.0.18

  • Updated dependencies
  • Fix subString matching not working as expected #231

1.0.17

  • Migrated deployment to Sonatype Maven Central Portal #155
  • Updated dependencies

1.0.16

  • Fix NPE in MockServerClientEventBus #214 @rongzhou-tomo

1.0.15

  • Updated dependencies

1.0.14

  • Remove not needed alpine packages from (Docker) image
    • This get's rid of CVE-2024-8176
    • Overall image is now ~15MB smaller
  • Use CDS to speed up boot

1.0.13

  • Rebuild to get rid of CVE-2024-8176

1.0.12

  • Updated dependencies

1.0.11

  • Rebuild to get rid of CVE-2024-12797

1.0.10

  • Updated dependencies

1.0.9

  • Updated dependencies

1.0.8

  • Updated dependencies

1.0.7

  • Updated dependencies

1.0.6

  • Use zstd as compression for images #94

1.0.5

  • Updated dependencies

1.0.4

  • Automatic version detection: If multiple versions are found it now uses the "highest" version

1.0.3

  • Updated dependencies

1.0.2

  • Various minor code optimizations
  • [Testcontainers] Added flag MOCKSERVER_VERSION_SNAPSHOT_ALLOWED to allow usage of Snapshot Container images
  • Updated dependencies

1.0.1

  • Fix proxyRemoteHost being ignored
  • Improved some log messages

1.0.0

Initial release

MockServer

Minimalistic fork of mock-server/mockserver, designed for maintainability and working with Testcontainers

  • Copied over original code of the following modules with minimalistic dependencies:
    • client-java → client
    • core → core
    • netty → server
  • Brought code into a maintainable state
    • Removed about 75% of the original code
    • Removed everything that is not core functionality:
      • Metrics
      • MemoryTracing
      • Templating-Engines
      • all body matching that requires an external lib (XPATH, JSON, XML, OpenAPI, ...)
      • Versioncheck
      • Persistence of expectations to disk
      • Dashboard (contained self-built webfrontend)
      • parts of logging
      • TLS/SSL MitM (did never work with TLS 1.3+ and HTTP2+ anyway)
      • JWT + mDNS auth
  • Split configuration into corresponding modules
  • Split Logs and Events (e.g. request received) into independent subsystems
    • Client no longer messes up logging by reconfiguring JUL dynamically
  • Improved performance on various places
    • Removed reflective equals & hashCode
  • Slimed down dependencies
    • Standalone Server Jar is now 6x smaller (42MB → 6MB)
    • Reduced client dependencies by 60% (~42 → 17)
  • Updated dependencies (fixes various CVEs)
  • [Docker] Use eclipse-temurin instead of distroless
    • The overall image is now roughly 2x smaller
  • Compiles now with Java 17+
  • No longer catches critical Errors such as OutOfMemoryError or NoClassDefFoundError

Migration guide

  • Change all occurrences of org.mockserver to software.xdev.mockserver

Fixes the following issues from the original project

  • Removed useless/Minimize dependencies of mockserver-client-java #1494
  • ARM image doesn't include ARM binaries #1568
  • Add any Shell to Docker Container #1593
  • io.netty 4.1.89.Final is using unsupported JDK internal APIs #1812
  • MockServerClient.verify(RequestDefinition requestDefinition, VerificationTimes times) not works correctly after update to 5.14.0 #1524 (Ported fix from @szada92)
  • ... and probably many more

Testcontainers

Created a fork of testcontainers/mockserver that

  • fixes the problem that the docker/containerimage is not usable as
  • If no version/tag is specified it tries to automatically detect the used Mockserver version from the classpath.
    This way it should be easier to tackle incompatibilities between client and server.

0.x.x

Preview releases