Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Releases: ribizli/ng2-imageupload

1.4.2

29 Mar 10:01
Compare
Choose a tag to compare

fix: private access modificator #21

1.4.1

27 Mar 19:14
Compare
Choose a tag to compare

fix: Allow Angular >= 2.0.0 as peer depenceny

1.4.0

25 Mar 10:25
Compare
Choose a tag to compare

Breaking changes

  • Peer dependency: Angular 4.0.0
  • directive renamed to imageUpload
  • resize algorithm changed: ensure resized image fits into the specified maximal width and height

Fixes

  • Cannot upload files with extensions like JPG, pnG, Gif using ['jpg', 'png', 'gif'] allowed extensions array #16

1.3.1

01 Feb 14:51
Compare
Choose a tag to compare

Fixes: Event not getting triggered. #12

1.3.0

08 Jan 17:45
Compare
Choose a tag to compare

Added AOT support

1.2.2

14 Nov 08:52
Compare
Choose a tag to compare
  • fix: Canvas breaks styles if picture is big enough (#4)
  • feat: Filter by allowed extensions (#5)

1.2.1

01 Oct 11:51
Compare
Choose a tag to compare
  • Updated to angular 2.0.1
  • Typescript 2.0.3 (not using typings anymore)
  • fixed #3

Angular2 RC5 Support

29 Aug 21:16
Compare
Choose a tag to compare
1.2.0

fix #2: upgrade to rc5

1.1.1

09 May 11:26
Compare
Choose a tag to compare

Added @angular/core@^2.0.0-rc.1 as peer dependency

1.1.0

09 May 09:49
Compare
Choose a tag to compare

Changes

  • angular2 RC.1
  • restructured package

BREAKING CHANGES

Use import {ImageUpload} from 'ng-imageupload', since the main file is now index.js.

System.js configuration needs main specified for the package:

System.config({
        packages: {        
          'ng2-imageupload': {
              main: 'index.js',
              defaultExtension: 'js'
          }
        },
        map: {
            'ng2-imageupload': 'node_modules/ng2-imageupload'
        }
      });