Skip to content

Commit 3c82f58

Browse files
committed
Prepare version 0.9.0
1 parent 75bed62 commit 3c82f58

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

CHANGELOG.MD

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## v0.9.0
4+
5+
This release adds the more friendly SpinnerVisibilityService#show() && SpinnerVisibilityService#hide() methods as public API.
6+
The ``visibilitySubject`` introduced in v0.8.0 is now a ``ReplaySubject``, and its getter returns now an observable.
7+
8+
See the [Manually show and hide the spinner](https://github.com/mpalourdio/ng-http-loader#manually-show-and-hide-the-spinner) section.
9+
310
## v0.8.0
411

512
This release adds the ``SpinnerVisibilityService``, a simple injectable service that allows you to manually show/hide the spinner.

README.MD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,11 @@ import { SpinnerVisibilityService } from 'ng-http-loader/services/spinner-visibi
172172
})
173173
export class MyComponent {
174174

175-
constructor(private visibilityService: SpinnerVisibilityService) {
175+
constructor(private spinner: SpinnerVisibilityService) {
176176
// show the spinner
177-
visibilityService.show();
177+
spinner.show();
178178
// hide the spinner
179-
visibilityService.hide();
179+
spinner.hide();
180180
}
181181
}
182182
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ng-http-loader",
3-
"version": "0.8.0",
3+
"version": "0.9.0",
44
"scripts": {
55
"prepare-deploy": "gulp inline-templates && gulp clean-dist && ngc -p tsconfig.ngc.json && gulp clean-tmp && gulp copy-all",
66
"test": "ng test --watch false"

0 commit comments

Comments
 (0)