Skip to content

Commit 1627204

Browse files
committed
chore(release): 1.0.0-rc.0
1 parent bc5ff3c commit 1627204

File tree

4 files changed

+43
-2
lines changed

4 files changed

+43
-2
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,43 @@
22

33
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.
44

5+
<a name="1.0.0-rc.0"></a>
6+
# [1.0.0-rc.0](https://github.com/aberezkin/ng2-image-upload/compare/v0.6.5...v1.0.0-rc.0) (2017-09-28)
7+
8+
9+
### Bug Fixes
10+
11+
* **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))
12+
* **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)
13+
* **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)
14+
* **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)
15+
16+
17+
### Chores
18+
19+
* **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))
20+
21+
22+
### Features
23+
24+
* **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)
25+
* **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)
26+
* allow custom form data ([098febd](https://github.com/aberezkin/ng2-image-upload/commit/098febd))
27+
* 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))
28+
* retrieve files on open ([#130](https://github.com/aberezkin/ng2-image-upload/issues/130)) ([45e4472](https://github.com/aberezkin/ng2-image-upload/commit/45e4472))
29+
30+
31+
### BREAKING CHANGES
32+
33+
* **api:** `headers` now accepts a map instead of an array.
34+
35+
Typescript signature: `[name: string]: any;`
36+
* **api:** `onFileUploadFinish` renamed to `uploadFinished`
37+
* **api:** `onRemove` renamed to `removed`
38+
* **api:** `isPending` renamed to `uploadStateChanged`
39+
40+
41+
542
<a name="0.6.5"></a>
643
## [0.6.5](https://github.com/aberezkin/ng2-image-upload/compare/v0.6.4...v0.6.5) (2017-07-01)
744

docs/assets/readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Content-Type. The query has a single field called `image`.
4343

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

46+
`[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.
47+
4648
#### Custom headers
4749

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

161164
@aberezkin
162165
@UncleDave
166+
@sabrio

docs/main.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular2-image-upload",
3-
"version": "0.6.5",
3+
"version": "1.0.0-rc.0",
44
"description": "An angular component that uploads images using native browser upload or drag-n-drop.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)