Skip to content

Releases: reearth/resium

v1.0.0

20 Dec 04:28
Compare
Choose a tag to compare

Breaking Changes

  • Resium has been fully reimplemented in TypeScript.
  • New React component life cycle and context API from v16.3 is supported.
  • React v16.2 or lower is no longer supported.
  • PropType (prop-type module) is no longer used.
  • Entity: children is no longer rendered as description. Use EntityDescription component insted.
  • Kml/GeoJson/CzmlDataSource: url and czml props have been integrated to data prop.
  • Some props have been renamed.
    • Entity: onSelectedEntityChanged => onSelectedEntityChange, onTrackedEntityChanged => onTrackedEntityChange
    • Scene: morph => morphDuration
    • Camera, Kml/GeoJson/Czml/CustomDataSource: onChanged => onChange
    • Viewer: selectedEntityChanged => selectedEntityChange, onTrackedEntityChanged => onTrackedEntityChange
  • Some Cesium props have been become read only.
    • CesiumWidget: clock, imageryProvider, terrainProvider, skyBox, skyAtmosphere, sceneMode, scene3DOnly, orderIndependentTranslucency, mapMode2D, mapProjection, globe, showRenderLoopErrors, contextOptions, creditContainer, creditViewport, terrainExaggeration, shadows, terrainShadows, requestRenderMode, maximumRenderTimeChange
    • Primitive: allowPicking
    • Entity: id
  • Some props have been decrepated.
    • All: onMount, onUpdate, onUnmount
    • GeoJsonDataSource: onProgress, clock
    • CzmlDataSource: onProgress, query, clock
    • KmlDataSource: onProgress, proxy, query, clock
    • Camera: view, viewBoundingSphere
    • Scene: canvas, mapProjection

Features

  • New components: Billboard, BillboardCollection, BoxGraphics, Cesium3DTileset, Clock, CorriderGraphics, CylinderGraphics, EllipseGraphics, EllipsoidGraphics, EntityDescription, Fog, Globe, ImageryLayerCollection, Label, LabelCollection, LabelGraphics, Model, ModelGraphics, Moon, ParticleSystem, PathGraphics, PlaneGraphics, PointGraphics, PolygonGraphics, Polyline, PolylineCollection, PolylineGraphics, PolylineVolumeGraphics, PostProcessStage, PostProcessStageComposite, RectangleGraphics, Sun,TimeDynamicPointColud
  • New properties
    • Viewer: allowDataSourcesToSuspendAnimation, clockTrackedDataSource, resolutionScale
    • CesiumWidget: resolutionScale
    • Entity: selected, tracked
    • Primitive: allowPicking, vertexCacheOptimize
    • KmlDataSource: ellipsoid
    • ImargeryLayer: cutoutRectangle
    • Scene: onPreUpdate, requestRenderMode, maximumRenderTimeChange, logarithmicDepthBuffer, logarithmicDepthFarToNearRatio
    • Entity, Billboard, Label, PointPrimtive, Polyline, Primitive: onClick, onDoubleClick, onMouseDown, onMouseUp, onMiddleClick, onMiddleDown, onMiddleUp, onMouseMove, onPinchEnd, onPinchMove, onPinchStart, onRightClick, onRightDown, onRightUp, onWheel, onMouseEnter, onMouseLeave

Chore

  • Add unit tests with Jest instead of Karma
  • Upgrade dependencies

v1.0.0-rc.3

18 Dec 09:25
Compare
Choose a tag to compare
v1.0.0-rc.3 Pre-release
Pre-release
v1.0.0-rc.3

v1.0.0-rc.2

18 Dec 09:19
Compare
Choose a tag to compare
v1.0.0-rc.2 Pre-release
Pre-release
chore: fix ci config

v1.0.0-rc.1

04 Dec 07:47
Compare
Choose a tag to compare
v1.0.0-rc.1 Pre-release
Pre-release
v1.0.0-rc.1

v1.0.0-beta.2

03 Dec 08:25
Compare
Choose a tag to compare
v1.0.0-beta.2 Pre-release
Pre-release
v1.0.0-beta.2

v1.0.0-beta.1

28 Nov 08:42
Compare
Choose a tag to compare
v1.0.0-beta.1 Pre-release
Pre-release
v1.0.0-beta.1

v0.2.2

23 Oct 06:45
Compare
Choose a tag to compare

New features

  • Viewer: requestRenderMode, maximumRenderTimeChange prop

Chore

  • Upgrade dependencies
  • Update documantation and example
  • Update linter config