Skip to content

Commit dfad40d

Browse files
Merge pull request #2356 from dpfaffenbauer/release/4.0.0-beta.1
[Release] 4.0.0-beta.1
2 parents 62156a3 + 1f3f936 commit dfad40d

File tree

12 files changed

+30
-62
lines changed

12 files changed

+30
-62
lines changed

.github/workflows/behat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Behat
22
on:
33
push:
4-
branches: [ '3.0', '3.1', 'next' ]
4+
branches: [ '4.0' ]
55
pull_request:
6-
branches: [ '3.0', '3.1', 'next' ]
6+
branches: [ '4.0' ]
77
release:
88
types: [ created ]
99
schedule:

.github/workflows/behat_ui.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Behat UI
22
on:
33
push:
4-
branches: [ '3.0', '3.1', 'next' ]
4+
branches: [ '4.0' ]
55
pull_request:
6-
branches: [ '3.0', '3.1', 'next' ]
6+
branches: [ '4.0' ]
77
release:
88
types: [ created ]
99
schedule:

.github/workflows/codestyles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
branch: [ '3.0', '3.1', 'next' ]
18+
branch: [ '4.0' ]
1919

2020
steps:
2121
- uses: actions/checkout@v3

.github/workflows/docs.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/docs_next.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Docs
22
on:
33
push:
4-
branches: [ 'next' ]
4+
branches: [ '4.0' ]
55
paths:
66
- 'docs/**'
77

@@ -30,8 +30,8 @@ jobs:
3030

3131
- name: Upload Folder
3232
uses: 'google-github-actions/upload-cloud-storage@v0'
33-
if: github.ref == 'refs/heads/next'
33+
if: github.ref == 'refs/heads/4.0'
3434
with:
3535
path: 'docs/build/'
36-
destination: 'cors-wolke-coreshop-docs/next'
36+
destination: 'cors-wolke-coreshop-docs/4.0.0'
3737
parent: false

.github/workflows/gitsplit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- 2.2
99
- 3.0
1010
- 3.1
11+
- 4.0
1112
release:
1213
types: [ published ]
1314

.github/workflows/packages_bundles.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Packages Bundles
22
on:
33
push:
4-
branches: [ '3.0', '3.1', 'next' ]
4+
branches: [ '4.0' ]
55
pull_request:
6-
branches: [ '3.0', '3.1', 'next' ]
6+
branches: [ '4.0' ]
77
release:
88
types: [ created ]
99
schedule:

.github/workflows/packages_components.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Packages Components
22
on:
33
push:
4-
branches: [ '2.2', '3.0', '3.1', 'next' ]
4+
branches: [ '4.0' ]
55
pull_request:
6-
branches: [ '2.2', '3.0', '3.1', 'next' ]
6+
branches: [ '4.0' ]
77
release:
88
types: [ created ]
99
schedule:

.github/workflows/static.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Static Tests (Lint, Stan)
22
on:
33
push:
4-
branches: [ '2.2', '3.0', '3.1', 'next' ]
4+
branches: [ '4.0' ]
55
pull_request:
6-
branches: [ '2.2', '3.0', '3.1', 'next' ]
6+
branches: [ '4.0' ]
77
release:
88
types: [ created ]
99
schedule:

CHANGELOG-4.0.x.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# 4.0.0-beta.1
2+
3+
> CoreShop 4.0.0 is the same as 3.1.0, but with Pimcore 11 compatibility. Updating CoreShop therefore is quite easy. Since Symfony now doesn't have a full container anymore, we use Service Containers now for our Controllers. So your overwritten Controllers probably need changes.
4+
5+
- Pimcore 11 Compatibility (https://github.com/coreshop/CoreShop/pull/2252, https://github.com/coreshop/CoreShop/pull/2340, https://github.com/coreshop/CoreShop/pull/2345, https://github.com/coreshop/CoreShop/pull/2352, https://github.com/coreshop/CoreShop/pull/2321, https://github.com/coreshop/CoreShop/pull/2347)

docs/docs/01_Getting_Started/02_Upgrade_Notes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
Always check this page for some important upgrade notes before updating to the latest coreshop build.
44

5+
# 4.0.0-beta.1
6+
7+
> CoreShop 4.0.0 is the same as 3.1.0, but with Pimcore 11 compatibility. Updating CoreShop therefore is quite easy. Since Symfony now doesn't have a full container anymore, we use Service Containers now for our Controllers. So your overwritten Controllers probably need changes.
8+
9+
- Pimcore 11 Compatibility (https://github.com/coreshop/CoreShop/pull/2252, https://github.com/coreshop/CoreShop/pull/2340, https://github.com/coreshop/CoreShop/pull/2345, https://github.com/coreshop/CoreShop/pull/2352, https://github.com/coreshop/CoreShop/pull/2321, https://github.com/coreshop/CoreShop/pull/2347)
10+
511
## Pimcore 10.6
612
If you update to Pimcore 10.6 and you get following error: ```"You have requested a non-existent parameter "coreshop.model.user.class"``` then check if you have this config in your `security.yaml`:
713

src/CoreShop/Bundle/CoreBundle/Application/Version.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,19 @@
2020

2121
final class Version
2222
{
23-
public const MAJOR_VERSION = '3';
23+
public const MAJOR_VERSION = '4';
2424

25-
public const MINOR_VERSION = '1';
25+
public const MINOR_VERSION = '0';
2626

2727
public const RELEASE_VERSION = '0';
2828

29-
public const EXTRA_VERSION = '';
29+
public const EXTRA_VERSION = 'beta.1';
3030

3131
public static function getVersion(): string
3232
{
3333
$version = sprintf('%s.%s.%s', self::MAJOR_VERSION, self::MINOR_VERSION, self::RELEASE_VERSION);
3434

35+
/** @psalm-suppress RedundantCondition */
3536
if (self::EXTRA_VERSION !== '') {
3637
$version = sprintf('%s-%s', $version, self::EXTRA_VERSION);
3738
}

0 commit comments

Comments
 (0)