- 8edc50c: chore: deps update
- 9482527: Added the
engines
entry"node": ">=15.7.0"
to the package.json.
-
a8dbd42: ## Breaking
count
query parameter is replaced byHEAD
method.OpenAPI 3.0 (Swagger UI) support
- 3ff8211: Feature: new option - delay to responses
- 5a99b02: Feature: support
ne
,lt
,gt
,lte
,gte
andlike
operators
- 7eaaef6: Feature: handler for
OPTIONS
method
- a625763: Feature: sort & filter on deep properties. Use
.
as separator.
- 0c7c8ca: fix: if limit >= totalCount then 'Link' should be empty
-
a45cdc0: ## Breaking
POST
,PUT
andPATCH
for non-array JSONmockRootDir
option is changed tomockDir
Access-Control-Expose-Headers
staticDir
option added
- 2d0df2a: delete 204 -> 200
- aa0e90c:
Content-Type
header is removed for204
- ce91a1a: refactor logging
- c2e7b61: refactor: 204 status handling
-
1869675: ## Breaking
CRUD (POST, PUT, PATCH, DELETE) operations for array-like JSON.
X-Total-Count
header in pagination
-
b220dc4: ## Breaking
- Only 'GET' for json.
- Automatic route:
/json-file/count
is changed to/json-file?count
. - Sort: the
order
parameter name is removed. Use-
before parameter for the descending sort order.
- Automatic route
/json-file/:id
for array-like json withid
property. - Sorting by more more than one property:
/json-file?sort=name,-price
. - Paging:
prev
,next
,first
&last
in the response header.
- filter by multiply values of the same property:
/json-file?id=3&id=5
.
POST
,PUT
&DELETE
for array-like json
- 74c478e: - By default the plugin is invoked only in
serve
mode.- It also works in preview mode.
- Added
disable
option.
- 80ccdf7: - better error handling
- refactor core code
- a225512: more supported types of static files
- fd4853b: "page" query param changed to "offset"
- d5ba4ec: refactor: json-handler messages
- 2381389: fix: paging
- 3bad40b: fix paging
- 205b733: release