orchestral / tenanti

[Package] Multi-tenant Database Schema Manager for Laravel
MIT License
587 stars 53 forks source link

when multi tenant 3.4 will be release? #32

Closed abdullah-abunada closed 7 years ago

abdullah-abunada commented 7 years ago

Hello Orchestral Team, When multi tenant 3.4.X@dev will be release? Because I want to upgrade form laravel 5.3 to 5.4 urgently.

Best.

crynobone commented 7 years ago

Probably in a month or two. Well if you have the time to test it you can do so right by with 3.4@dev and give any feedback here. Otherwise feel free to wait.

joaoguilhermels commented 7 years ago

Hi,

I just tried "composer require "orchestra/tenanti" --dev" in fresh spark project and I received the following messages:

  Problem 1
    - orchestra/tenanti v3.3.4 requires illuminate/console ~5.3.26 -> satisfiable by illuminate/console[5.3.x-dev] but these conflict with your requirements or minimum-stability.
    - orchestra/tenanti v3.3.3 requires illuminate/console ~5.3.26 -> satisfiable by illuminate/console[5.3.x-dev] but these conflict with your requirements or minimum-stability.
    - orchestra/tenanti v3.3.2 requires illuminate/console ~5.3.26 -> satisfiable by illuminate/console[5.3.x-dev] but these conflict with your requirements or minimum-stability.
    - Conclusion: remove laravel/framework v5.4.12
    - Conclusion: don't install laravel/framework v5.4.12
    - orchestra/tenanti v3.3.0 requires illuminate/filesystem ~5.3.0 -> satisfiable by illuminate/filesystem[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
    - orchestra/tenanti v3.3.1 requires illuminate/filesystem ~5.3.0 -> satisfiable by illuminate/filesystem[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
    - don't install illuminate/filesystem v5.3.0|don't install laravel/framework v5.4.12
    - don't install illuminate/filesystem v5.3.16|don't install laravel/framework v5.4.12
    - don't install illuminate/filesystem v5.3.23|don't install laravel/framework v5.4.12
    - don't install illuminate/filesystem v5.3.4|don't install laravel/framework v5.4.12
    - Installation request for laravel/framework (locked at v5.4.12, required as 5.4.*) -> satisfiable by laravel/framework[v5.4.12].
    - Installation request for orchestra/tenanti ^3.3 -> satisfiable by orchestra/tenanti[v3.3.0, v3.3.1, v3.3.2, v3.3.3, v3.3.4].
crynobone commented 7 years ago

Add "minimum-stability": "dev" and "prefer-stable": true

https://getcomposer.org/doc/04-schema.md#minimum-stability https://getcomposer.org/doc/04-schema.md#prefer-stable

pedzed commented 7 years ago

@crynobone Isn't that bad practice though? Why do we need to change minimum-stability for all dependencies, just to get this working?

@joaoguilhermels I added this to require of composer.json:

"orchestra/support": "~3.4@dev",
"orchestra/contracts": "~3.4@dev",
"orchestra/tenanti": "~3.4@dev"

Then I ran:

composer update

It seems to work.

crynobone commented 7 years ago

If one of those dependency has a stable tag and then introduce a bug, you're pulling the latest dev with bug. Best practise? up to you to decide.

crynobone commented 7 years ago

And "prefer-stable": true would already ensure that all other dependencies would have use stable release except if one can't be resolved with.