Mongoose Changelog

What's new in Mongoose 6.7

Mar 6, 2017
  • New platforms supported:
  • Windows CE 6.0;
  • TI Tiva TM4C129;
  • PIC32 Harmony TCP/IP: In addition to "bare metal", Mongoose is now able to use PIC32 Harmony TCP/IP Stack. Checkout example here;
  • nRF 51/52: Find example for nRF 51 here and for nRF52 here;
  • mbed: Mongoose is now can be a part of a project based on mbed. Checkout example here;
  • ESP32: Mongoose 6.7 can be compiled for ESP32 platform.
  • Other new features:
  • NXP Kinetis K64 support improved;
  • mbedTLS native support: In addition to OpenSSL, Mongoose 6.7 can use mbedTLS;
  • SNTP client added: Mongoose 6.7 for working with Internet time servers.

New in Mongoose 6.5 (Jul 13, 2016)

  • CGI: REMOTE_ADDR and SERVER_PORT variables are now passed to the scripts
  • Fixed a memory leak in mg_connect_ws_opt
  • Fixed issues with HTTP keep-alive connections
  • Other minor fixes
  • Improved TI CC3200 support:
  • Newly-rewritten SimpleLink socket handler
  • Added support for SSL
  • NWP restart hook: sl_restart_cb should be invoked by the user to re-init listeners after NWP restart
  • Dedicated JSON Library:
  • Support for JSON serialisation/deserialisation has been moved back to a dedicated library (Frozen). It has seen major improvements - printf/scanf like API has been implemented, making parsing and emitting JSON easy and convenient. Users that need JSON functionality are encouraged to check out Frozen.
  • JSON-RPC support is no longer available as part of Mongoose

New in Mongoose 5.2 (Mar 6, 2014)

  • Windows binary made fully UNICODE aware. In previous versions, the presence of non-ASCII chars in document root, CGI script name, or directory name might have broken Mongoose as stand-alone
  • or as Windows service. Now Mongoose works with non-ASCII paths properly. Internally, Mongoose uses UTF8 encoding. When making WinAPI calls, mongoose converts UTF8 strings to wide chars and calls UNICODE API.
  • Enhanced authorization API by providing mg_set_auth_handler() and mg_authorize_digest()
  • Removed mg_add_uri_handler(), added mg_set_request_handler(). There is only one URI handler that handles all requests, just like in 4.x. The reason for this change is to provide an ability to catch all URIs, and at the same time signal Mongoose to continue handling specific URIs.
  • Added mg_parse_multipart() API for file uploads. Note that the restriction on uploading huge files still exists, and will be eliminated in the next release.
  • Allowing mongoose to bind to port 0, in which case it'll bind to any random unused port.
  • Moved idle_timeout_ms to compile-time option
  • Added asynchronous HTTP client, not documented yet. Documentation and examples are coming in the next couple of weeks. Async Websocket client is scheduled for the next release. See usage examples at unit_test.c
  • Windows and MacOS pre-built binaries are now split to free and paid ones, paid binaries include CGI, SSL, Lua, Sqlite, support and updates. Linux pre-built binary includes all functionality and is free, and will continue to be free. Source code for Windows and MacOS GUI is closed. Disclaimer: source code for the command line stand-alone server, as well as Mongoose library itself, will never be closed.
  • Multiple bug fixes and minor enhancements

New in Mongoose 5.1 (Jan 11, 2014)

  • CGI-related bugs where fixed, primarily for Windows platform
  • Bugs on Windows related to UNICODE support were fixed
  • Added a feature to support "error pages" through redirect. Done using -url_redirects option, details are on http://cesanta.com/#docs,Options.md for url_redirects