Skip to content
This repository was archived by the owner on Sep 3, 2026. It is now read-only.

[WIP] 7.0 kernel branch - #1875

Merged
andrerom merged 34 commits into
masterfrom
7.0
Dec 15, 2017
Merged

andrerom merged 34 commits into
masterfrom
7.0

Conversation

@andrerom

@andrerom andrerom commented Jan 5, 2017 •

Copy link
Copy Markdown
Contributor

Related eZ Platform branch: ezsystems/ezplatform#167

This is a WIP PR, changes will come via PR's against this branch. Beneath are some candidates that can be looked into as part of this version bump, however this is not complete list, but rather a living document of technical kernel changes we want to aim for.

Branch info

7.0 branch is acting as a sort of develop branch (ref: git flow), this means the following for contributors and mergers:

Info for contributors (PRs)

Keep on targeting normal changes towards master or stable branches as normal, only breaking changes goes just into 7.0 branch.

E.g: For features that are also relevant to 6.x typically point a PR in a bc safe way towards master, if there is intention for bc breaks in 7.0 on the change that can be kept as temp commit in PR during review. If so merger takes care about applying the relevant changes to master and the 7.0 only there once master is "merged up" into 7.0.

Info for mergers

Specifically, when merging things into master, either from PR or stable branches, try to merge them up into 7.0 afterwards by merging master into 7.0.

7.0 Changes

Done:

  • Bump requirements to Symfony 3.2 (and sensio/distribution-bundle to 5.x)
  • Bump requirements to PHP 7.0 as it is available as of Ubuntu 16.04, Debian 9 and RHSCL 2.3.
  • Change from Stash to Symfony Cache
    • Add doc on this in doc/bc/7.0.md
  • Fixed postgres schema to use conventional sequences ([PostgreSQL] Change sequences naming to conform to SERIAL type #1906)
  • Removed use of ZetaComponents and QaFoo/RMF

Work In progress/proposed:

Candidates for contribution:

To be done as PRs against this branch, if you want to help tackle any of these just comment below.
Side: these notes should be moved over to epics or specs.

  • API:
    • DX efforts to reduce need for helpers, and enrich model for less verbose use by taking advantage of API Cache.
      • Languages (get just what you need, avoid helper use), multi get on value objects, ContentTypeInfo (name, identifier, group meta info, fields meta info, should only need 1 spi lookup, not the heavy building current content type has), add contentTypeInfo on ContentInfo, add Content on Location to make Location root, add LocationInfo to be used where you don't need content (can be used for main location on ContentInfo) , ..
    • Type hint search results
  • Other possible changes: backend_updates branch
  • Field types:
    • Look into simplifying use (across value, type, search index, repo forms, ui, .. use)
  • Installer:
  • Git split:
  • Refactor to remove:
    • Buzz (can be swapped for HTTPlug as used by FOSHttpCache 2.0, see below)
  • Update:

TODO:

  • DON'T MERGE THIS FROM GITHUB INTERFACE! Once ready, just close this PR, merge changes into master from git, and re configure master to 7.1! (leaving this branch for 7.0 release)
  • ADD UPGRADE DOC (even empty if not really needed)

@yukoff

yukoff commented Feb 15, 2017

Copy link
Copy Markdown

JFI: FOSHttpCache got 2.0.0-beta1 recently

@andrerom andrerom mentioned this pull request Feb 24, 2017
3 tasks
@andrerom
andrerom force-pushed the 7.0 branch 2 times, most recently from d604835 to 595fa8d Compare March 2, 2017 08:45
@andrerom
andrerom force-pushed the 7.0 branch 3 times, most recently from ad5bc71 to 916637a Compare March 21, 2017 09:44
@andrerom
andrerom force-pushed the 7.0 branch 3 times, most recently from 7542bcc to e462d04 Compare May 10, 2017 13:57
@andrerom
andrerom force-pushed the 7.0 branch 4 times, most recently from 147d988 to c1fca2c Compare October 16, 2017 14:52
@ezsystems ezsystems deleted a comment from ezrobot Nov 16, 2017
André R and others added 10 commits November 24, 2017 15:28
…all in one go when building LocationSearchResult
#2150)

* EZP-28247: Creating an new object state does not clear the group cache

This clears the object state group cache when a new object state is created

* Use same cache key as loadObjectStates

* fix the key in loadObjectStates instead
…2159)

* EZP-28269: Aligned Time::fromTimestamp with DateAndTime::fromTimestamp

* EZP-28269: Fixed Unit Tests

* EZP-28269: Fixed eztime integration tests

* [Doc] EZP-28269: Updated 7.0 BC doc
…ime value (#2162)

* EZP-28309: Forces date formatter to use UTC timezone to display correct eztime value

* [Doc] EZP-28269: Updated 7.0 BC doc
André R and others added 7 commits November 28, 2017 09:53
* [7.0] Update install instructions

Now that we require PHP 7.1 and have greatly improved performance of backend placing hinst on performance tuning does not need to take space here anymore.

Besides that:
- updated to use dev, with symfony 3 builtin server is only available in dev by default
- update to use `/admin` url for backend
- somewhat simplified the text a bit

Open question:
- Do we need to run the assetic:dump command? As it's already ran by composer create-project which is what has been done when this is shown, ok if I remove?

* Update ScriptHandler.php

* Update ScriptHandler.php

* Update ScriptHandler.php
@ezsystems ezsystems deleted a comment from ezrobot Dec 11, 2017
webhdx and others added 9 commits December 11, 2017 16:37
…ype (#2178)

* EZP-28410: Adds selection limit setting to ezobjectrelationlist fieldtype

* EZP-28410: Moves selection limit from `fieldSettings` to `validators` and provides value validation

* EZP-28410: Adds deprecation annotations to Relation fieldtype
…ng ContentType (#2185)

* [Persistence Cache] Invalidated ContentTypeGroup on ContentType publish

* [Unit tests] Updated Cache tests to align with the change

* Created Integration test uncovering the bug
…t of eZ Platform v2 - part 1 (#2166)

* [Travis] Updated ezplatform docker-compose files paths

* [7.0] Updated prepare_behat script to use new meta-repository script

* [Travis] Replaced hardcoded PHP version with proper one for current job

* [Integration Tests] Changed internal name of Sf Cache adapters list

Sf 3.4 compatibility

* [Travis] Added missing EZP-27752 create language command

* EZP-27752: Added Sf command ez:behat:create-language for behat tests

The introduced for behat env command ez:behat:create-language
allows to avoid skipping test for related feature of
deleting Translation from Draft

* [Composer] Bumped Symfony requirement to 3.4 LTS

* [Travis] Simplified and adjusted .travis.yml to meta-repository changes

* [REST] Marked REST Behat test of user content feature as broken

Editing ezuser with ContentService is supported by
PlatformUIBundle (v1) only.

* [TMP] Switched ezplatform branch for behat tests

* [Composer] Change back to use 2.0 branch

* Skip updating docker

[skip ci]

* Temprary disable Function tests to get 7.0 green

[skip ci]
* WIP: Conservative 7.0 API deprecation removal

* Add new SearchResult for Trash with same design as being added for URL, keep bc for count param (could not found usage of ->query)

* Fix getMock usage

* Remove remaining TranslationInfo/Value and removePolicy() code
@andrerom
andrerom merged commit d11e6e1 into master Dec 15, 2017
@andrerom

Copy link
Copy Markdown
Contributor Author

Master is now 7.1! 🌮

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

7 participants