Releases: PrestaShopCorp/ps_accounts
v7.0.8-beta.3
- Deprecate getOrRefreshToken method which silently fails in favor of getValidToken which throws on fail to refresh.
- Migrate to getValidToken usage internally
- Extend scoping including all eligible dependencies
What's Changed
- New Crowdin updates by @devops-prestashop in #423
- [ACCOUNT-2501] refactor: getValidToken replacement for getOrRefreshToken by @hschoenenberger in #416
- feat: test upgrade by @hschoenenberger in #425
- [ACCOUNT-2545] feat: improve vendor scoping by @hschoenenberger in #419
Full Changelog: v7.0.7...v7.0.8-beta.3
v7.0.8-beta
Deprecate getOrRefreshToken method which silently fails in favor of getValidToken which throws on fail to refresh.
Migrate to getValidToken usage internally
What's Changed
- New Crowdin updates by @devops-prestashop in #423
- [ACCOUNT-2501] refactor: getValidToken replacement for getOrRefreshToken by @hschoenenberger in #416
- feat: test upgrade by @hschoenenberger in #425
Full Changelog: v7.0.7...v7.0.8-beta
v7.0.7
Fix the regression on the condition to trigger upgrade call in single shop context.
What's Changed
- fix: shop id context for single shop context at upgrade by @hschoenenberger in #424
Full Changelog: v7.0.6...v7.0.7
v7.0.6
Improve auto unlink behaviour to unlink shop when upgrade request fails.
Also trigger a segment event & email to the owner when the shop is unlinked on error detection.
What's Changed
- [ACCOUNT-2447/2564] fix: unlink shop in case upgrade fails by @jokesterfr in #402
- feat(ci): add a ready-to-review notifier by @jokesterfr in #420
- [ACCOUNTS-2523] feat: flashlight integration & tooling php8 by @hschoenenberger in #413
- [ACCOUNT-2447] fix: unset values with empty string instead of null by @hschoenenberger in #422
Full Changelog: v7.0.5...v7.0.6
v7.0.5
Fix a certificate issue when calling our apis on older PHP5.6 environnement by bypassing certificate checking,
also fix the condition before unlinking locally shops with inconsistent association state.
What's Changed
- fix: dev platform fixes by @hschoenenberger in #417
- [ACCOUNT-2546] fix: bypass certificate verifications for php < 7 by @hschoenenberger in #415
- [ACCOUNT-2573] fix: more conditions before unlinking shop by @hschoenenberger in #418
Full Changelog: v7.0.4...v7.0.5
v7.0.4
Fix getOrRefreshToken methods to clear token and return an empty token instead of the previous invalid one when refresh token fails.
Also disconnect the shop locally when the OAuth2Client is invalid, resolving cases of inconsistent association state.
Known errors
- Instable public_key rotation: this might lead to issues while associating your store for the first time (fresh install).
Note: this release has not been publicly released on PrestaShop Addons.
What's Changed
- Swap LICENSE to OSL by @jokesterfr in #407
- Update public information by @jokesterfr in #408
- fix: use a specific php-scoper version by @hschoenenberger in #410
- [ACCOUNT-2448] refactor: get or refresh token clear token on error by @hschoenenberger in #403
- [ACCOUNT-2517] feat: shop healthcheck by @hschoenenberger in #411
- [ACCOUNT-2504] feat: pass x-request-id in every account api requests by @antoinemetifeu in #406
- [ACCOUNT-2499] feat: remove config if not client id or secret by @atourneriePresta in #409
Full Changelog: v7.0.3...v7.0.4
staging
This is a rolling release. It will be updated each time a PR is merged into main.
v7.0.3
What's Changed
Fix HTTP client in the OAuth workflow : HTTP calls are now handled by Guzzle only. This simplifies current implementation and asserts that ssl CA certs are coming from the system. It may fix token generation issues for shops when allow_url_fopen is off (btw PrestaShop requires to enable it)
- AdminDebugPsAccounts fix: use accessor to get initialized guzzle client by @hschoenenberger in #398
- [ACCOUNT-2375] refactor: upgrade oauth2-prestashop & cleanup obsolete code by @hschoenenberger in #396
Full Changelog: v7.0.2...v7.0.3
v7.0.2
What's Changed
- [ACCOUNT-2403] fix: get session with ps1.7.7.x by @hschoenenberger in #393
- [ACCOUNT-2397] feat: append version to zip files by @hschoenenberger in #392
Full Changelog: v7.0.1...v7.0.2
v7.0.1
What's Changed
- [ACCOUNT-2378] feat: reboot sentry by @hschoenenberger in #389
- [ACCOUNT-2387] fix: duplicate upgrade module by @hschoenenberger in #390
- [ACCOUNT-2335] refactor: add index files at bundle time & remove index files from repo by @hschoenenberger in #387
- fix: github release workflow by @hschoenenberger in #391
Full Changelog: v7.0.0...v7.0.1