Esri / hub.js

TypeScript wrappers for talking to ArcGIS Hub
https://esri.github.io/hub.js/
Apache License 2.0
33 stars 13 forks source link

Migrate to ArcGIS REST JS 4.x #945

Open yannikmesserli opened 1 year ago

yannikmesserli commented 1 year ago

Urban is using @esri/hub-discussions and a few packages from the ArcGIS REST JS. However, @esri/hub-discussions is pinning the version of the rest packages to 3.x. As this is several months outdated, @esri/hug.js should move to the 4.x packages.

There are a few breaking changes but it should not be a huge amount of work to migrate

brollison commented 1 year ago

@dbouwman ☝🏻

dbouwman commented 1 year ago

@yannikmesserli We are planning to migrate hub.js this year... ideally during before Q3 but we will see. While upgrading hub.js itself is not a tremendous lift, Hub as a whole has many packages, which all depend on rest-js 3.x, so we have to structure the upgrade in a manageable way.

The plan is to start with hub.js, and release that on a -alpha or -next tag - would that work for you?

lisastaehli commented 1 year ago

@dbouwman following up on this briefly :) do you have an update on your migration plans? Thanks for a quick update when you get to it.

Using an -alpha or -next tag would work for us - given that if it does not impact the functionality we are using in Urban of course.

brollison commented 3 months ago

@dbouwman can you create a 0_TECH issue in the dc/hub repo in Devtopia so that we can monitor priority of resolution. Once you have an issue, please link cross-link the issues if possible.

brollison commented 3 months ago

I've created a sibling issue in the dc/hub planning organization for refinement, prioritization, and verification: https://devtopia.esri.com/dc/hub/issues/10768