Skip to content

Update rewrite-clj #342

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

Merged
merged 1 commit into from
Oct 25, 2021
Merged

Update rewrite-clj #342

merged 1 commit into from
Oct 25, 2021

Conversation

vemv
Copy link
Member

@vemv vemv commented Oct 24, 2021

Fixes #334
Fixes #332

Also, while I was there:

  • upgrade various other deps
  • make some tests fail more informatively

^:inline-dep [clj-commons/fs "1.6.307"]
^:inline-dep [rewrite-clj "0.6.1"]
^:inline-dep [rewrite-clj "1.0.699-alpha"]
Copy link
Member

Choose a reason for hiding this comment

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

Do we really need an alpha version here?

Copy link
Member Author

Choose a reason for hiding this comment

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

All versions in the 1.x series (i.e @lread's work) are suffixed -alpha. See https://github.com/clj-commons/rewrite-clj#used-in

In practice this means that various modern constructs are better supported (or supported at all)

@@ -3,16 +3,16 @@
:url "http://github.com/clojure-emacs/refactor-nrepl"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[nrepl "0.8.3"]
:dependencies [[nrepl "0.9.0-beta3"]
Copy link
Member

Choose a reason for hiding this comment

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

Any reason to use 0.9 here?

Copy link
Member Author

@vemv vemv Oct 25, 2021

Choose a reason for hiding this comment

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

No super strong rationale other than "keep the important deps @ latest".

It's what cider.el is using as well, which we intend to share with the world as 'stable' soon. So I'd guess 0.9.x would be the version that most realistically will reflect intended usage?

Copy link
Member

Choose a reason for hiding this comment

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

CIDER uses the latest version only on its snapshot as some features don't work without it. CIDER 1.2 will happen after nREPL 0.9 is finalized. In general I avoid adding deps to betas/alphas unless they are truly needed, although I agree it's not a big deal here.

@bbatsov bbatsov merged commit 622c210 into master Oct 25, 2021
@bbatsov bbatsov deleted the upgrade-rewrite-clj branch October 25, 2021 10:11
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.

Upgrade rewrite-clj Assert failed: (string-of? s r/linebreak?)
2 participants