What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
QQ: leads
QQ:
https://github.com/spryker-shop/shop-ui/commit/66de06aa35bab12efa6e0ec5a363be299acc0ada
leads to
Module not found: Error: Can't resolve 'password-validator' in '/vendor/spryker-shop/shop-ui/src/SprykerShop/Yves/ShopUi/Theme/default/components/molecules/password-complexity-indicator'
where was this package (password-validator
) added?
Comments
-
Seems like here - https://api.release.spryker.com/release-group/3130.
0 -
π€ usng composer files from
https://github.com/spryker-shop/suite/tree/1.7
and it fails with the above message0 -
and the versions do match, but still fails
0 -
It's not about composer. In the release group from above you can see related project level changes.
0 -
considering
https://github.com/spryker-shop/suite/blob/1.7/package.json
doesn't have it, but packages installed with composer still require it, wouldn't it be better to make it part of the 1.7 release?
well, @UJLM6CAFR you wanted compatible-breaking change we get next time, this is it π0 -
I don't know what these tags are about to be honest.
0 -
np, what is important is that they were meant to point to stable release, which is not currently the case
0 -
1.7 seems to be from September or something.
Discussed changes are from December.
Or I didn't get it.0 -
the long discussion we had with @UJLM6CAFR was that Spryker releases something under same version contstraint that is supposed to be a non-breaking change, and it provides breaking changes anyway.
yes, 1.7 points to older release, but that means your versions constaints are not pointing to stable release files0 -
which was the whole problem all along ;]
0 -
giovanni.piemontese Technical Lead @ LΓΆffelhardt Spryker Solution Partner Posts: 871 π§π»βπ - Cadet
U have to include password-validator in package.json
0 -
giovanni.piemontese Technical Lead @ LΓΆffelhardt Spryker Solution Partner Posts: 871 π§π»βπ - Cadet
it is a project level migration needed after composer update with new password policy..
0 -
giovanni.piemontese Technical Lead @ LΓΆffelhardt Spryker Solution Partner Posts: 871 π§π»βπ - Cadet
password-complexity TS needs password-validator library
0 -
Christian von Schassen Director Partner Succcess Management Sprykee Posts: 33 π§π»βπ - Cadet
Jan, does Giovanni's suggestion help? Otherwise we should probably make an appointment with a member of our architecture team to discuss it. What do you think?
(By the way, thanks for being such a great community contributor, @UL65CH0MC)0 -
@UL65CH0MC I SEE it needs it, but I'm trying to use official spryker release so we can upgrade later to 1.8 (when it's out) by using Jarvis. Why wasn't the release adjusted to be a working one? I'm just poining out the releases are still not reliable as they are.
Yes, we can update packages to non-release ones, but in that case why should we use releases at all if they only work when they are released and not a month/two after? That's not how releases are supposed to work and you know it π0 -
Your main concern here is that latest
spryker-shop/shop-ui
that requirespassword-validator
had to be released as a major with appropriate migration guide, right?0 -
No. My main concern is:
β’ latest release is 1.7 on https://github.com/spryker-shop/suite/releases
β’ in its composer.json it has 1.48 spryker-shop/shop-ui as compatible: https://github.com/spryker-shop/suite/blob/1.7/composer.json#L143 (meaning it already requires password-validator)
β’ in package.json of 1.7, however there's no such dependency: https://github.com/spryker-shop/suite/blob/1.7/package.json
I can no longer benefit from bugfixes0 -
do I really need migration guide from 1.7 to 1.7? π
0 -
https://raw.githubusercontent.com/spryker-shop/suite/1.7/composer.lock
has{ "name": "spryker-shop/shop-ui", "version": "1.44.1",
And updated version of
shop-ui
which requires"password-validator": "~5.1.0"
in package.json is
https://github.com/spryker-shop/shop-ui/releases/tag/1.48.00 -
Unfortunatelly we cannot force npm dependecies update using composer. We have ideas how to change it in the future. But probably it will require major update of
shop-ui
0 -
@UKBTMFXMJ but you can use semver, and stop releasing breaking change as a same-minor version π Right now it's up to spryker users to check whether the coe change in the one of hundreds of spryker packages is a bugfix or a breaking change
0 -
which is a PITA
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random