Comments (14)
The PRs #118 and #121 and the CI fix commit do this for scala 2.12 and 2.13 JS and JVM.. There is only a final CI issue when deleting folders at the end; I don't no why. Otherwise all tests passed ! So a release can be done very soon !
rm: missing operand
Try 'rm --help' for more information
The command "find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm" exited with 123.
from boopickle.
f013b9b fixes the CI issue. So that we are now for releasing @ochrons
from boopickle.
I would really need to have a new version publshed with scalajs 1.0.0. Would you release it @ochrons ?
from boopickle.
@ochrons Beware that if you compile with Java 11, there's a chance you're breaking Java 8 compat. If your code is calling flip
on a ByteBuffer
, you'll be linking to the new override that doesn't exist on Java 8 (that only has Buffer#flip
). You should be using Java 8 while releasing.
from boopickle.
Now published. Had a little bit of problem with ScalaDoc and Java11 (scala/scala#8663)
from boopickle.
Excellent, thanks !
from boopickle.
@ochrons, thanks for publishing boopickle for sjs1.
I'm working on updating cornerman/chameleon#53 to run with boopickle 1.3.2
. However, I'm getting the following error:
[error] java.io.IOException: Failed to deserialize /v/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/suzaku/boopickle_sjs1_2.12/1.3.2/boopickle_sjs1_2.12-1.3.2.jar:/boopickle/BasicPicklers$$anon$6.sjsir
[error] Caused by: java.lang.IllegalArgumentException: malformed version: 0.6.17
but we are using sjs 1.0.1
, full error:
https://gist.github.com/vic/e4a05a73eeba91cf5cd1bcc4ed6c8069#file-gistfile1-txt-L32
Perhaps the boopickle artifact still contains .sjsir
files correspoding to the scalajs 0.6.17?
Or perhaps, am I missing something?
Cheers :)
from boopickle.
Even after clearing all caches. I can reproduce this issue.
from boopickle.
Perhaps something went wrong in the publishing process and it didn't rebuild using SJS1 but used some old version. Can you try with Scala 2.13, as I did thorough cleaning before publishing that version due to the aforementioned scaladoc issue.
from boopickle.
Otto, you are correct.
The project for Scala 2.13.1 compiles successfully.
from boopickle.
I guess it's time to release 1.3.3 then to fix this 😅
from boopickle.
Oh, good to know! I wonder if that could be somehow checked in the SBT build to prevent mistakes.
from boopickle.
Actually, you could easily work around this in your case.
It seems you only have one single flip
call in your whole main code.
You could have a helper method such as def flip(bb: Buffer): Unit = bb.flip()
that would make sure you're linking to Buffer#flip
and not ByteBuffer#flip
.
from boopickle.
@strelec I've had a similar issue (sjs 0.6 leftovers) with publishLocal
on zio/zio
, when we switched to SJS 1.0. sbt clean
was not enough. Manually deleting the whole target
directory helped.
from boopickle.
Related Issues (20)
- Publish for Scala 2.13 HOT 1
- Maintenance HOT 7
- Release for scala.js 1.0 HOT 3
- Troubles with 1.3.2 release HOT 1
- Release 1.3.3 HOT 5
- Github actions release doesn't work HOT 2
- Support serializing scala 2.13 SeqMap
- Pickle Map with Any as value HOT 1
- Source path for Scala.js is wrong
- Dotty support HOT 1
- Support Pickler derivation with nested sealed traits for scala 3
- Scala 3 enums cause error at runtime HOT 1
- Scala 3 pickle format is not compatible with Scala 2 format HOT 5
- Is binary format сompatible with MessagePack? HOT 4
- Documentation / Mitigation regarding untrusted input HOT 2
- Split Pickler into reader and writer, for small Scala.JS bundle sizes
- Unable to access pickled bytes
- Unknown integer coding error HOT 5
- Could not find implicit value for nested parameter of same case class type (recursive reference)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boopickle.