[ANN] (Unofficial) Elemental2 2.26 release

654 views
Skip to first unread message

Peter Donald

unread,
Aug 25, 2019, 8:25:29 PM8/25/19
to GWT Mailing List
Elemental2 provides type-checked access to browser APIs for Java
code. This is done by using closure extern files and generating
JsTypes, which are part of the new JsInterop specification that
is implemented in both GWT and J2CL.

https://github.com/google/elemental2

This is an unofficial release to Maven Central under a different groupId.
Please don't bug the original authors. Versions are released on demand.

API Changes relative to Elemental2 version 2.25

elemental2-core:
  API Differences: https://jsinterop.github.io/api-diff/?key=elemental2-core&old=2.25&new=2.26
  - 1 non breaking changes.
  - 3 potentially breaking changes.
  - 1 breaking changes.
elemental2-dom:
  API Differences: https://jsinterop.github.io/api-diff/?key=elemental2-dom&old=2.25&new=2.26
  - 33 non breaking changes.
  - 65 potentially breaking changes.
  - 30 breaking changes.

The complete set of Elemental2 API differences is available at

  https://jsinterop.github.io/api-diff/?key=elemental2&old=2.25&new=2.26

The Maven dependencies can be added to your pom.xml via

    <dependency>
      <groupId>org.realityforge.com.google.elemental2</groupId>
      <artifactId>${artifact-id}</artifactId>
      <version>2.26</version>
    </dependency>

where artifact-id is one of

* elemental2-core
* elemental2-dom
* elemental2-promise
* elemental2-indexeddb
* elemental2-svg
* elemental2-webgl
* elemental2-media
* elemental2-webstorage
* elemental2-webassembly

Hope this helps,

Peter Donald

Hristo Stoyanov

unread,
Oct 16, 2019, 9:07:38 PM10/16/19
to GWT Users
Peter,
Getting this error with Elemental 2.26 and GWT 2.8.2:

elemental2_version=2.26
jsinterop_base_version=1.0.0-b2-e6d791f
jsinterop_version=1.0.2-p1
...
Compiling module com.recres.web.MainDev
   Tracing compile failure path for type 'elemental2.core.JsArray'
      [ERROR] Errors in 'jar:file:/C:/g/caches/modules-2/files-2.1/org.realityforge.com.google.elemental2/elemental2-core/2.26/1c407ef9a7e45ecc39be56283e9fe8d677060257/elemental2-core-2.26.jar!/elemental2/core/JsArray.java'
         [ERROR] Line 3: The type javaemul.internal.ArrayStamper is not visible
         [ERROR] Line 258: ArrayStamper cannot be resolved
   [ERROR] Aborting compile due to errors in some input files

Downgrading to 2.25 fixes the issue. Any clue?

Rob Newton

unread,
Oct 16, 2019, 9:49:27 PM10/16/19
to GWT Users
Hristo,

I am using realityforge's elemental2 version 2.26 with GWT 2.8.2 and it is fine.

I understand what you would use jsinterop_base_version for (the jsinterop-base artifact version), but what are you using jsinterop_version for?  1.0.2-p1 looks too recent, and will require GWT 2.9 when it comes out.

-Rob

Peter Donald

unread,
Oct 16, 2019, 10:02:53 PM10/16/19
to GWT Mailing List
Unfortunately, 2.26 is not compatible with GWT 2.8.2 - we were testing with a later version of GWT and I did not pick this up before I sent the mail. Sorry about that!

2.26 will be compatible with GWT 2.9 when/if that gets out.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/88772e13-7233-4257-9cd7-2aa15c7b959f%40googlegroups.com.


--
Cheers,

Peter Donald

Rob Newton

unread,
Oct 16, 2019, 11:24:38 PM10/16/19
to GWT Users
OK I was wrong.  I thought I was using 2.26, but I am using other maven dependencies (elemento) which depend on 1.0.0-RC1, and that is having precedence over 2.26.

Hristo Stoyanov

unread,
Oct 17, 2019, 1:48:24 PM10/17/19
to GWT Users
Rob, Peter, thanks for clarifying and looking into this!
--
Cheers,

Peter Donald

foal

unread,
Oct 26, 2019, 11:16:52 AM10/26/19
to GWT Users
Hi,

Do you have a rebranded release on GWT 2.9 too?

Best,
Stas 
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsub...@googlegroups.com.


--
Cheers,

Peter Donald

Peter Donald

unread,
Oct 27, 2019, 2:52:11 AM10/27/19
to GWT Mailing List
Not at this stage. I had planned on doing so and may in the near future ... but I was hoping an official GWT 2.9 release would become available soonish. If not I will figure out a way of releasing unofficial versions based off master.

To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.


--
Cheers,

Peter Donald

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/13c6b848-207a-4735-915c-b0477393a667%40googlegroups.com.


--
Cheers,

Peter Donald
Reply all
Reply to author
Forward
0 new messages