v17.0.0 Released
Published on June 30, 2021 by Tyler King
Overall
- Removal of dependency on cookies
- Removal of dependency on ITP support
- Added first-class support for Shopify tokens for auth
- Improved auth flow
Internal
- Introduction of a Util class to replace global helper functions
- Removal of ShopSession class
- Introduction of a ShopContext object for shops to track token authentication
- REST webhooks removed in-favour for GraphQL webhooks
- Use of Laravel's Arr and Str helpers where-can
- Removal of auth.token middleware in-favour of verify.shopify middleware
- Removal of auth.shopify middleware in-favour of verify.shopify middleware
- HMAC, SessionToken, SessionId, introduced as value objects to initialize and verify Shopify data
- Removal of cappedTerms in-favour of terms for usage charges
- Bugfix to isEmpty method for value objects
Merged
- TurboLinks support (#772) @Enmaboya
Use ENV for TurboLinks (#774) @squatto - URL separator bugfix (#777) @squatto
- Removal of "token" from query string in target URL handler (#779) @squatto
- Ignore script tags for TurboLinks re-eval (#780) @Enmaboya
- Reflash session when getting token (#783) @squatoo
- Find shop domain from request object (#784) @squatto
- Always pass the filtered query params to the token redirect (#785) @squatto
- Update jQuery AJAX header Authorization setting (#790) @thang12l
- Freemium mode uninstall flag added to uninstall webhook (#801) @mehulvadodariya2012
- Retain host parameter (#808) @stevesweets
- Add missing JSON extension (#809) @lucasmichot
- Github Action adjustments (#810) @lucasmichot
- Test message and exceptions (#811) @lucasmichot
- Ensure all class names are PSR4-compliant (#812) @lucasmichot
- Ensure that test files contain only one class (#813) @lucasmichot
- Remove useless braces (#814) @lucasmichot
- Add return types for functions in tests (#815) @lucasmichot
- Use null coalescence (#816) @lucasmichot
- Avoid using FQCN (#817) @lucasmichot
- Remove PHPCS (#820) @lucasmichot
- Replace abandoned Coveralls package (#821) @lucasmichot
- Fix CI flags (#822) @lucasmichot
- Cache composer dependencies in Actions (#824) @lucasmichot
- Enforce PSR4 namespaces on tests (#825) @lucasmichot
- Reformat fixture files (#826) @lucasmichot
- Use getShopifyConfig() instead of env() (#827) @lucasmichot
- Remove unneeded multiple condition check (#829) @lucasmichot
- Simplify some condition checking (#830) @lucasmichot
- Enforce time-safe string comparison with Carbon (#831) @lucasmichot
- Set specific CI flags (#832) @lucasmichot
- Improve code coverage on tests (#833) @lucasmichot
- Introduce static analysis to Actions (#834) @lucasmichot
- Remove useless dependencies (#835) @lucasmichot
- Move issue template to Github folder (#836) @lucasmichot
- Simplify and cleanup .gitignore file (#837) @lucasmichot
- Simplify and clean up .gitattributes file (#838) @lucasmichot
- Update composer.json (#839) @lucasmichot
- Use ::class notations for route controller access (#841) @lucasmichot
- Use CarbonImmutable for tests (#842) @lucasmichot
- Remove useless methods (#843) @lucasmichot
- Introduction of Util class, replace all helpers (#844) @lucasmichot
- Use Util::getShopifyConfig() over env() (#846) @lucasmichot
- Merged feature/cookieless (#847) @osiset
- Remove and ignore /build folder (#848) @lucasmichot
- Webhooks GraphQL support (#849) @onurkose