Version

ABP Commercial Version 7.4 Migration Guide

This document is a guide for upgrading ABP Commercial 7.3 solutions to ABP Commercial 7.4. Please read the changes to be aware of them.

See the ABP Framework migration guide for the changes made in the ABP Framework.

Angular UI

If you use Angular, you should follow this section.

GdprConfigModule options model has changed

GdprConfigModule{
- static forRoot(options?: ConfigModuleOptions): ModuleWithProviders<GdprConfigModule> {
+ static forRoot(options?: AbpCookieConsentOptions): ModuleWithProviders<GdprConfigModule> {
}
export interface AbpCookieConsentOptions {
  isEnabled?: boolean;
  cookiePolicyUrl?: string;
  privacyPolicyUrl?: string;
  expireDate?: Date;
}

so you should change your app.module.ts imports as below

- GdprConfigModule.forRoot({
-   cookieConsent: {
-     privacyPolicyUrl: 'gdpr-cookie-consent/privacy',
-     cookiePolicyUrl: 'gdpr-cookie-consent/cookie',
-   },
- })

+ GdprConfigModule.forRoot({
+   privacyPolicyUrl: 'gdpr-cookie-consent/privacy',
+   cookiePolicyUrl: 'gdpr-cookie-consent/cookie',
+ }) 
Was this page helpful?
Please make a selection.
Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

In this document
Mastering ABP Framework Book
Mastering ABP Framework

This book will help you gain a complete understanding of the framework and modern web application development techniques.