Skip to content

Conversation

@StanislavSukhanov
Copy link
Contributor

closes: https://jira.tools.sap/browse/CXSPA-11949

create doc for manual changes

@StanislavSukhanov StanislavSukhanov self-assigned this Jan 21, 2026
@github-actions github-actions bot marked this pull request as draft January 21, 2026 16:55
@StanislavSukhanov StanislavSukhanov marked this pull request as ready for review January 22, 2026 10:43
@github-actions github-actions bot marked this pull request as draft January 22, 2026 10:43
@StanislavSukhanov StanislavSukhanov marked this pull request as ready for review January 22, 2026 10:49
Copy link
Contributor

@pawelfras pawelfras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, looks good! I left some comments.

Apart from that, let's consider adding the following, to explicitlyt inform about USER_CMS_ENDPOINTS removal

#### Removed Constants
- **`USER_CMS_ENDPOINTS`** (from `projects/core/src/model/cms.model.ts`):
  - **Impact:** This feature toggle constant has been removed. The functionality is now always enabled.
  - **Action Required:** Remove any references to this constant in your code. The CMS adapters now always use user-specific endpoints.

Also, was SMART_EDIT_DUMMY_COMPONENT_TYPE part of our public API?IF yes, then let's inform about it as well:

- **`SMART_EDIT_DUMMY_COMPONENT_TYPE`** (from `projects/core/src/cms/config/cms-config.ts`):
  - **Impact:** This constant was unused since version 6.5. The `SmartEditLauncher` is now responsible for triggering the lazy loading of the `SMART_EDIT_FEATURE`.
  - **Action Required:** Remove any references to this constant if you were using it.

Comment on lines 26 to 28
### 6. `user-register.action.ts`
- **Comment Cleanup**: Removed a `@deprecated` TSDoc comment for the `RegisterUserSuccess` class.
- **Impact**: No functional breaking change, but indicates that the migration of this action to `@spartacus/user/profile/core` is considered complete/standard.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the purpose of this document is to present breaking changes affecting our customers. I don't think we need to include this information in it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you. removed

Comment on lines 61 to 64
#### New ESLint Rule: `feature-config-service-must-be-private`
- **Change**: A new ESLint rule has been introduced to enforce that `FeatureConfigService` is always injected as a `private` property.
- **Reason**: To prevent the exposure of internal feature configuration logic in the public/protected API of components and services.
- **Action Required**: Ensure that any manual injections of `FeatureConfigService` in your codebase use the `private` modifier. You can use `eslint --fix` to automatically resolve most violations.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the purpose of this document is to present breaking changes affecting our customers. I don't think we need to include this information in it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for spotting this. removed 👍

### 5. `occ-cms-page.adapter.ts`
- **Feature Toggle Removal**: Removed all logic related to the `USER_CMS_ENDPOINTS` feature toggle.
- **Behavior Change**: Similar to the component adapter, it now always fetches the user ID to build CMS page request URLs.
- **API Cleanup**: Removed usage of `FeatureConfigService`.
Copy link
Contributor

@pawelfras pawelfras Jan 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

query: I'm wondering if this is something that affects our customers. If FeatureConfigService was injected via inject function and had private access modifier, then I guess it wont affect customers in any way and could be removed.

This comment applies to all similar places.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-checked. all places. In this case it was protected.

@github-actions github-actions bot marked this pull request as draft January 23, 2026 12:59
@StanislavSukhanov
Copy link
Contributor Author

Thank you, looks good! I left some comments.

Apart from that, let's consider adding the following, to explicitlyt inform about USER_CMS_ENDPOINTS removal

#### Removed Constants
- **`USER_CMS_ENDPOINTS`** (from `projects/core/src/model/cms.model.ts`):
  - **Impact:** This feature toggle constant has been removed. The functionality is now always enabled.
  - **Action Required:** Remove any references to this constant in your code. The CMS adapters now always use user-specific endpoints.

Also, was SMART_EDIT_DUMMY_COMPONENT_TYPE part of our public API?IF yes, then let's inform about it as well:

- **`SMART_EDIT_DUMMY_COMPONENT_TYPE`** (from `projects/core/src/cms/config/cms-config.ts`):
  - **Impact:** This constant was unused since version 6.5. The `SmartEditLauncher` is now responsible for triggering the lazy loading of the `SMART_EDIT_FEATURE`.
  - **Action Required:** Remove any references to this constant if you were using it.

Thank you Pawel. updated the file with this content as well.

@StanislavSukhanov StanislavSukhanov marked this pull request as ready for review January 23, 2026 14:15

## Removed Constants
- **`USER_CMS_ENDPOINTS`** (from `projects/core/src/model/cms.model.ts`):
- **Impact:** This feature toggle constant has been removed. The functionality is now always enabled.
Copy link
Contributor

@pawelfras pawelfras Jan 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Stan,
Only now I realized that using the name feature toggle for this DI injection token, could be confusing from the customers' perspective, because officially we use the name feature toggle for all toggles listed here:

What do you think about changing feature toggle to config? If you aggree, then it's needed to change it in all references to USER_CMS_ENDPOINTS in this doc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

absolutely agree. Updated.

@github-actions github-actions bot marked this pull request as draft January 26, 2026 09:39
@StanislavSukhanov StanislavSukhanov marked this pull request as ready for review January 26, 2026 09:40
@github-actions github-actions bot marked this pull request as draft January 26, 2026 12:15
@StanislavSukhanov StanislavSukhanov marked this pull request as ready for review January 26, 2026 12:15
@github-actions github-actions bot marked this pull request as draft January 27, 2026 12:58
@StanislavSukhanov StanislavSukhanov marked this pull request as ready for review January 27, 2026 13:00
@pawelfras pawelfras merged commit 61da2f3 into release/221121.7.x Jan 27, 2026
7 checks passed
@pawelfras pawelfras deleted the chore/doc-manual-doc-for-provided-breaking-changes branch January 27, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants