Skip to content

v2.1.0

Latest

Choose a tag to compare

@JamieCurnow JamieCurnow released this 08 Dec 15:24
  • Merge pull request #5 from JamieCurnow/chore/update-types 1542f2e
  • clean up yarn lock - move to npm 606dc32
  • update dependencies 66fd310

v2.0.3...v2.1.0

[Maybe breaking changes]

This shouldn't break anything and the API hasn't changed at all, but we have updated some packages and types which may stop your project from building downstream. Make sure you update express and any other types packages that are related in your project.

Also, check out this PR which you may need to wait on if you use @types/express at all:
DefinitelyTyped/DefinitelyTyped#63532

If you get an error passing your express app into the createRoutes() function, the suggestion is to typecast it as any or unknown until the above PR is merged in.

const app = express()
createReoutes(app as any, { // your options })