Skip to content
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

[3.x] Laravel 7 Support #1715

Merged

Conversation

harlan-zw
Copy link

This is a potentially breaking update. With Laravel 7 there is new min requirements of PHP 7.2.5 (https://laravel.com/docs/7.x/upgrade#upgrade-7.0).

There is no way for dingo/api to work with PHP < 7 with implementing Throwable, not sure if that's an issue.

Note: dingo/blueprint has been removed as a core dependency. Ideally it wouldn't be a core package anymore and just exist as an optionally add-on. For now it can be re-added once there's a version with l7 support.

@harlan-zw harlan-zw mentioned this pull request Mar 9, 2020
@lloricode
Copy link
Contributor

Hi laravel/lumen 7 not install here, that why no error occurs.

dingo/blueprint need first to supprt laravel 7

Copy link
Contributor

@lloricode lloricode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dingo/blueprint need supprt for laravel 7, or maybe can remove to this, that must me optional, since that is not part of a core

@@ -13,24 +13,23 @@
"email": "jason.lewis1991@gmail.com"
}],
"require": {
"php": "^7.1",
"dingo/blueprint": "^0.3",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not support in laravel 7

@lloricode
Copy link
Contributor

you can check installed laravel version on your local, before running test

@bbashy bbashy mentioned this pull request Mar 11, 2020
@specialtactics specialtactics changed the base branch from master to feature/laravel-7 March 12, 2020 13:21
@specialtactics
Copy link
Member

Good work on this

I believe the blueprint package is needed for the docs generation, so we cannot drop that at this stage. Can you please put it back in, we will need to make it laravel 7 compatible also.

Also fix conflicts.

I created a new branch to work on laravel 7 compatibility, will get this merged into it.

@specialtactics
Copy link
Member

I tagged blueprint as v0.4.0 for laravel 7.
https://github.com/dingo/blueprint/releases/tag/v0.4.0

@specialtactics specialtactics merged commit fcba028 into dingo:feature/laravel-7 Mar 13, 2020
@specialtactics
Copy link
Member

Great, thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants