Skip to content

Commit

Permalink
clean up upgrade notes, add p6.1 to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed Aug 22, 2019
1 parent 9842944 commit 209ae9f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 66 deletions.
21 changes: 16 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ env:
- SYMFONY_VERSION=^4.0
matrix:
include:
- name: "PHPStan Static Analysis (Pimcore 6.0.x, Symfony ^4.0, PHP 7.3)"
- name: "PHPStan Static Analysis (Pimcore 6.1.x, Symfony ^4.0, PHP 7.3)"
sudo: required
php: 7.3
env:
- PIMCORE_SKELETON_BRANCH="tags/v2.0.0"
- PIMCORE_SKELETON_BRANCH="tags/v2.1.0"
- DACHCOM_TEST_SECTION=phpstan
- name: "PHP ECS (Pimcore 6.0.x, Symfony ^4.0, PHP 7.3)"
- name: "PHP ECS (Pimcore 6.1.x, Symfony ^4.0, PHP 7.3)"
sudo: required
php: 7.3
env:
- PIMCORE_SKELETON_BRANCH="tags/v2.0.0"
- PIMCORE_SKELETON_BRANCH="tags/v2.1.0"
- DACHCOM_TEST_SECTION=ecs
- name: "Codeception Tests (Pimcore 6.0.x, Symfony ^4.0, PHP 7.2)"
sudo: required
Expand All @@ -51,9 +51,20 @@ matrix:
env:
- SYMFONY_VERSION=^3.4
- PIMCORE_SKELETON_BRANCH="tags/v2.0.0"
- name: "Codeception Tests (Pimcore 6.1.x, Symfony ^4.0, PHP 7.3)"
sudo: required
php: 7.3
env:
- PIMCORE_SKELETON_BRANCH="tags/v2.1.0"
- name: "Codeception Tests (Pimcore 6.1.x, Symfony ^3.4, PHP 7.3)"
sudo: required
php: 7.3
env:
- SYMFONY_VERSION=^3.4
- PIMCORE_SKELETON_BRANCH="tags/v2.1.0"
allow_failures:
- env:
- PIMCORE_SKELETON_BRANCH="tags/v2.0.0"
- PIMCORE_SKELETON_BRANCH="tags/v2.1.0"
- DACHCOM_TEST_SECTION=ecs
fast_finish: true

Expand Down
64 changes: 3 additions & 61 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,72 +6,14 @@
After every update you should check the pimcore extension manager.
Just click the "update" button or execute the migration command to finish the bundle update.

#### Update from Version 3.0.0 to Version 3.1.0
#### Update from Version 3.0 to Version 3.1.0
- **[NEW FEATURE]**: Allow [pimcore redirect modification](https://github.com/dachcom-digital/pimcore-i18n/issues/33).
- **[BUGFIX]**: Disable context switch event if [pimcore full page cache](https://github.com/dachcom-digital/pimcore-i18n/issues/18) is enabled
- **[BUGFIX]**: Fix context on [xliff export](https://github.com/dachcom-digital/pimcore-i18n/issues/28)

#### Update from Version 2.x to Version 3.0.0
#### Version 3.0.0
- **[NEW FEATURE]**: Pimcore 6.0.0 ready

***

#### Update from Version 2.3.x to Version 2.4.0
- **[ATTENTION]**: Installer has moved to the [MigrationBundle](https://github.com/dachcom-digital/pimcore-i18n/issues/19). After updating to this version you need to enable this extension again!
- **[BUGFIX]**: [Check Pimcore Context on Kernel Response](https://github.com/dachcom-digital/pimcore-i18n/pull/26)
- **[NEW FEATURE]**: Pimcore 5.6.0 ready
- ([Milestone for 2.4.0](https://github.com/dachcom-digital/pimcore-i18n/milestone/3?closed=1))

#### Update from Version 2.3.2 to Version 2.3.3
- implemented [PackageVersionTrait](https://github.com/pimcore/pimcore/blob/master/lib/Extension/Bundle/Traits/PackageVersionTrait.php)

#### Update from Version 2.2.x to Version 2.3
> **IMPORTANT**: Version 2.3.0 comes with a lot BC Breaks, so check your installation after upgrading!
- **[MAINTENANCE]**: the document property `country` has been removed. Please remove this property from your documents and also from the predefined property list
- **[NEW FEATURE]**: [redirector adapter](./docs/51_RedirectorAdapter.md) implemented
- **[BC BREAK]**: setting `default_language` has been removed, use `default_locale` instead
- **[BC BREAK]**: setting `default_country` has been removed, use `default_locale` instead
- **[BC BREAK]**: setting and service `language_adapter` has been removed, use `locale_adapter` instead
- **[BC BREAK]**: setting and service `country_adapter` has been removed, use `locale_adapter` instead
- **[BC BREAK]**: `getCurrentContextInfo()` does not allow a `$locale` argument anymore
- **[DEPRECATION REMOVED]**: `getActiveCountryLocalizations()` removed from Country Adapter

#### Update from Version 2.1.x to Version 2.2
- **[BC BREAK]**: Zones now need to be configured as identifier:

Instead of
```yml
zones:
-
id: 1
name: 'zone 1'
[...]
-
id: 2
name: 'zone 2'
[...]
```
use
```yml
zones:
zone1:
id: 1
name: 'zone 1'
[...]
zone2:
id: 2
name: 'zone 2'
[...]
```

#### Update from Version 2.0.x to Version 2.1
- `global_prefix` has been removed, please update your i18n config parameters (remove it before you updating).
- static route handler implemented
- translatable static route fragments implemented

***

#### Update from Version 1.x to Version 2.0.0
Event `website.i18nSwitch`: `I18nEvents::CONTEXT_SWITCH`
Event `website.i18n.staticRoute.alternate`: `I18nEvents::PATH_ALTERNATE_STATIC_ROUTE`
Upgrade History for 2.x: [Click here](https://github.com/dachcom-digital/pimcore-i18n/blob/2.4/UPGRADE.md).

0 comments on commit 209ae9f

Please sign in to comment.