mockoon

Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.

OTHER License

Downloads
361.7K
Stars
6.2K
Committers
62

Bot releases are hidden (Show)

mockoon - v1.4.0 is coming. ❄️

Published by 255kb over 5 years ago

Mockoon has moved on a GitHub organization and a new member joined the team. Welcome to @axc450 !

Improvements:

  • Add warning next to the path input to prevent accidental declaration with query params #88
  • Allow environment headers to override automatic OPTIONS CORS headers #85
  • Add JSON pretty print in body #103 (Thanks @vankeer)
  • Support Hide / Hide Others / Settings standard shortcuts on macOS #93 (Thanks @axc450)
  • Add support for current date time in templating helpers (with now helper) #96
  • Add support for x-www-form-urlencoded params in body templating helper #116
  • Improve JSON export formatting #123 (Thanks @axc450)

Bugfixes:

  • Fixed bug where an error would appear if a user cancels a file select during export #107 (Thanks @axc450)

Misc:

  • Application was completely rewritten to use custom Redux-like state management. With this, Mockoon is more stable and app behavior is more predictable #95

Development:

  • Use local test data in ./tmp folder instead of default user folder #109
  • Add more functional tests
mockoon - Environment headers, file input templating, and more! 😸

Published by 255kb almost 6 years ago

Features:

  • Add new environment's headers that are applied to all routes #56
  • Add route documentation field #63
  • Some files with specific mime types will get their content parsed for templating #80 ( See templating tutorial )

Improvements:

  • File input field is now editable and supports templating #52 ( See templating tutorial )
  • Add search box in body editor #79
  • Automatically select the first item in autocomplete list and correct some display and usability bugs
  • New environments will be created with global JSON Content-Type but no Content-Type for routes
  • Make routes with spaces work when request in encoded #73
  • Added option to add CORS headers to new environment headers #56
  • Some minor improvements to the interface mainly for readability
  • Allow relative path for files thanks to editable file input #84

Bugfixes:

  • Correct crash when declaring routes with invalid regex syntax
  • Remove links in changelog modal which were loaded inside Electron's main window
  • Solve Linux AppImage icon not showing #72

Misc:

  • Start adding functional tests with Spectron for more stability
  • Add more tutorials on the official website: templating and headers
mockoon - v1.2.0 - Bug fixes, Homebrew, new website 🤓

Published by 255kb almost 6 years ago

Improvements:

  • Update all dependencies (Electron 3 shipping with Chrome 66 and Node.js 10, Angular 6)
  • Allow parsing of entering request's body event if Content-Type has not been set to JSON #64 & #65 Thanks @alonbhaim
  • Enable templating in header values #51 and on any body types (text, HTML, JSON, etc)
  • Display version changelog in a modal when clicking on version number

Bugfixes:

  • Routes reordering wasn't saved if no other update occured on an environment
  • Routes weren't assigned an UUID upon creation which resulted in reordering errors
  • Correct bug where body helpers were outputting[object object] when no default value were provided #66
  • Display a proper error message and alert when using a templating helper that does not exists instead of failing silently

Misc:

mockoon - v1.1.0 - Bug fixes & improvements!

Published by 255kb about 6 years ago

Improvements:

  • Allow text selection in request logs #54
  • Make UI a little bit lighter to improve readability #46

Bugfixes:

  • Correct body helper parsing error when request body was not JSON #59
  • Correct body not being sent in proxy mode #60
  • Correct typos #57 Thanks @mivanov
  • Correct bug when trying to pass an invalid Content-Type
  • Correct broken analytics tracking since release v1.0.0
mockoon - v1.0.0 🎉

Published by 255kb about 6 years ago

Mockoon is now out of beta in a big release with some long awaited features. I hope you will enjoy it 😄

Changelog:

Features:

  • Import/Export: All environments can now be imported and exported in a file and each environment and route can be "exported" to clipboard and imported from clipboard (#7) Wiki Page
  • Requests log: All entering requests are now logged in each environment (#15) Wiki Page

Improvements:

  • Support for OPTIONS requests has been added together with a new environment setting to toggle automatic CORS handling (#40) Wiki Page
  • Content-Type handling has been completely rewritten and is now managed by the Headers tab which allows full control (#34) Wiki Page
  • Environments and routes can now be reordered with a simple drag and drop (#41)
  • Some new helpers were added to the JSON templating (oneOf #36, someOf #36, switch #35 and body #47) Wiki Page
  • queryParam and header templating helpers can now have a default value (#44 thanks @nrdobie)
  • Multiple consecutive slashes are now rewritten to single slash (no redirection occurs) (#45)

Bugfixes:

  • Corrected jumping cursor bug for some fields (route path) (#39)

New pages in the wiki:

mockoon - v0.4.0-beta #OpenSource

Published by 255kb about 6 years ago

Mockoon is now open source! 🎉You can contribute to the development of your favorite tool.

Also I started writing a little wiki to cover Mockoon's most complex / obscure features 😄. Do not hesitate to contribute or ask for specific topics to be covered.

Changelog:

Features:

  • JSON body has a new templating system (#3).
  • which can also react to request parameters with specific helpers (#4)

Check here for documentation of both features.

Improvements:

  • Body length now extends to full height #30
  • JSON parsing errors are not better reported

Bugfixes:

  • Error handling when serving deleted files has been corrected
mockoon - v0.3.0-beta

Published by 255kb about 6 years ago

Changelog:

Features:

  • Proxy mode (#17): if activated all non defined routes are redirected to the specified URL
  • HTTPS support (#10): Mockoon now support HTTPS with a self signed certificate
  • Added an environment settings tab to set up proxy and HTTPS modes
  • Added a welcome screen with analytics opt out (#14 #18)
  • Added an application settings screen (currently only with analytics opt out)

Improvements:

  • Mockoon have now better and more visible tooltips (#13)

Bugfixes:

  • Deleting / adding routes now triggers the "environment needs refresh warning" (#19)
  • File download improvement, should correct corrupted files bug (#22)
mockoon - v0.2.0-beta

Published by 255kb about 6 years ago

Changelog:

  • move route deletion buttons in context menus #11
  • add duplicate environment/route feature #1
  • add keyboard shortcuts #5
  • Add custom headers autocomplete #2
  • Correct navigation bug when removing environments/routes
  • automatically scroll when adding custom headers at bottom
mockoon - v0.1.1-beta

Published by 255kb about 6 years ago

Changelog:

  • UI small improvements
  • rework environments menu to make route prefix more obvious
  • prevent page scrolling when using mouse wheel in number inputs
  • enable copy paste on MacOS
  • auto scroll envs and routes menu to bottom when adding items
mockoon - v0.1.0-beta

Published by 255kb about 6 years ago

First beta release, with following features:

  • Mock an unlimited number of environments with unlimited number of routes
  • Run multiple mock servers in parallel
  • Route regex supported (/.*, /[a-z]{3}, ...)
  • Support all HTTP codes and methods
  • Built-in support for OPTIONS pre-flight requests
  • Add unlimited custom headers
  • Environment / route level latency simulation
  • Multiple body types
  • Support file download with automatic mime type detection
  • Rich text editor for body content
  • Real-time auto save
Package Rankings
Top 2.1% on Npmjs.org
Top 6.68% on Proxy.golang.org