-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bumped version of the components and dropped old versions. #29
base: 2.5.x
Are you sure you want to change the base?
Changes from 7 commits
f89adfb
fd08a75
0e5bd1c
df6c8c9
514f121
63c83ec
30452bb
831b12d
37a292a
bfadae4
41484ce
96367b5
5760ca9
001b8d0
5381ab8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,10 @@ | |
"forum": "https://discourse.laminas.dev" | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
}, | ||
"extra": { | ||
"laminas": { | ||
|
@@ -32,16 +35,16 @@ | |
"php": "^7.3 || ~8.0.0", | ||
"laminas-api-tools/api-tools": "^1.3", | ||
"laminas-api-tools/api-tools-rest": "^1.3.2", | ||
"laminas/laminas-hydrator": "^2.4.2 || ^3.0", | ||
"laminas/laminas-hydrator": "^2.4.2 || ^3.0 || ^4.0", | ||
"laminas/laminas-stdlib": "^3.3", | ||
"laminas/laminas-view": "^2.11.3", | ||
"laminas/laminas-zendframework-bridge": "^1.0", | ||
"phpro/zf-doctrine-hydration-module": "^2.0.1 || ^3.0 || ^4.1" | ||
"api-skeletons/doctrine-orm-hydration-module": "^1.0" | ||
}, | ||
"require-dev": { | ||
"doctrine/doctrine-module": "^1.2.0 || ^2.1.7", | ||
"doctrine/doctrine-module": "^4.0 || ^5.1", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should test only There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Ocramius I didn't dropped 4.0 because we have this dependency: https://github.com/API-Skeletons/doctrine-orm-hydration-module/blob/master/composer.json#L28 And this external module won't allow us to use only 5.1 version. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So we aren't testing There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe I should do fix there? I forked this module and it works well with ^5.1. The problem is that to do this I forked 3 modules, that have a dependencies, this is why I committed here ^5.1. I think it makes sense to make PR there and after to finish this one. Right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, so here's what is not clear to me:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tasselchof API Skeletons is my org. If you need an update on the hydration module in support of your changes here, that can be arranged. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @TomHAnderson hi! I already made PR to add this module, locally tests are passing: API-Skeletons/doctrine-orm-hydration-module#4. If you merge it I can resume here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Ocramius what is the best way further? Now it works fine with ORM, but here is the deal:
And I never used ODM module and we don't have hydration module as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @TomHAnderson hydration module is tested on php 8.0? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @TomHAnderson I've did it: API-Skeletons/doctrine-orm-hydration-module#6. |
||
"doctrine/doctrine-mongo-odm-module": "^0.11.0 || ^1.0.0 || ^2.0.0", | ||
"doctrine/doctrine-orm-module": "^1.1.8 || ^2.1.3", | ||
"doctrine/doctrine-orm-module": "^4.0 || ^5.1", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should test only |
||
"doctrine/mongodb-odm": "^1.1.0", | ||
"laminas-api-tools/api-tools-admin": "^1.5.7", | ||
"laminas-api-tools/api-tools-hal": "^1.6.1", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's drop
^2
here - keeping only two majors, which is sufficient for a migration