duct icon indicating copy to clipboard operation
duct copied to clipboard

Docs: (upgrading from 0.10 to 0.11) additional details?

Open vojkog opened this issue 5 years ago • 4 comments

I've upgraded my projects from 0.10 to 0.11 according to: https://github.com/duct-framework/duct/blob/master/UPGRADING.md#011-from-010

In comparison with the newly generated 0.11 project skelton there are few more differences that I have not noticed in the documentation: project.clj (marked red):
image

dev.clj:
image

I do not know, if all differences are required.

vojkog avatar Jan 27 '19 12:01 vojkog

Those differences shouldn't be critical, or are not directly related to Duct. The change in the nREPL middleware, for example, is a result of CIDER and Leiningen updates. The earlier version of Eftest and Integrant-Repl should work fine as well, though obviously the later versions are preferred.

weavejester avatar Jan 27 '19 14:01 weavejester

Thank you for the version(s) clarification!

I had to replace dev.clj from 0.11 generated skeleton as shown on my second screenshot. It looks that generated dev.clj (from 0.10) uses dev/prep function which is removed in duct/core. 0.7

Updating dev.clj was the only step that I did not found in docs when upgrading from 0.10.

vojkog avatar Jan 27 '19 18:01 vojkog

Thanks for the note about dev.clj. I had forgotten that referenced functions.

weavejester avatar Jan 27 '19 18:01 weavejester

Hi I think the setup in https://github.com/duct-framework/duct/wiki/Configuration is outdated too.

zerg000000 avatar Jan 30 '19 01:01 zerg000000