[ANN] Clojure 1.9.0-alpha18

453 views
Skip to first unread message

Alex Miller

unread,
Aug 23, 2017, 12:03:38 PM8/23/17
to Clojure
Clojure 1.9.0-alpha18 is now available.

Try it via

- Leiningen: [org.clojure/clojure "1.9.0-alpha18"]

1.9.0-alpha18 includes the following changes since 1.9.0-alpha17:

- Can now bind *reader-resolver* to an impl of LispReader$Resolver to control the reader's use of namespace interactions when resolving autoresolved keywords and maps.
- Tighten autoresolved keywords and autoresolved namespace map syntax to support *only* aliases, as originally intended
- Updated to use core.specs.alpha 0.1.24

Matthew Phillips

unread,
Aug 23, 2017, 8:29:59 PM8/23/17
to Clojure
Just for everyone's info: seems this update breaks CIDER 0.15: https://github.com/clojure-emacs/cider/issues/2081

Colin Fleming

unread,
Aug 23, 2017, 8:59:30 PM8/23/17
to clo...@googlegroups.com
Tighten autoresolved keywords and autoresolved namespace map syntax to support *only* aliases, as originally intended

What does this mean? Is there a JIRA discussion about this?

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sean Corfield

unread,
Aug 23, 2017, 10:01:22 PM8/23/17
to clo...@googlegroups.com

The breakage in CIDER is a good example of what this change disallows:

 

java.lang.RuntimeException: Invalid token: ::clojure.test/once-fixtures

 

Invalid because clojure.test is not an alias – so it should be :clojure.test/once-fixtures instead (or ::test/once-fixtures). See the source here:

 

https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl/middleware/test.clj#L124-L138

 

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

 

From: Colin Fleming
Sent: Wednesday, August 23, 2017 5:59 PM
To: clo...@googlegroups.com
Subject: Re: [ANN] Clojure 1.9.0-alpha18

 

Tighten autoresolved keywords and autoresolved namespace map syntax to support *only* aliases, as originally intended

 

What does this mean? Is there a JIRA discussion about this?

On 24 August 2017 at 04:03, Alex Miller <al...@puredanger.com> wrote:

Clojure 1.9.0-alpha18 is now available.

 

Try it via

 

- Leiningen: [org.clojure/clojure "1.9.0-alpha18"]

 

1.9.0-alpha18 includes the following changes since 1.9.0-alpha17:

 

- Can now bind *reader-resolver* to an impl of LispReader$Resolver to control the reader's use of namespace interactions when resolving autoresolved keywords and maps.

- Tighten autoresolved keywords and autoresolved namespace map syntax to support *only* aliases, as originally intended

- Updated to use core.specs.alpha 0.1.24

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to


For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.

To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

 

--

You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to


For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.

To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.

Alex Miller

unread,
Aug 23, 2017, 10:21:27 PM8/23/17
to clo...@googlegroups.com
Correct, this was just something Rich ran into while doing the pluggable resolver work. The intent has always been that only aliases were to be supported in auto-resolved keyword qualifiers and fully-qualified keywords there would accidentally work. The spec and code now *only* support aliases. 




For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.

To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscribe@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to


For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.

To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscribe@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/rb22V98rPLM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure+unsubscribe@googlegroups.com.

Bozhidar Batsov

unread,
Aug 29, 2017, 11:09:59 AM8/29/17
to clo...@googlegroups.com
Just for the sake of completeness with regards to the issue in CIDER - it has been addressed in master and I'll issue a bugfix release soon. 
Reply all
Reply to author
Forward
0 new messages