@dsivd/prestations-ng 16.0.0-beta8 → 16.0.0-beta9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/UPGRADING_V16.md CHANGED
@@ -242,6 +242,30 @@ Finally, launch your application to be sure you have not missed anything!
242
242
  yarn start
243
243
  ```
244
244
 
245
+ ### HttpClientModule (`app.module.ts`)
246
+
247
+ Need to import only once PrestationsNgCoreModule (containing HttpClientModule) in root module and not in lazy modules.
248
+ Need to import only once HttpClientModule in root module done by PrestationsNgCoreModule.
249
+ See 'Usage note' in https://angular.io/api/common/http/HttpInterceptor
250
+
251
+ ```diff
252
+ @NgModule({
253
+ imports: [
254
+ - HttpClientModule,
255
+ NgHttpLoaderModule.forRoot()
256
+ ]
257
+ })
258
+ ```
259
+
260
+ ### Use `HTTP_LOADER_FILTERED_URL` in your application to filter URLs in `ng-http-loader`
261
+
262
+ - `app.component.ts`: Add a public variable `HTTP_LOADER_FILTERED_URL = HTTP_LOADER_FILTERED_URL;`
263
+ - `app.component.html`: Use the previous variable in `[filteredUrlPatterns]` attribut of `ng-http-loader` (`<ng-http-loader [filteredUrlPatterns]="HTTP_LOADER_FILTERED_URL"></ng-http-loader>`)
264
+
265
+ ### Rename your application page wrapper
266
+
267
+ Rename your application page wrapper (the one containing your `foehn-page`) folder into `page-wrapper` along with it's `.html` and `.ts` files.
268
+
245
269
  ### Deprecated features
246
270
 
247
271
  #### All components extending FoehnCheckableGroupComponent such as foehn-autocomplete, foehn-checkbox, foehn-radio, foehn-select or your custom components
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "ng-update": {
41
41
  "migrations": "./schematics/migration-collection.json"
42
42
  },
43
- "version": "16.0.0-beta8",
43
+ "version": "16.0.0-beta9",
44
44
  "module": "fesm2015/dsivd-prestations-ng.mjs",
45
45
  "es2020": "fesm2020/dsivd-prestations-ng.mjs",
46
46
  "esm2020": "esm2020/dsivd-prestations-ng.mjs",