SAP Spartacus deprecation for 4.0 需要注意的一些事项

简介: SAP Spartacus deprecation for 4.0 需要注意的一些事项

image.pngimage.png更新文档:\docs\migration\4_0.md


ToggleStatusComponent

Removed FeatureConfigService from constructor.

DeleteItemComponent

Removed FeatureConfigService from constructor.image.pngthe meaning of “deprecatedParams”: this block should contain all the parameters used in deprecated constructors( I mean the deleted constructor )?


it is like “old constructor”.


其他同事完成修改后,git pull origin epic/organization-deprecations to update your branch


一个潜在的 conflict 问题image.png答案

you can have 2 kinds of conflict like:


git recognized that both developers changed the same lines, and you must resolve it manually by choosing version (or both)


both people added the same variable in the same file, but in different places so git will not see any problem, but your IDE (eslint) should.image.pngso you create an own branch fix/GH-11530, and wants to merge commit into epic/organization-deprecations.



image.png

相关文章
|
缓存 负载均衡 前端开发
SAP Spartacus 和 Sticky session 相关的话题
SAP Spartacus 和 Sticky session 相关的话题
SAP Emarsys 和 SAP Spartacus 的集成
SAP Emarsys 和 SAP Spartacus 的集成
|
5月前
|
JSON 开发者 数据格式
关于 SAP Spartacus LandingPage2Template 区域的 layout 设计实现
关于 SAP Spartacus LandingPage2Template 区域的 layout 设计实现
|
5月前
|
搜索推荐 开发者 UED
关于 SAP Spartacus 层的 UI 设计
关于 SAP Spartacus 层的 UI 设计
|
5月前
|
开发者 UED
SAP Spartacus BREAKPOINT 枚举类型在 Spartacus layout 实现中的作用
SAP Spartacus BREAKPOINT 枚举类型在 Spartacus layout 实现中的作用
|
JavaScript 容器
关于 SAP Spartacus generic-link component 的模板代码
关于 SAP Spartacus generic-link component 的模板代码
|
前端开发 搜索推荐 JavaScript
什么是 SAP Spartacus 的 CMS Page Connector
什么是 SAP Spartacus 的 CMS Page Connector
|
前端开发 JavaScript API
SAP Commerce Accelerator Storefront 到 Spartacus 的 page by page migration 策略
SAP Commerce Accelerator Storefront 到 Spartacus 的 page by page migration 策略
|
JSON 前端开发 API
SAP Spartacus UI 中的 CmsTicketInterceptor
SAP Spartacus UI 中的 CmsTicketInterceptor
|
前端开发 UED 开发者
SAP Spartacus 开源项目中 $skipComponentStyles 的作用介绍
SAP Spartacus 开源项目中 $skipComponentStyles 的作用介绍