Chestnut is just a template, there’s no such thing as “upgrading to the latest Chestnut”, the way there is with a framework or library. You can generate an app with the old version, and one with the new version, and diff the two. Maybe this patch will still apply to your project, which is unlikely, or you can manually port over some of the changes.
@coxchen if you do it would be great if you could share your experience.
To be fair having a section in the docs that explains how to apply the changes for each version would be great. It just takes one person to actually write it
I tried to new a repo with Chestnut 0.8.1 and compare the differences generated files. The only change that is not included in my above commit is Having the uberjar run the server, because I’ve done that manually before.
Not sure if my experience applies to others, just for your reference.
I tried to make an uberjar as I did before I migrate to Chestnut 0.8. However, there seems to be something missing in the resulted artifact. When I view my app, I see “Uncaught ReferenceError: goog is not defined” in JS console. And I cannot see anything of my app.
After I wipe out generated files in /public/js folder, uberjar now produces correct result. It seems that something generated previously were not replaced/removed after I migrated to 0.8.