Skip to content

Releases: marle3003/mokapi

v0.42.0

Choose a tag to compare

@marle3003 marle3003 released this 20 May 21:11
c893ca7

This release improves the search experience across HTTP, Kafka, and MCP integrations, while also enhancing validation feedback and fixing message production edge cases.

🔍 Search Improvements

Richer Search Results

  • Added descriptions to HTTP search result items for better context and discoverability
  • Added descriptions to Kafka search result items
  • Added descriptions to MCP search result items

These improvements make it easier to understand and identify matching APIs, operations, and messaging resources directly from search results.

🧩 MCP Improvements

Fixed producing messages when an operation does not define a message explicitly

✅Validation Improvements

Improved validation error messages for clearer and more actionable feedback

v0.41.1

Choose a tag to compare

@marle3003 marle3003 released this 13 May 20:31
cf4a5f2

Bug Fixes

Search in Dashboard

  • fix displaying HTTP search results

v0.41.0

Choose a tag to compare

@marle3003 marle3003 released this 12 May 21:15
4ddc9ad

This release brings major improvements to search capabilities, dashboard usability, performance, and introduces initial MQTT support.

🔍 Search Improvements

Enhanced Search Experience

  • Improved the overall search feature and result display in the dashboard
  • Added search support for MCP
  • Improved event search behavior
  • Simplified searchable fields for more intuitive results

Performance

  • Improved search index build performance for faster indexing and better responsiveness

🌐 OpenAPI Improvements

Better Error Handling

  • Added status and error reporting while loading OpenAPI specifications instead of aborting the entire loading process
  • OpenAPI API status and errors are now visible directly in the Web UI

API Fixes

  • Fixed an issue where HTTP operation methods were not set correctly
  • Fixed Swagger to OpenAPI conversion edge cases from previous releases

📨 Mail / IMAP

  • Fixed parsing of optional dates in the IMAP APPEND command
    • Previously, parsing failed when a date value was provided

🎨 Web UI Improvements

Usability

  • Fixed table layout issues when long URLs were displayed
  • Improved ordering of Kafka message columns
  • Fixed Kafka client views

Kafka

  • Kafka message keys encoded as Base64 are now correctly converted and displayed using UTF-8

Performance

  • Improved Mokapi API data loading performance
  • Reduced API payload size to improve dashboard responsiveness

⚡ Performance Improvements

  • Improved configuration loading performance
  • Improved Web UI API performance by reducing transferred payload sizes

🛰 MQTT Support

  • Added initial MQTT support

v0.40.0

Choose a tag to compare

@marle3003 marle3003 released this 21 Apr 19:02
021cf11

✨ Improvements

Dashboard Enhancements

The Web UI dashboard has been improved to provide a clearer and more intuitive experience:

  • Summaries now take precedence over descriptions in the HTTP service view for better readability.
  • Improved Markdown rendering in HTTP tables.
  • Enhanced display of header controls in the source view component.
  • Reduced bundle size for better performance.

JavaScript HTTP Requests

JavaScript HTTP request methods now support an insecure option:

  • Allows requests to skip TLS verification when needed.
  • Useful for testing environments with self-signed certificates.

LDAP Enhancements

LDAP support has been extended and improved:

  • Added support for Active Directory extended DN requests (<GUID=...>).
  • Matching strategies are now inferred automatically if no EQUALITY rule is defined in the schema.
  • Improved schema flexibility:
    • Parentheses are no longer mandatory for MUST and MAY.
    • Multiline comments in LDIF files are now supported.

MCP Server

Mokapi is now available in the Context7 MCP server.

🐛 Fixes

Web UI

  • Fixed incorrect browser navigation history behavior when going back.
  • Fixed an issue where the example & validation dialog did not display the editor correctly.

Configuration & HTTP Handling

  • Improved handling of configuration files without file extensions.
  • Correctly uses the HTTP response Content-Type when no file extension is present.

JSON & Data Processing

  • Fixed resolving JSON references after patching that could cause a nil pointer panic.
  • Fixed date generation edge cases around New Year's Eve.
  • Prevented YAML parser from incorrectly parsing LDIF files.

AsyncAPI / OpenAPI

  • Fixed conversion from AsyncAPI 2.0 to 3.0.
  • Improved conversion of Swagger/OpenAPI responses and parameters.

JavaScript Runtime

  • Fixed a concurrent map access issue in shared values.

LDAP

  • Fixed handling of ScopeWholeSubtree in search operations.

🧹 Chores

  • General improvements to Web UI bundle size and performance.

v0.39.0

Choose a tag to compare

@marle3003 marle3003 released this 21 Mar 13:58
e8e1b5d

🐛 Bug Fixes & Improvements

Schema Handling

  • Improved resolving of JSON references for more reliable schema processing
  • Fixed issues when parsing recursive schemas to prevent errors and ensure stability

Patching

  • Enhanced patching behavior for referenced objects, improving consistency when modifying configurations

Configuration

  • Fixed conversion from Swagger to OpenAPI when no basePath is specified
  • Added support for reading configuration files without a file extension (e.g. URLs)

v0.38.0

Choose a tag to compare

@marle3003 marle3003 released this 11 Mar 06:35
0ebf81c

✨ Improvements

HTTP

  • Added support for HTTP/2

🐛 Fixes

CLI

  • Fixed an issue where the PROVIDERS_NPM_GLOBAL_FOLDER environment variable was not handled correctly.

OpenAPI

  • Fixed an issue where dynamic scopes could leak between schemas (e.g., across different endpoints), causing incorrect resolution of $dynamicRef.

JSON Schema

  • Improved $ref and $dynamicRef resolution to correctly handle recursive references and dynamic scope evaluation.

v0.37.1

Choose a tag to compare

@marle3003 marle3003 released this 02 Mar 07:47
b523048

🐛 Fixes

NPM Package

  • Fixed path to executable file in Windows packages

v0.37.0

Choose a tag to compare

@marle3003 marle3003 released this 01 Mar 20:51
83f3287

✨ Improvements

NPM Package

  • The go-mokapi npm package now uses platform-specific binary packages instead of shipping all binaries in a single package.
  • Platform binaries are installed automatically via optionalDependencies, so only the binary matching your OS and CPU is downloaded.
  • Supported platforms include:
    • macOS: darwin-x64, darwin-arm64
    • Linux: linux-x64, linux-arm64
    • Windows: win32-x64, win32-arm64

v0.36.0

Choose a tag to compare

@marle3003 marle3003 released this 01 Mar 07:49
575d535

✨ Improvements

Health Check Endpoint

Mokapi now exposes a health check endpoint that can be used for uptime monitoring and orchestration systems such as Kubernetes.

  • Default endpoint: GET /health
  • Default port: 8080

⚠️ If you are using port 8080 for mocked APIs or custom routing, review the health check configuration to avoid port or path conflicts.

🐛 Fixes

Search Index Storage

  • Mokapi now uses the operating system’s temporary directory for the search index when no indexPath is configured.
  • This prevents failures on systems where a writable index directory was not explicitly set.

Git Repository Pull

  • Fixed an issue where pulling repositories failed due to shallow cloning (depth=1).
  • Mokapi now correctly pulls repositories regardless of depth configuration.

v0.35.0

Choose a tag to compare

@marle3003 marle3003 released this 25 Feb 21:13
202b203

✨ Improvements

JavaScript API

  • Added support for providing a function to dynamically decide whether a handler should be tracked.
  • HTTP request parameters now fall back to their default values when not explicitly provided.

Web UI

  • Enhanced the display of HTTP event request parameters for better readability and inspection.

Search

  • Optimized startup and initialization of the search index.
  • New configuration options
    • indexPath: Store the search index on the file system.
    • inMemory: Control whether the search index is kept entirely in memory.

🐛 Fixes

JavaScript API

  • Fixed an issue where Object.assign could not be used reliably inside HTTP event handlers.

Swagger / OpenAPI

  • Added support for missing parameter attributes during conversion:
    • default
    • maxLength
    • minLength
    • enum
    • multipleOf