Releases: marle3003/mokapi
Releases · marle3003/mokapi
Release list
v0.28.0
🚀 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
🐞 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
v0.27.0
🚀 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
v0.25.3
🚀 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
🚀 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.