Skip to content

Releases: marle3003/mokapi

v0.28.0

Choose a tag to compare

@marle3003 marle3003 released this 22 Oct 20:52
1a8fc54

🚀 Changes

  • Improved dashboard data updates for smoother UI experience.
  • Enhanced display of HTTP request parameters in the dashboard for better readability.

🐞 Bugfixes

  • Fixed IMAP SELECT and EXAMINE response handling.
  • Added read-only flag support for IMAP commands.
  • Corrected IMAP LOGIN command handling: previously, AuthenticatedState was not properly set in handleLogin.
  • Fixed IMAP CAPABILITY handling in authenticated state.
  • Prevented HTTP header parameters from being added to the event log twice.
  • Fixed concurrent map access in the shared store to prevent race conditions.

v0.27.2

Choose a tag to compare

@marle3003 marle3003 released this 19 Oct 19:30
f2fb2cb

🐞 Bugfixes

  • Faker module mapping: Fixed the mapping between Go and JavaScript structs in the mokapi/faker module when extending the data generator, ensuring consistent field access and type handling.

  • OpenAPI null reference: Resolved a null reference error that occurred when an OpenAPI operation had no responses defined.

  • Web UI parameters: Fixed incorrect handling of OpenAPI parameters in the Web UI, improving request rendering and parameter visualization.

v0.27.1

Choose a tag to compare

@marle3003 marle3003 released this 13 Oct 21:33
768f671

🐞 Bugfixes

  • fix data generator for (string) format: time

v0.27.0

Choose a tag to compare

@marle3003 marle3003 released this 11 Oct 17:02
07ce20a

🚀 Mokapi Release Notes

OpenAPI

  • Added support for OpenAPI 3.2, including:
    • QUERY and custom HTTP methods
    • Querystring parameters
  • Improved OpenAPI path table view in the dashboard
  • Fixed issue removing trailing slashes in server URLs
  • Added OpenAPI tags and filtering in the Web UI

Data Generator & JavaScript faker module

  • Added support for:
    • contains, minContains, and maxContains
    • additionalProperties
    • dependentRequired and dependentSchemas
    • patternProperties with predictable results
    • XML-based JSON Schema definitions
    • Credit card number generation
    • Introduced new CLI parameter: --data-gen-optionalProperties
    • Added consideration of schema $id and JSON pointer paths for more accurate data generation

JavaScript & Event Handling

  • Improved JavaScript event handler tracking when called console.log
  • Added JavaScript shared memory feature for storing and updating values across scripts

Improvements

  • Improved handling when schema type is missing
  • Enhanced generation for:
    • Arrays with prefixItems
    • Objects when required fields are missing in properties
    • Numeric types with default min/max values
    • Complex compositions (anyOf, allOf, oneOf) with objects
  • Adjusted probability for skipping optional properties from 0.7 → 0.85, now configurable via OptionalPropertiesProbability
  • Improved results when using schema IDs and $id references

Fixes

  • Object generation missing required fields
  • Pattern property parsing
  • JSON Schema parser for anyOf, allOf, oneOf, and objects with patternProperties
  • JSON pointer encoded characters (/ and ~)
  • Name generation consistency

Configuration & CLI

  • Fixed config watcher to correctly handle explicit reads while implicit parsing continues
  • Added --data-gen-optionalProperties CLI flag for better control of data generation behavior

Kafka

  • Changed Kafka segment creation to lazy initialization for improved performance

v0.25.4

Choose a tag to compare

@marle3003 marle3003 released this 16 Sep 21:00
9735c88

🚀 Changes

  • Improved config loading process

v0.25.3

Choose a tag to compare

@marle3003 marle3003 released this 15 Sep 20:06
2a0ebe6

🚀 Changes

  • Added support for light mode in the dashboard.

🐞 Bugfixes

  • Resolved a race condition where config listeners could run before the config was fully parsed.
  • Resolved a missing JSON support issue for Kafka bindings.
  • Fixed handling of confluent.key.schema.validation in Kafka settings.
  • Fixed page buffer handling in the Kafka protocol.

v0.25.2

Choose a tag to compare

@marle3003 marle3003 released this 27 Aug 07:03
2f68197

🚀 Changes

  • Improved log messages for HTTP/HTTPS servers, making it easier to diagnose configuration and connection issues.

🐞 Bugfixes

  • Resolved an issue with path parameters when routes had a trailing slash.
  • Fixed file reference handling so listeners are now triggered when reading a file from a reference before the main file.
  • Fixed a deadlock race condition in the ConfigWatcher.
  • Fixed logs and dashboard display when an HTTP request does not match any API.

v0.25.1

Choose a tag to compare

@marle3003 marle3003 released this 25 Aug 11:39
44dcad0

🚀 Changes

  • Improved error message when the request's content type does not match any of the specified content types

🐞 Bugfixes

  • Fixed HTTP parameter resolution when the API uses a server URL with a base path

v0.25.0

Choose a tag to compare

@marle3003 marle3003 released this 24 Aug 19:00
78572f9

🚀 Changes

  • Improved HTTP routing to better resolve ambiguous paths
  • Enhanced error handling in HTTP routing for clearer diagnostics

🐞 Bugfixes

  • Fixed JSON parser to correctly handle boolean values

v0.24.1

Choose a tag to compare

@marle3003 marle3003 released this 17 Aug 19:49
da60cd9

🐞 Bugfixes

Fixed Kafka REST API naming and header