Releases: namigop/BeeRock
BeeRock v1.5 Release
Note:
- The uploaded builds in this release are not signed. Your OS will likely not be happy with it. Please see Install Instructions.
- The uploaded *.zip files are "self-contained" builds and you do not need to install .NET 7.
New in BeeRock v1.5
- Added support for creating mock services without using a swagger doc. Please see How to create mock APIs without swagger
- Added support for querying the request body with JPath (or xpath for XML requests)
Ex.myvar = context.Request.Get(Jpath_or_Xpath_here)
Fixes
- Fixed a defect on the matching of route templates
- Fix to builtin RMQclient. More parameters supported
- Fix to loading of dynamic services (w/o swagger) that has the same name as compiled services (w/ swagger)
BeeRock v1.4 Release
Note:
- The uploaded builds in this release are not signed. Your OS will likely not be happy with it. Please see Install Instructions.
- The uploaded *.zip files are "self-contained" builds and you do not need to install .NET 7.
New in BeeRock v1.4
-
Added support for creating mock services without using a swagger doc
-
Removed API
bee.Context.Response.SetContentType(..)
. Please usebee.Headers.Response.Add("Content-Type", "mycontent/type")
instead -
Removed TextmateSharp for better performance. Switched to custom syntax highlighting
-
Added API,
queryString
to allow access of query string variables within the python scripts
Example usage:queryString.Get("param")
-
Added 3 more parameters to API
bee.RmqClient
,durable
,exclusive
andautodelete
Example usage :Note: there will be an additional fix in the upcoming v1.4.1 for the API below. Please do not use for now
1.<<bee.Rmq.Publish("hostName", "queue", "exchange", "routingKey", "message")>>
//uses default values for the 3 params
2.<<bee.Rmq.Publish("hostName", "queue", "exchange", "routingKey", "message", durable=True, exclusive=False, autodelete=False)>>
Fixes
- Fixed defect on the continuous saving of new rules for newly added services.
- Fixed memory leaks
BeeRock v1.3.1 Release
Note:
- The uploaded builds in this release are not signed. Your OS will likely not be happy with it. Please see Install Instructions.
- The uploaded *.zip files are "self-contained" builds and you do not need to install .NET 7.
New in BeeRock v1.3
-
Added a built-in reverse proxy
-
Fixed a memory leak when that happens when switching between tabs
-
Workaround Fix :
ListenToAnyIP()
not called in Linux. As such, any mocked service and the built-in reverse proxy is only reachable via localhost
BeeRock v1.2 Release
Note:
- The uploaded builds in this release are not signed. Your OS will likely not be happy with it. Please see Install Instructions.
- The uploaded *.zip files are "self-contained" builds and you do not need to install .NET 7. Convenient, but makes the build bigger.
New in BeeRock v1.2
-
(experimental) Added support for proxying http requests
- call
<<bee.Proxy.ForwardToServer("https://mytargetserver")>>
to forward the request another server - call
<<bee.Proxy.ForwardToUrl("https://mytargetserver")>>
to forward the request, fully specifying the target url
Note: HTTP request and response headers are copied from when requests are proxied
- call
-
Added support for logging from python scripts
- call
<<bee.Log.Info("message")>>
to log an info message - call
<<bee.Log.Error("message")>>
to log an error message - call
<<bee.Log.Warn("message")>>
to log a warning message - call
<<bee.Log.NewLine()>>
to log an empty new line
- call
-
Added support for bypassing swagger schema validations on responses
- call
<<bee.Context.Response.SetAsPassThrough()>>
to indicate that the response should not be validated against the swagger schema - call
<<bee.Context.Response.SetContentType("contentType")>>
to manually specify the content type of the response - call
<<bee.Context.Response.SetStatusCode(int:statusCode)>>
to manually specify the status code type of the response
For example:
- call
-
Added support to manually control the http request and response headers
- Get a header
Ex.<<headers.Request.Get("key")>>
Ex.<<headers.Response.Get("key")>>
- Add or overwrite a header
Ex.<<headers.Request.Add("key", "value")>>
Ex.<<headers.Response.Add("key", "value")>>
- Remove a header
Ex. <<headers.Request.Remove("key")>>
Ex.<<headers.Response.Remove("key")>>
- Get a header
-
Improved logging to included proxied http responses
-
UI fixes
BeeRock v1.1 Release
Note:
- The uploaded builds in this release are not signed. Your OS will likely not be happy with it. Please see Install Instructions.
- The uploaded *.zip files are "self-contained" builds and you do not need to install .NET 7. Convenient, but makes the build bigger.
New in BeeRock v1.1
-
Added support for multiple rules. The first rule that returns true gets executed
-
Helper "bee" variable added to the python scripting support.
-
Added default imports to for simpler python one-liners.
import clr
import time
import statistics
import datetime
import os
import re
import math
import random
import json
import copy
import System
BeeRock v1.0 Release
Features
-
Generate a mock rest service based on json swagger doc. Add the swagger doc as a file or a URL
-
Responses of the mock service are editable in a UI
-
Supports comments in the UI response editor. Comments must start with "double slash" // and must be in its own line
-
Specify a port where the mock service will run
-
Manually stop or start a mock service
-
Responses can be "hardcoded" or dynamically generated with Python (IronPython) macros
anything between "double angle brackets" << >> is executed as a python script
-
Python scripting can use variables from query parameters, route parameters, http headers
-
Supports configurable delays in the response. Useful for simulating slow networks
-
Supports mocking of routes that returns a file
-
Support dynamic filtering/matching of requests using Python macros that returns true/false. Requests that are not matched will get a HTTP 503 response
-
Multiple tabs for running mock services in parallel
-
Responses for multiple routes can be worked on in parallel
-
All changes are auto-saved (every 15 sec) so you don't lose your work
-
Production-grade server. No compromise on performance
-
Saves the service information into a DB for quick access
-
Management screen for deleting saved mock services
-
Routes marked as obsolete are greyed-out
-
Beautiful dark-theme UI
Note:
- The uploaded builds in this release are not signed. Your OS will likely not be happy with it. Please see Install Instructions.
- Also, I do not have a linux machine so I have not tested the linux build. If someone could try it out, that'd be great!
- The uploaded *.zip files are "self-contained" builds and you do not need to install .NET 7. Convenient, but makes the build bigger.
BeeRock v0.1.0-alpha
Initial Release
Windows Installation
- To install, extract the zip file to anywhere to any folder.
- Run BeeRock.exe. See Quickstart guide on how to mock a service
**MacOS installation (TO FOLLOW)