Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 04:43
    scala-steward opened #297
  • Jun 08 20:48

    cquiroz on master

    Update scalajs-compiler to 1.6.0 Merge pull request #296 from sc… (compare)

  • Jun 08 20:48
    cquiroz closed #296
  • Jun 08 20:19
    scala-steward opened #296
  • Jun 08 16:29
    scala-steward opened #295
  • Jun 07 16:42
    ekrich commented #45
  • Jun 07 16:33
    cquiroz commented #45
  • Jun 07 16:20
    ekrich commented #45
  • Jun 07 15:58
    cquiroz commented #45
  • Jun 07 15:09
    ekrich commented #45
  • Jun 01 13:53

    cquiroz on master

    Update sbt to 1.5.3 Merge pull request #291 from sc… (compare)

  • Jun 01 13:53
    cquiroz closed #291
  • Jun 01 13:51

    cquiroz on github_actions

    (compare)

  • Jun 01 13:51

    cquiroz on master

    Bump olafurpg/setup-scala from … Merge pull request #292 from cq… (compare)

  • Jun 01 13:51
    cquiroz closed #292
  • Jun 01 13:51

    cquiroz on master

    Bump actions/cache from 2.1.5 t… Merge pull request #293 from cq… (compare)

  • Jun 01 13:51

    cquiroz on github_actions

    (compare)

  • Jun 01 05:25
    dependabot[bot] labeled #293
  • Jun 01 05:25
    dependabot[bot] opened #293
  • Jun 01 05:25

    dependabot[bot] on github_actions

    Bump actions/cache from 2.1.5 t… (compare)

Carlos Quiroz
@cquiroz
What changed?
At least in the last RC it is recommended that you build a custom tzdb with only the time zones you need
nafg
@nafg
I didn't bump the RC now
unless something is getting evicted
I didn't notice anything when I was looking through evictions for something else, though
Carlos Quiroz
@cquiroz
The module you’re importing should include all the tz so it should work though I haven’t tested that lately
I prefer a custom dB as it reduces the siZe of the js
nafg
@nafg
yeah and increases the size of my *.sbt ;)
nafg
@nafg
Turns out I had that on a different module than the one that was failing :laughing:
Carlos Quiroz
@cquiroz
sbt fails in inscrutable ways 😅
Logan Nelson
@a1kemist
@cquiroz could you publish another incremental RC that includes scala 2.13.1 and scalajs 0.6.31 support? Alternatively, if 2.0.0 GA is coming soon I could probably just wait for that. :)
Carlos Quiroz
@cquiroz
@a1kemist why do you need that? I’m just curious since there are no important code changes to publish
To avoid eviction warnings?
Logan Nelson
@a1kemist
I’m in the process of updating most of my projects to 2.13 and saw that there are several regression fixes in 2.13.1 vs 2.13.0. aside from the eviction warnings (which I try to minimize when possible), that was my main concern.
nafg
@nafg
@a1kemist since 2.13.0 classfiles are binary compatible with 2.13.1, a library doesn't need to be republished. If the library was published for 2.13.0 and you're using 2.13.1 it's fine.
Alex Henning Johannessen
@ahjohannessen
@cquiroz How is it going moving to ScalaJS 1.0 ? :)
Carlos Quiroz
@cquiroz
Unfortunately I discovered a bug
I may need to wait for 1.0.1
Carlos Quiroz
@cquiroz
I’ll publish as soon as I can
Alex Henning Johannessen
@ahjohannessen
@cquiroz Ok, thanks for the heads up
Alex Henning Johannessen
@ahjohannessen

@cquiroz with regards to

I may need to wait for 1.0.1

Have you gotten any wiser? Is there some workaround or similar that can be done?

Carlos Quiroz
@cquiroz
The issue is being tracked at scala-js/scala-js#3950
I tried a few workarounds but it seems that it simply can no handle nested objects which are need to in the locales api
Alex Henning Johannessen
@ahjohannessen
Can you solve it by making breaking changes? Or is it out of your influence?
Alex Henning Johannessen
@ahjohannessen
Carlos Quiroz
@cquiroz
Yeah saw that
I could solve it by not following exactly the locales API
but that seems like a bad idea
Alex Henning Johannessen
@ahjohannessen

@cquiroz Could you give an example wrt:

I could solve it by not following exactly the locales API

Carlos Quiroz
@cquiroz
In particular there is this nested static class Locale.Category that is breaking on scala.js 1.0
I could just make Category top level and that would solve it
but then the API would not match the original java API
Which I guess is mostly a non issue
But still
Carlos Quiroz
@cquiroz
I published 2.0.0-RC4 with support for scala.js 1.0 and sbt-locales
If nothing major is found this will become 2.0.0 next week
Carlos Quiroz
@cquiroz
RC4 ended up incorrectly bulit. I’ll get RC5 asap
Alex Henning Johannessen
@ahjohannessen
@cquiroz :+1:
Carlos Quiroz
@cquiroz
RC5 is on its way to maven central
Carlos Quiroz
@cquiroz
I’m removing the custom serialization format on
I doubt this will affect many people but just in case feel free to comment
Andriy Plokhotnyuk
@plokhotnyuk
Hi, All! Thanks to contributors of the scala-java-time library!
Last week jsoniter-scala got Scala.js support only because your great product exists!
Andriy Plokhotnyuk
@plokhotnyuk
Would you be interested in porting some efficient routines for parsing and serialization of java.time._ values from/to the string representation?
Carlos Quiroz
@cquiroz
Thanks @plokhotnyuk
I’m not sure what do you mean? There are as part of the API methods to read/write strings
Andriy Plokhotnyuk
@plokhotnyuk
Yep, and jsoniter-scala has much more efficient version of parse and toString routines that outperform the original implementation from 10x to 100x times depending on data type and version of JVM.
Please, see results of benchmarks for java.time._ types here to estimate a possible speed up.
Carlos Quiroz
@cquiroz
Parsing and formatting are some of the most complicated parts of scala-java-time so any improvement would be great