Skip to content

@spartacus/core@2.0.0

Choose a tag to compare

@marlass marlass released this 03 Jun 12:04
· 4812 commits to develop since this release

Commits

Commit Description Notes
Remove filter from `createComponentData()` (#6952) [Closes #6431]
Fix Storefinder Radius and make configurable
Support lazy loadable components in CMS mapping (#7285) [Closes #7035]
Update product endpoint configuration (#7296) [Closes #7295]
remove kyma feature flag (#7302) [Closes #4481]
Hardcoded occurrences of the OCC prefix (GH-7101) [Closes #7101]
[Closes #7101]
Refactor `HttpErrorHandler` to make it consistent with Handlers implementation (#7283) [Closes #7280]
Refactor `LaunchRenderStrategy` to make it consistent with Handlers implementation (#7284) [Closes #7281]
Refactor `PageMetaResolver` to make it consistent with Handlers implementation (#7282) [Closes #7279]
new Facet navigation (#7089) [Closes #6581]
Refactor component wrapper directive (#7087) [Closes #7080]
schematics - introduce occ prefix option (#7269) [Closes #7269]
Improve scoped loader reducer and state (#7266) [Closes #5445]
upgrade deps i18next and i18next-xhr-backend to lastest major versions (#7214) [Closes #7173]
make CmsPageGuard easier extendable (#6852) [Closes #4646]
implement 'add entry' event for active cart (#7011) [Closes #6989]
remove deprecated anonymous consent code (#7062) [Closes #4989]
drop deprecated API for page meta data and resolvers (#6881) [Closes #6768]
CurrentProductService should not filter empty emissions (#6951) [Closes #6906]
Deprecations removal around default product scopes (#6950) [Closes #6934]
Add unauthorized error handler (#6938) [Closes #6936]
base event system (#6836) [Closes #5182]
Add ability to provide default config (#6890)
Upgrade ngrx to v9 (#6892) [Closes #6891]
Expose ConfigValidatorModule in public API (#6893) [Closes #5279]
New storage synchronization mechanism with context (#6680) [Closes #6215]
add configurable url matchers (#6618) [Closes #6583]
Update to Angular 9 (#6608) [Closes #5704]
Remove useless facets from the product result response (#6600) [Closes #6599]
Support business driven facet top values (#6597) [Closes #5692]
update schematics: mechanism for adding parameter to deprecated constructor (#6498) [Closes #6432]
create update schematic for cms component state (#6338) [Closes #6027]
withdrawOn rx operator available in public api (#6106) [Closes #6038]
remove deprecated cms component state (#6425) [Closes #6420]
consignment tracking request fix and e2e test (GH-6149) [Closes #6149]
[Closes #6149]
avoid re-subscribing to already registered event sources when adding a new one for the same type (#7582) (#7673) [Closes #7581]
change the default occ prefix back to /rest/v2/ (#7641) [Closes #7641]
[Closes #7620]
avoid partial data emissions from page meta service (#7534) (#7608) [Closes #7490]
[Closes #7413]
Use tree-shakeable providers for services (#7596)
Styling issues with the asm ui expand collapse arrow (GH-5335)-2.0-maintenance [Closes #5335]
enable partial order cancellation (#7271) (#7398)
fix: don't dispatch context change action on initial set [Closes #6900]
[Closes #7306]
[Closes #7307]
Allow to enable/disable save-for-later feature (#7352) [Closes #7350]
[Closes #7337]
Fix empty cart flashing before showing cart items (#7340) [Closes #7340]
Wrong order of HttpErrorHanders (#7329) [Closes #7324]
[Closes #7324]
Fix logic bug in cart error handling (#7292) [Closes #7292]
[Closes #7209]
Missing translation for "invalid coupon" message #7249 (#7274) [Closes #7249]
url encoding when using configurable occ endpoints (#6347) [Closes #4619]
avoid emitting empty value from TranslationService when used in APP_INITIALZIER (#7207) [Closes #3229]
[Closes #3838]
Update peerDependencies in libs (#7182) [Closes #7171]
Support ASM for customer coupons, user interests, user not… (#7148) [Closes #7143]
align versions across all libs (#7113)
coupons error handling refactor (#6831)
adapt a11y for storefinder (#6751)
hide "object no longer valid" message temporarily (#6698)
wrong import (#6487) [Closes #6486]
Revert breaking changes in consignment tracking (#6525) [Closes #6524]
Improve caching for multiple scopes (#6422) [Closes #6421]

Breaking changes

  • Removed separate suffix route objects in favour of the suffix url matchers. Moreover, renamed `UrlMatcherFactoryService` to `UrlMatcherService` and simplified its methods.
    #6583
  • Spartacus requires the `allCategories` index property begin configured on the backend. The `categories` index property is no longer used.
    #5510
  • The pagination component is refactored completely: - The UI supports anchor links next to action links - The pagination links are build by a builder class - The links, link labels and link positions are fully configurable - The pagination is fully configurable by CSS as well - The pagination is hidden when there is no pagination needed
    #6060
    #3045
    #5631
    #4632
    #5487
    #3856
    #3118
  • Changed for message type error the style class from alert-warning to alert-danger and added the style class alert-warning to message type warning.
    #6257
  • With 1905.4 version endpoint for consignment tracking changed due to a bug. We introduced in spartacus change in the default endpoint configuration and new parameter (userId) in adapter/connector method `getConsignmentTracking` to support this version and above. If you extended that functionality make sure to always pass it (we also fallback to `current` user when `userId` is not provided). If you work with older versions of the platform to fix the consignment tracking feature you have to change endpoint for consignemtTracking in configuration to `orders/${orderCode}/consignments/${consignmentCode}/tracking
    #6524