Skip to content

Commit 9fcbd90

Browse files
committed
Merge remote-tracking branch 'upstream/master' into feature/translations
2 parents 8cc7b96 + 00e56d3 commit 9fcbd90

File tree

92 files changed

+2658
-1315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+2658
-1315
lines changed

.github/workflows/dusk.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
include:
19+
- magento-version: 2.4.7-p2
20+
magento-php-version: php82-fpm
21+
rapidez-php-version: 8.2
22+
- magento-version: 2.4.7-p2
23+
magento-php-version: php83-fpm
24+
rapidez-php-version: 8.3
1925
- magento-version: 2.4.7-p3
2026
magento-php-version: php82-fpm
2127
rapidez-php-version: 8.2
@@ -29,7 +35,7 @@ jobs:
2935
env:
3036
URL: http://localhost:1234/
3137
FLAT_TABLES: true
32-
CUSTOM_ENTRYPOINT_COMMAND: "php bin/magento encryption:key:change -k 5AM3SD5SkwT8iwIxL6L1q8XQhzK3wk51; magerun2 config:store:set system/smtp/disable 1; magerun2 config:store:set checkout/options/enable_guest_checkout_login 1f"
38+
CUSTOM_ENTRYPOINT_COMMAND: "php bin/magento encryption:key:change -k 5AM3SD5SkwT8iwIxL6L1q8XQhzK3wk51; magerun2 config:store:set system/smtp/disable 1; magerun2 config:store:set checkout/options/enable_guest_checkout_login 1"
3339
ports:
3440
- 3307:3306
3541
- 9200:9200

.github/workflows/phpunit.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,12 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
php: [8.1, 8.2, 8.3]
19-
laravel: [10.*, 11.*]
18+
php: [8.2, 8.3]
19+
laravel: [11.*]
2020
stability: [prefer-lowest, prefer-stable]
2121
include:
22-
- laravel: 10.*
23-
testbench: 8.*
2422
- laravel: 11.*
2523
testbench: 9.*
26-
exclude:
27-
- laravel: 11.*
28-
php: 8.1
2924

3025
services:
3126
mysql:

.prettierignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
.git
55
**/*.php
66
!**/*.blade.php
7-
/resources/views/cart/queries/cart.graphql
8-
/resources/views/cart/queries/partials/customizable_options.graphql
7+
/resources/views/cart/queries/*.graphql
8+
/resources/views/cart/queries/**/*.graphql
9+
/resources/views/checkout/queries/*.graphql
10+
/resources/views/checkout/queries/**/*.graphql
11+
/resources/views/customer/queries/*.graphql
12+
/resources/views/customer/queries/**/*.graphql
913
composer.lock
1014
CHANGELOG.md

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Changelog
22

3-
[Unreleased changes](https://github.com/rapidez/core/compare/2.13.0...2.13.0)
3+
[Unreleased changes](https://github.com/rapidez/core/compare/2.14.0...2.14.0)
4+
## [2.14.0](https://github.com/rapidez/core/releases/tag/2.14.0) - 2024-10-17
5+
6+
### Changed
7+
8+
- Updated the frontend dependencies including Vite 5 (#584)
9+
- Drop support for Magento 2.4.5 (#589)
10+
11+
### Fixed
12+
13+
- Filter out double slashes from API endpoints (#559)
14+
- Fix casts in quote model (#542)
15+
- Correct error message when placing an order fails (#599)
16+
417
## [2.13.0](https://github.com/rapidez/core/releases/tag/2.13.0) - 2024-09-27
518

619
### Changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
"php": "^8.1|^8.2|^8.3",
2020
"blade-ui-kit/blade-heroicons": "^2.4",
2121
"mailerlite/laravel-elasticsearch": "^11.1",
22-
"illuminate/database": "^10.0|^11.0",
23-
"illuminate/events": "^10.0|^11.0",
24-
"illuminate/queue": "^10.0|^11.0",
25-
"illuminate/support": "^10.0|^11.0",
22+
"illuminate/database": "^11.0",
23+
"illuminate/events": "^11.0",
24+
"illuminate/queue": "^11.0",
25+
"illuminate/support": "^11.0",
2626
"lcobucci/clock": "^2.0|^3.2",
2727
"lcobucci/jwt": "^4.0|^5.3",
2828
"rapidez/blade-directives": "^0.6",

config/rapidez/frontend.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
// add different steps for different stores. Keep
2727
// them lowercase and do not include any spaces.
2828
'checkout_steps' => [
29-
'default' => ['cart', 'login', 'credentials', 'payment', 'success'],
29+
// 'default' => ['onestep'],
30+
'default' => ['login', 'credentials', 'payment'],
3031
],
3132

3233
'autocomplete' => [

config/rapidez/routing.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77

88
// The fully qualified class names of the controllers.
99
'controllers' => [
10-
'page' => Rapidez\Core\Http\Controllers\PageController::class,
11-
'product' => Rapidez\Core\Http\Controllers\ProductController::class,
12-
'category' => Rapidez\Core\Http\Controllers\CategoryController::class,
10+
'category' => Rapidez\Core\Http\Controllers\CategoryController::class,
11+
'checkout' => Rapidez\Core\Http\Controllers\CheckoutController::class,
12+
'checkout-success' => Rapidez\Core\Http\Controllers\CheckoutSuccessController::class,
13+
'fallback' => Rapidez\Core\Http\Controllers\FallbackController::class,
14+
'healthcheck' => Rapidez\Core\Http\Controllers\HealthcheckController::class,
15+
'page' => Rapidez\Core\Http\Controllers\PageController::class,
16+
'product' => Rapidez\Core\Http\Controllers\ProductController::class,
17+
'search' => Rapidez\Core\Http\Controllers\SearchController::class,
1318
],
1419

1520
'fallback' => [

lang/vendor/rapidez/en/frontend.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
'email' => 'An email address is required.',
2424
],
2525

26+
'filters' => [
27+
'no' => 'No',
28+
'yes' => 'Yes',
29+
],
30+
2631
'asc' => 'asc',
2732
'desc' => 'desc',
2833
'relevance' => 'Relevance',

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@
1414
"@tailwindcss/typography": "^0.5.9",
1515
"@vitejs/plugin-vue2": "^2.2.0",
1616
"@vueuse/core": "^11.1.0",
17+
"@vueuse/integrations": "^10.11.0",
1718
"autoprefixer": "^10.4.15",
1819
"cross-env": "^7.0.3",
20+
"graphql": "^16.8.1",
21+
"graphql-combine-query": "indykoning/graphql-combine-query#feature/add-allowed-duplicates",
22+
"graphql-tag": "^2.12.6",
1923
"laravel-vite-plugin": "^1.0.5",
2024
"postcss": "^8.4.29",
2125
"postcss-import": "^16.1.0",
@@ -24,6 +28,7 @@
2428
"rollup-plugin-visualizer": "^5.9.0",
2529
"tailwind-scrollbar-hide": "^1.1.7",
2630
"tailwindcss": "^3.3.3",
31+
"universal-cookie": "^7.1.4",
2732
"vite": "^5.0",
2833
"vue": "^2.7",
2934
"vue-clickaway": "^2.2.2",

phpunit.dusk.xml.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,15 @@
2727
<env name="CRYPT_KEY" value="5AM3SD5SkwT8iwIxL6L1q8XQhzK3wk51"/>
2828
<env name="APP_DEBUG" value="true"/>
2929
<env name="VITE_DEBUG" value="true"/>
30+
<env name="APP_MAINTENANCE_STORE" value="file"/>
3031
<env name="DB_CONNECTION" value="mysql"/>
3132
<env name="DB_HOST" value="127.0.0.1"/>
3233
<env name="DB_PORT" value="3307"/>
3334
<env name="DB_DATABASE" value="magento"/>
3435
<env name="DB_USERNAME" value="magento"/>
3536
<env name="DB_PASSWORD" value="password"/>
37+
<env name="CACHE_STORE" value="file"/>
38+
<env name="QUEUE_CONNECTION" value="sync"/>
39+
<env name="SESSION_DRIVER" value="file"/>
3640
</php>
3741
</phpunit>

0 commit comments

Comments
 (0)