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

upgrade to nova-4 #80

Merged
merged 5 commits into from
May 22, 2022
Merged

upgrade to nova-4 #80

merged 5 commits into from
May 22, 2022

Conversation

Grafikart
Copy link
Contributor

I did most of the work to upgrade to Nova 4 but you may need to add some style cause the classnames changed

Here is the render for my Nova 4.1 dashboard

image

laravel-nova is removed and it uses the dependency from composer : https://nova.laravel.com/docs/4.0/upgrade.html#removal-of-laravel-nova-npm-dependency

Fix #79

@ctessier
Copy link
Owner

ctessier commented Apr 9, 2022

Hi @Grafikart

Thank you for your work!

I guess these changes will make the package incompatible with Nova prior to version 4? If so, I guess we will have to merge that to a new branch for a 2.x.

Also, I couldn't find any upgrade guide for package maintainers. Did you find any?

Clément

@Grafikart
Copy link
Contributor Author

Grafikart commented Apr 9, 2022

Hi,

You guessed right, this break compatibility with previous version of nova so it need to be a major number upgrade.
For the upgrade I followed the guide offered on nova but there is nothing related to package except this part.

Custom Nova packages that are developed outside of a nova-components directory should declare laravel/nova as a "dev" Composer dependency, and then define a laravel-nova Mix alias that points to the packages.js file within your custom package's vendor directory

But there is no information on component we can reuse for custom field :(

@mziraki
Copy link
Contributor

mziraki commented Apr 14, 2022

@ctessier hi, any update about this PR?

@ctessier ctessier changed the base branch from 1.x to 2.x April 14, 2022 20:00
@SupchickCode
Copy link

i think many people wait for it.
Thanks u a lot =)

@ctessier
Copy link
Owner

Hi everyone 👋

First, I wanted to thank you all very much for the interest you are showing for this package 🙏

Unfortunately, as one needs to get a new license to upgrade to Nova's latest version (v4 Silver Surfer), I cannot help complete this PR and work on the compatibility with Nova 4 before I get a new license.

To help me purchase one, I created a GitHub sponsor page to allow people wanting to support my work to make a donation.

So if the Advanced Image Field helps your business, or if you simply wish to contribute, I will appreciate any donations.

Thank you very much for your support!
I'm looking forward to keep maintaining this package 💪

Clément

@hspromo
Copy link

hspromo commented May 17, 2022

Mate, can you please just accept the pull request? Can even make it a separate tag or branch. Need to add this to my composer. Its been a month. Getting frustrating you won't accept this guys work just because you don't have a license anymore.

@hspromo
Copy link

hspromo commented May 17, 2022

And I emailed nova on your behalf. They should not charge developers like you who built plugins for Nova. Ridiculous.

@ctessier
Copy link
Owner

ctessier commented May 22, 2022

Mate, can you please just accept the pull request? Can even make it a separate tag or branch. Need to add this to my composer. Its been a month. Getting frustrating you won't accept this guys work just because you don't have a license anymore.

Thank you for your message @hspromo.
I understand your frustration, however, I decided not to merge this PR yet for the very simple reason that I have no way to test it out and contribute to the branch.

Since people start to get impatient, I am willing to merge it now to the branch 2.x so you guys can update your composer with the dev branch if you want to, while we are still working on the support for Nova 4.

However, this would mean using an unstable version and you have to understand that I won't be able guarantee the well working of the package on this branch. So any reported issue would be voided and you would need to contribute if you find anything that needs fixing.

Regards

@sonarcloud
Copy link

sonarcloud bot commented May 22, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@ctessier ctessier merged commit a3b4552 into ctessier:2.x May 22, 2022
@ctessier ctessier mentioned this pull request Dec 12, 2022
8 tasks
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.

Anyone working on a Nova 4 upgrade?
5 participants