Skip to content

Commit

Permalink
chore(release): 1.0.0-rc.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aberezkin committed Sep 28, 2017
1 parent bc5ff3c commit 1627204
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 2 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,43 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="1.0.0-rc.0"></a>
# [1.0.0-rc.0](https://github.com/aberezkin/ng2-image-upload/compare/v0.6.5...v1.0.0-rc.0) (2017-09-28)


### Bug Fixes

* **css:** prefix all classes to prevent external style cascading ([#114](https://github.com/aberezkin/ng2-image-upload/issues/114)) ([277bcf7](https://github.com/aberezkin/ng2-image-upload/commit/277bcf7))
* **dependencies:** add http module to imports ([24ee042](https://github.com/aberezkin/ng2-image-upload/commit/24ee042)), closes [#80](https://github.com/aberezkin/ng2-image-upload/issues/80)
* **input:** fixed extensions not working when not specified ([#83](https://github.com/aberezkin/ng2-image-upload/issues/83)) ([204ab16](https://github.com/aberezkin/ng2-image-upload/commit/204ab16)), closes [#82](https://github.com/aberezkin/ng2-image-upload/issues/82)
* **output:** emit onRemove when all files are cleared ([#85](https://github.com/aberezkin/ng2-image-upload/issues/85)) ([f4b4c05](https://github.com/aberezkin/ng2-image-upload/commit/f4b4c05)), closes [#84](https://github.com/aberezkin/ng2-image-upload/issues/84)


### Chores

* **api:** made api conform to angular conventions ([#87](https://github.com/aberezkin/ng2-image-upload/issues/87)) ([29d288e](https://github.com/aberezkin/ng2-image-upload/commit/29d288e))


### Features

* **input:** added the ability to pass a beforeUpload function that can modify each file/url or abort entirely ([#101](https://github.com/aberezkin/ng2-image-upload/issues/101)) ([9a883b8](https://github.com/aberezkin/ng2-image-upload/commit/9a883b8)), closes [#59](https://github.com/aberezkin/ng2-image-upload/issues/59)
* **input:** allow clear button text to be customised ([#100](https://github.com/aberezkin/ng2-image-upload/issues/100)) ([df66c86](https://github.com/aberezkin/ng2-image-upload/commit/df66c86)), closes [#97](https://github.com/aberezkin/ng2-image-upload/issues/97)
* allow custom form data ([098febd](https://github.com/aberezkin/ng2-image-upload/commit/098febd))
* allow custom styling - fixes [#93](https://github.com/aberezkin/ng2-image-upload/issues/93) ([#116](https://github.com/aberezkin/ng2-image-upload/issues/116)) ([a1aa8f4](https://github.com/aberezkin/ng2-image-upload/commit/a1aa8f4))
* retrieve files on open ([#130](https://github.com/aberezkin/ng2-image-upload/issues/130)) ([45e4472](https://github.com/aberezkin/ng2-image-upload/commit/45e4472))


### BREAKING CHANGES

* **api:** `headers` now accepts a map instead of an array.

Typescript signature: `[name: string]: any;`
* **api:** `onFileUploadFinish` renamed to `uploadFinished`
* **api:** `onRemove` renamed to `removed`
* **api:** `isPending` renamed to `uploadStateChanged`



<a name="0.6.5"></a>
## [0.6.5](https://github.com/aberezkin/ng2-image-upload/compare/v0.6.4...v0.6.5) (2017-07-01)

Expand Down
4 changes: 4 additions & 0 deletions docs/assets/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Content-Type. The query has a single field called `image`.

`[extensions]="['jpg','png','gif']"` - upload images with specific extensions. Default all extensions `image/*` is allowed.

`[uploadedFiles]="['http://example.com/path/to/my/file', {'fileName': 'fileName.jpg', url: 'http://example.com/path/to/my/file'}]"` - enters the uploaded files from the previous time.

#### Custom headers

If you need to send some headers with your request (for example `Authorization` headers),
Expand Down Expand Up @@ -149,6 +151,7 @@ In the final state it should look something like this:
[buttonCaption]="'Select Images!'"
[dropBoxMessage]="'Drop your images here!'"
[extensions]="['jpg','png','gif']"
[uploadedFiles]="['http://example.com/path/to/my/file']"
[class]="'customClass'"
(removed)="onRemoved($event)"
(uploadFinished)="onUploadFinished($event)"
Expand All @@ -160,3 +163,4 @@ In the final state it should look something like this:

@aberezkin
@UncleDave
@sabrio
2 changes: 1 addition & 1 deletion docs/main.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular2-image-upload",
"version": "0.6.5",
"version": "1.0.0-rc.0",
"description": "An angular component that uploads images using native browser upload or drag-n-drop.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 1627204

Please sign in to comment.