Skip to content

Releases: smhg/express-locale

2.0.2

24 Jan 14:32
Compare
Choose a tag to compare
  • remove obsolete module property from package.json

2.0.1

21 Apr 07:35
Compare
Choose a tag to compare
  • allow any letter case for default lookups (thx @huhgawz)

2.0.0

30 Aug 09:05
Compare
Choose a tag to compare

To match JavaScript's Intl, locales (output) are now formatted using a hyphen instead of underscore. As input underscore format is still supported.

  • Breaking: format locale using hyphen (thx @benpptung)
  • Breaking: Drop express 3.x support
  • Breaking: Drop non-lts/latest node support (remove babel build)
  • Warn about invalid configuration in non-production environment

1.2.0

21 Mar 21:38
Compare
Choose a tag to compare
  • Enable module usage (through module entry in package.json)

1.1.0

21 Mar 20:56
Compare
Choose a tag to compare
  • Add request property configuration option (thx @nachaos)

1.0.5

15 Nov 22:35
Compare
Choose a tag to compare
  • Fix tests on old node (0.1x)

1.0.4

10 Oct 09:32
Compare
Choose a tag to compare

1.0.2

02 Jul 09:54
Compare
Choose a tag to compare

1.0.0

05 Nov 20:14
Compare
Choose a tag to compare
  • Support Express version 4 (thx @stutrek)
  • Added query string lookup
  • Changed configuration to have priority list and lookup configuration keys match
  • Renamed domain lookup to hostname
  • ES6 syntax