Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@Dhaulagiri Dhaulagiri released this 18 Jun 13:41
· 1 commit to master since this release

The only breaking change in this release is that addon files are now exported more accurately. See below for an example.

Before

import EmberUploader from 'ember-uploader';

export default EmberUploader.FileField.extend({
  filesDidChange(files) {
    const uploader = EmberUploader.Uploader.create({
      url: this.get('url')
    });
  }
});

After

import FileField from 'ember-uploader/components/file-field';
import Uploader from 'ember-uploader/uploaders/uploader';

export default FileField.extend({
  filesDidChange(files) {
    const uploader = Uploader.create({
      url: this.get('url')
    });
  }
});