Thursday, October 17, 2019

Re: [ANN] (Unofficial) Elemental2 2.26 release

Rob, Peter, thanks for clarifying and looking into this!

On Wednesday, October 16, 2019 at 7:02:53 PM UTC-7, Peter Donald wrote:
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.

On Thu, Oct 17, 2019 at 12:08 PM Hristo Stoyanov <hr.st...@gmail.com> wrote:
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?

On Sunday, August 25, 2019 at 5:25:29 PM UTC-7, Peter Donald wrote:
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

-- 
--
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-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/76ddfcb4-309d-4750-a511-7ac273edb4d8%40googlegroups.com.

No comments:

Post a Comment