Skip to content

Releases: typicode/json-server

v0.16.2

30 Sep 13:57
Compare
Choose a tag to compare
  • Replace deprecated request module with native (#1175)

v0.16.1

23 Feb 09:31
Compare
Choose a tag to compare
  • Fix #1079 404 error on home page

v0.16.0

12 Feb 04:01
Compare
Choose a tag to compare
  • Breaking require Node >=10
  • Breaking drop IE11 support for the homepage
  • Update all dependencies to latest
  • Remove a dependency

v0.15.1

02 Sep 16:38
Compare
Choose a tag to compare
  • Upgrade dependencies
  • Fix for multiple _ne operators #1013

v0.6.0

06 Feb 16:03
Compare
Choose a tag to compare

Breaking change

Server creation when using JSON Server as a module has changed.

var router = jsonServer.router(object) // Express router
var server = jsonServer.create()       // Express server

server.use(router)
server.listen(3000)

Makes it easier to customize and add middlewares.

v0.5.0

13 Oct 14:00
Compare
Choose a tag to compare
  • API change, use json-server(dbObject) to create a server
  • Update dependencies

v0.4.1

30 Sep 02:23
Compare
Choose a tag to compare
  • Add _sort and _sortDir #27

v0.4.0

18 Sep 23:54
Compare
Choose a tag to compare
  • Add full-text search using q query parameter
  • Add X-Total-Count header when slicing

Thanks to @manuquentin