Skip to content

Releases: asd-xiv/blocks

v1.3.1

07 Oct 09:28
Compare
Choose a tag to compare

1.3.1 (2019-10-07)

Bug Fixes

  • ci: Add dist folder to npm package (23353c1)

v1.3.0

07 Oct 09:18
Compare
Choose a tag to compare

1.3.0 (2019-10-07)

Features

  • Rename asd14 -> mutantlove (3cd96e2)

v1.2.1

04 Oct 19:38
Compare
Choose a tag to compare

1.2.1 (2019-10-04)

Bug Fixes

  • Update qs.parse to change array format based on env (b6fc88f)

v1.2.0

20 Aug 15:00
Compare
Choose a tag to compare

1.2.0 (2019-08-20)

Bug Fixes

  • Add JWT middleware in main pipeline (df87fd0)

Features

v1.1.0

15 Aug 15:06
Compare
Choose a tag to compare

1.1.0 (2019-08-15)

Features

  • Remove content-type header requirement for default route /ping (a2c15bb)

v1.0.0

14 Aug 14:01
Compare
Choose a tag to compare

1.0.0 (2019-08-14)

Features

  • middleware: Use helmet middleware for security headers instead of hard-coded headers (b20c1c9)
  • router: Default schema, optional schema and simpler format (f177b81)
  • router: Route.isAllowed returns false by default if not defined (e580d21)
  • Config plugin uses only environment variable as source and exposes important setting of ajv, qs, helmet and cors (8e42710)

BREAKING CHANGES

Schema format changed

Old:

module.exports = {
  type: "object",
  properties: {
    headers: {...},
    params: {...},
    query: {...},
    body: {...},
  },
}

New:

module.exports = {
  headers: {...},
  params: {...},
  query: {...},
  body: {...},
}

settings object no longer used

When creating a block, the settings object is no longer used to configure the application. See main example.

Use dotenv lib and _env template file for configuring the application's behaviour

v0.7.0 - 11 July 2019

11 Jul 11:58
Compare
Choose a tag to compare

Change

  • Update packages

v0.6.2 - 10 April 2019

11 Apr 08:08
Compare
Choose a tag to compare

Change

  • Allow passing of absolute file paths for plugins, middleware and routes when initialising blocks

v0.6.1 - 10 April 2019

10 Apr 12:40
Compare
Choose a tag to compare

Change

  • Update pluginus to allow plugins in commonjs format as well

v0.6 - 10 April 2019

10 Apr 12:11
Compare
Choose a tag to compare

Add

  • Can add "beforeSend" middleware
  • Diagrams and words describing how things work