Ember-cli-new-version


A convention-based version update notifier.

Usage

  1. Add this add-on as you would any other:
> ember install ember-cli-new-version
  1. Add a version file to your app, eg: ./public/VERSION.txt
1.0.0
  1. Include the component in your view:
{{new-version-notifier}}

viola!

Options


Custom Notification

By default the notification is styled as a Bootstrap Alert. If you want custom layouts or to use a different framework, then you can define your own markup for the notification.

{{#new-version-notifier as |newVersion oldVersion reload close|}}
  <div class="custom-notification">
    Reload to update to the new version ({{newVersion}}) of this application
    <button type="button" onclick={{action reload}}>Reload</button>
    <button type="button" onclick={{action close}}>Close</button>
  </div>
{{/new-version-notifier}}

Contributing

Running

For more information on using ember-cli, visit http://www.ember-cli.com/.

Contributors