-
Notifications
You must be signed in to change notification settings - Fork 190
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
Preserve order of iterable in viaSeq #330
Conversation
Add a general property to assert this behaviour. Fixes #329
@jrudolph Would appreciate a review, and, once merged, a "soonish" release 🙂 I wasn't sure what branch to base this on, so I picked the default one, i.e. |
A friendly ping |
Well I guess not 🤷 |
Actually, this looks good to me and should do the trick! WDYT, @jrudolph? Should there even be another release of spray-json? |
No worries 🙏, we've fixed this locally and are in the process of phasing out spray-json from our code. But I would have appreciated if you had told me this in #329, before I opened this pull request. 😊 It's just a small change for sure, but it took time nonetheless, time I could've spent otherwise if I had known that spray won't make another release 🙂 |
Yes, @lunaryorn, you are right. |
@sirthias No worries ❤️ 🤗 |
@sirthias Mayby you should also make it more clear in the readme file. Currently I interpreted the text:
As: Fully useable for new projects, as long as it has the functionality needed for that project, as updates for removing bugs, and supportign new scala version would be made, as the project is maintained. Based on this, we have actually used spray-json for a fair amount of new projects. Another reason we chose spray json, is that the akka http documentation, tells that spray json is the only official supported json library: https://doc.akka.io/docs/akka-http/current/common/json-support.html and we use akka-http a lot. But if you consider spray-json to be legacy only, and new project should not pick it up, then please make that statement very clear in the readme. Mayby with and suggestion to one or more alternative projects to use instead. |
@Kreinoee AFAIK you are reading the statement in the README correctly. spray-json is still actively maintained by Lightbend. That means that it'll be pulled forward through all remaining Scala 2.x versions. Also, should any serious bugs (like a security issue) be discovered I'm sure Lightbend would be quick to plug the whole. However, I can't comment as to their commitment to things like porting to Scala 3 for example. But maybe @jrudolph can comment more on Lightbend's stance toward spray-json's future... |
Sorry about the long silence in this issue wrt any stance on this from our side. I agree with Mathias. We will most likely not add any big features but run this project in bug fixing and compatibility mode (but try to be a more responsive about issues like this one!). To be transparent about this: We have not yet decided what to do about our recommendations in akka-http. The main reason we still show spray-json most prominently there, is that it's the most easy to support from our side. Should any serious issues arise in spray-json or the integratino with akka-http, we could fix it as needed. Alternatively, we could recommend any other third-party library (most of which are supported through https://github.com/hseeberger/akka-http-json) but that would leave us in the more difficult spot to "bless" a third-party library users should go with and also provide some level of support for a json library where we cannot guarantee that changes are done when needed. So, we will have to think some more about it. All that said, I'm now going to the open PRs and issues and see which issues should be fixed and release a 1.3.6 with those most important fixes. Apologies again to neglect issues like this one for quite some time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @lunaryorn (and again sorry for the delay).
@jrudolph No worries ❤️ I would very much appreciate a 1.3.6 release with this fix, thanks 🙏 Also thanks for the work on this project ❤️ |
Add a general property to assert this behaviour.
Fixes #329