Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
amitguptagwl committed Feb 23, 2017
1 parent 834fbb1 commit 1a3ecd7
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions README.md
Expand Up @@ -83,10 +83,24 @@ To make the response dynamic, stubmatic comes with various features
* `{{TODAY+1}}` is dpreicated. Use `{{TODAY+1d}}` instead
* `{{JODA_TODAY+1}}` is dpreicated. Use `{{JODA_TODAY+1d}}` instead
* 'err' property for dbset mapping is invalid. If a key doesn't match it'll look for default key ('*') otherwise it'll skip matching.
* Use of `##dbset_key##` is depricated. Use `{{#dbset_key}}` instead
* `##dbset_key##` can be used as `{{#dbset_key}}`
* dumps `[[dumpspath:file1,file2]]` can be used as `{{dump("dumpspath","file1","file2")}}`.
* options `-m`, and `-s` or `--stub` have been removed from stubmatic command
* options `-m`, and `-s` or `--stub` have been removed from stubmatic command as there is not much use of them. And many options always confuse.
* Check syntax for short notations
* 'post' property of request mapping is deprecated. Use 'bodyText' or 'body' attributes.
* In config.json, `mappings.requests` is changed to `mappings.files`
* 'response.contentType' in mappings is invalid. Use 'response.sendasfile: true' instead.
* In config.json, `mappings.requests` is changed to `mappings.files`. It seems more meaningful.
* 'response.contentType' in mappings is invalid. Use 'response.sendasfile: true' instead. It seems more meaningful.

#### Features in 5.0.0
* **Robust**: 97%+ code coverage. Many bugs are fixed. Code quality and structure is improved.
* Now you can map **multiple HTTP methods** to a single method (not in short notations)
* **Short notations**
* Now you can **proxy** selected requests to other servers/simulators. This feature open many possibilities.
* You can **validate** yaml, json from CLI for quick feedback. I'll add the support to validate XML soon.
* 2 more file stratigies are added.
* You can debug HTTP requests from CLI
* Support of yarn for fast installation
* Now stubmatic can be started from nodejs code as well

I have dropped the plan to add support for redis because I couldn't find any good usecase for that. If you have any feature request add [here](https://github.com/NaturalIntelligence/Stubmatic/issues)

Check my other project too: [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) to transform XML to JS/JSON objects quickly.

0 comments on commit 1a3ecd7

Please sign in to comment.