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

New version? #178

Closed
borkdude opened this issue Jan 23, 2021 · 15 comments
Closed

New version? #178

borkdude opened this issue Jan 23, 2021 · 15 comments

Comments

@borkdude
Copy link

Hi @weavejester!

I'm going to add hiccup.core and hiccup2.core to babashka so people can use this in their scripts.
I have copied the tests of these namespaces and they are all running, except those recently added by @kwrooijen regarding using a vector of keywords for a class name. I am using alpha2 which doesn't have the most recent commit yet. Is this worth another release?

@favila
Copy link

favila commented Sep 14, 2022

#198 seems like a fairly serious issue if backward compatibility is expected to get out of alpha.

@vincentjames501
Copy link

@weavejester , we'd love to see hiccup2.core published as it fixes many of our escaping woes and lots of companies have policies regarding alpha usage of packages in production.

@weavejester
Copy link
Owner

I'll put this repo to the top of my todo list. I've been slowly modernizing all of my repositories, and I Hiccup seems a good candidate for what to work on next.

@borkdude
Copy link
Author

@weavejester Just a small note: I noticed you moved some libraries to a new org (dev.weavejester) but doing so can cause classpath conflicts (having the same old libraries + the new ones both on the classpath). Have you thought about how to address this? I moved a library to a different org once and I wouldn't want to do this again since it caused these kinds of problems and clojars doesn't support org redirection.

@weavejester
Copy link
Owner

I was moving the libraries over as Clojars changed its policy around artifact group names, moving away from arbitrary group IDs and toward verifiable domain names. This seemed like a good idea, and for consistency I was going to release libraries under the new scheme. However, I hadn't considered how this might produce classpath conflicts.

I guess the ideal approach would be to talk to the Clojars folks about supporting group relocation.

@borkdude
Copy link
Author

For existing libraries there isn't a need to change anything AFAIK.

@weavejester
Copy link
Owner

Ah, I see there's an issue clojars/clojars-web#801 for it already.

@weavejester
Copy link
Owner

For existing libraries there isn't a need to change anything AFAIK.

I was trying to work out if there was something I could do about the libraries I've already transferred over to the new naming scheme.

@borkdude
Copy link
Author

Just in case you were considering moving more libraries, you just don't have to: you can keep publishing global/global.

@weavejester
Copy link
Owner

Yes, I know.

@weavejester
Copy link
Owner

I guess another alternative is to release dev.weavejester/hiccup, but to change the core namespace (say to weavejester.hiccup). The advantage would be that I could omit the legacy Hiccup 1 namespaces from the package without affecting existing projects. One of the key things holding a full release back was the interop between the two versions.

@borkdude
Copy link
Author

borkdude commented Jun 15, 2023

I understand where you're coming from, but from a personal standpoint I wouldn't like that as I've integrated hiccup in babashka and people rely on hiccup.core and hiccup2.core to be there, so I can't remove it. If I would then also include weavejester.hiccup to get future bugfixes/features, I'd include two versions and pay double the binary size/compile times.

@weavejester
Copy link
Owner

Understood; I guess that means that Hiccup 2 is de facto stable anyway.

@weavejester
Copy link
Owner

I've release Hiccup 2.0.0-RC1. If this turns out to have no issues, I'll release it again as 2.0.0.

@borkdude
Copy link
Author

@weavejester I upgraded hiccup in babashka and saw no issues, thanks!

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

No branches or pull requests

4 participants