Skip to content

Releases: blimmer/node-ember-cli-deploy-redis

Dependency Upgrades

03 Apr 21:21
Compare
Choose a tag to compare

Use ioredis vs. then-redis & memoization support

05 Feb 23:58
Compare
Choose a tag to compare

(POTENTIALLY) BREAKING CHANGES. Please see CHANGELOG.md for more info, including an upgrade guide.

Ember CLI Deploy 0.5.x Support

08 Nov 03:51
Compare
Choose a tag to compare

BREAKING CHANGES. Please see CHANGELOG.md for more info, including an upgrade guide.

Rework Middleware Method Signature

08 Jul 20:19
Compare
Choose a tag to compare

BREAKING CHANGES

An inconsistency between the fetch api and middleware was fixed.

In 0.1.x, you used the middleware like this

app.use('/*', nodeEmberCliDeployRedis({
  host: 'redis.example.org',
  port: 6929,
  password: 'passw0rd!',
  database: 0
}, 'myapp'));

However, this was inconsistent with the fetchIndex method as noted by @knownasilya . To transition, please change your middleware declaration like this

app.use('/*', nodeEmberCliDeployRedis('myapp', {
  host: 'redis.example.org',
  port: 6929,
  password: 'passw0rd!',
  database: 0
}));

Expose test objects

02 Jun 15:00
Compare
Choose a tag to compare

ExpressJS Middleware, Then-Redis Dependency

01 Jun 13:30
Compare
Choose a tag to compare

Express Middleware

The root dependency is now usable as an express middleware. See the README for details on how to use. We exposed the fetchIndex helper method if you need to do post-processing of the index.html string retrieved from Redis.

Then-Redis Dependency

In 0.0.1, you needed to pass a connected Redis client to the helper methods. This illuminated problems with variances between clients, specifically node_redis and then-redis. To help alleviate these issues, you now pass a configuration string/object to the middleware or fetchIndex helper and we handle the connection to redis (using then-redis internally).

Initial Release

24 May 23:32
Compare
Choose a tag to compare
  • Support for fetching the current or specified index from redis