xp-framework / core

The XP Framework is an all-purpose, object oriented PHP framework.
Other
19 stars 6 forks source link

XP 11 compatibility #300

Closed thekid closed 2 years ago

thekid commented 3 years ago

This issue tracks all libraries compatible with XP 11

By releasing patch level releases

xp-framework

xp-forge

xp-lang

As part of a major release

xp-framework

xp-forge

thekid commented 3 years ago

Tested https://github.com/thekid/shorturl with the following diff:

diff --git a/composer.json b/composer.json
index bc4d547..8b74924 100755
--- a/composer.json
+++ b/composer.json
@@ -6,8 +6,8 @@
   "description" : "ShortURL service in the XP Framework",
   "keywords": ["xp"],
   "require" : {
-    "xp-framework/core": "^10.0",
-    "xp-framework/compiler": "^6.0",
+    "xp-framework/core": "dev-main as 11.0.0",
+    "xp-framework/compiler": "^7.0",
     "xp-framework/rdbms": "^13.0",
     "xp-forge/inject": "^5.0",
     "xp-forge/web": "^3.0"

The upgrade log is the following:

thekid commented 3 years ago

Tested https://github.com/thekid/cas with the following diff:

diff --git a/composer.json b/composer.json
index 2eafad2..ee49481 100755
--- a/composer.json
+++ b/composer.json
@@ -4,15 +4,15 @@
   "license": "BSD",

   "require": {
-    "xp-framework/core": "^10.0",
-    "xp-framework/compiler": "^6.3",
-    "xp-framework/command": "^10.0",
+    "xp-framework/core": "dev-main as 11.0.0",
+    "xp-framework/compiler": "^7.0",
+    "xp-framework/command": "^11.0",
     "xp-framework/rdbms": "^13.0",
-    "xp-framework/xml": "^10.0",
-    "xp-forge/web": "^2.6",
+    "xp-framework/xml": "^11.0",
+    "xp-forge/web": "^3.0",
     "xp-forge/sessions": "^2.0",
     "xp-forge/inject": "^5.0",
-    "xp-forge/handlebars": "^5.0",
+    "xp-forge/handlebars": "^7.0",
     "xp-forge/hashing": "^2.0",
     "xp-forge/credentials": "^2.0",
     "xp-forge/google-authenticator": "^5.0",

The upgrade log is the following:

thekid commented 3 years ago

XP 11 is now released!

https://github.com/xp-framework/core/releases/tag/v11.0.0

thekid commented 3 years ago

TODOs left at this point:

thekid commented 2 years ago

TODOs left at the end of February 2022:

$ grep 'xp-framework/core' */composer.json | grep -v ^core | grep -v 11.0
caching/composer.json:    "xp-framework/core": "^10.0 | ^9.0 | ^8.0 | ^7.0",
imaging/composer.json:    "xp-framework/core": "^10.0 | ^8.0 | ^7.0",
patterns/composer.json:    "xp-framework/core": "^10.0 | ^9.0 | ^8.0 | ^7.0",
pivot/composer.json:    "xp-framework/core": "^10.0 | ^9.0 | ^8.0 | ^7.0",
ratelimit/composer.json:    "xp-framework/core": "^10.0 | ^9.0 | ^8.0 | ^7.0",
webtest/composer.json:    "xp-framework/core": "^10.0 | ^9.0 | ^8.0",
thekid commented 2 years ago
$ grep 'xp-framework/core' */composer.json | grep -v ^core | grep -v 11.0 | wc -l
0

Done 🎉