You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,13 @@
1
1
# Changelog
2
2
3
+
## v2.2.0
4
+
5
+
This release adds the possibility to filter http requests that should not be handled by the interceptor by providing an array of HTTP methods to the component's ``filteredMethods`` property.
6
+
3
7
## v2.1.0
4
8
5
9
This release introduces the **minimum duration** option. It gives the possibility to force a minimum duration during which the spinner should be visible.
6
-
You can mix this parameter with the **debounce delay** option:
10
+
You can mix this parameter with the **debounce delay** option:
7
11
8
12
```xml
9
13
<spinner
@@ -97,7 +101,7 @@ The responsible ``Subject`` has been replaced by a ``ReplaySubject``.
97
101
The module is now splitted in sub-modules for more convenience. See [usage](https://github.com/mpalourdio/ng-http-loader#usage).
98
102
It's an **opt-in** feature. The "old" module import method, by simply declaring ``NgHttpLoaderModule``, is still fully supported.
99
103
100
-
**BC break**: paths of components and services have changed.
104
+
**BC break**: paths of components and services have changed.
101
105
- Components are now located in the ``components`` folders.
102
106
- Services are now located in the ``services`` folders.
You can find some short examples [here](https://gist.github.com/mpalourdio/2c0bec03d610b24ff49db649fbb69a48) and [here](https://gist.github.com/mpalourdio/e05b4495de2abeeecfcf92d70e4ef93e).
129
129
130
-
## Requests filtering
130
+
## Requests filtering by URL or by HTTP method
131
131
132
-
You can also filter the http requests that shouldn't be caught by the interceptor by providing **an array of regex patterns**:
132
+
You can filter the http requests that shouldn't be caught by the interceptor by providing **an array of regex patterns**:
0 commit comments