Skip to content

Commit 7555257

Browse files
committed
write changelog for v2.0.0-alpha.9
1 parent 485a97e commit 7555257

1 file changed

Lines changed: 59 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,63 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5252

5353
## [2.0.0-alpha.9] – 2023-05-26
5454

55+
This release removes 3D features developed since 2.0.0-alpha.1. The removal is because of the ten-fold increase in complexity the 3D features have caused both in usability and development of the library. One of the main culprits is the navigation contradiction between zooming by scaling and zooming by moving along z-axis. Supporting both made navigation logic too complex and fragile.
56+
57+
### Added
58+
59+
- New `Basis` methods `getTransformTo`.
60+
- New `Basis` class function `fromPoints`.
61+
- New `Component` (was `BasisComponent`) methods `atAnchor`, `getBasisAt`, `hasClass`.
62+
- Sketch `Component` methods `addLink`, `followLink`, `hasLink`, `removeLink`, `removeLinks`.
63+
- New `TransformerComponent` methods `matchBasis`.
64+
- New `BlockComponent` methods `getDiameter`.
65+
- New `Hyperspace` methods `atAnchor`.
66+
- New `Viewport` methods `measureMany`, `removeChild`.
67+
- New `Tap` method `update`.
68+
- New loader class `TreeLoader` with:
69+
- methods `closeChildren`, `closeNeighbors`, `closeParent`, `openChild`, `openChildren`, `openParent`, `openNeighbors`, `registerCallbacks`, `resolveCallbacks`.
70+
- utility functions `findBacktier`, `findFrontier`, `treeDistance`.
71+
- New example app `fruitfractal`.
72+
- New example app `treeloader`.
73+
74+
### Change
75+
76+
- Improve argument handling in `Basis` methods `rotateBy`, `rotateByDegrees`.
77+
- BREAKING Rename `Box` method `getBoundingSphere` to `getBoundingCircle`.
78+
- BREAKING Rename `BasisComponent` to `Component`.
79+
- BREAKING Rename `Viewport` method `focusTo` to `zoomTo` and simplify for 2D.
80+
- BREAKING Simplify `Viewport` methods `measureDilation`, `measureGroup`, `measureOne` to work only in 2D.
81+
- Improve singular inversion detection in `Viewport:scaleBy`.
82+
- BREAKING Rename `BlockComponent` method `getBoundingSphere` to `getBoundingCircle`.
83+
- BREAKING Simplify `TransformerComponent` method `renderTransform` to render only in 2D.
84+
- BREAKING Simplify `Edge:renderTransform` to render only 2D edges.
85+
- BREAKING Rename `Plane` method `getBoundingSphere` to `getBoundingCircle`.
86+
- BREAKING Use `Plane` instead of `Space` in `Hyperspace` methods `atNorm`, `getBoundingBox`, `getBoundingCircle`.
87+
- BREAKING Simplify `ZoomControl` to work only in 2D.
88+
- Discourage use of `color` parameter in `CircleItem`.
89+
- BREAKING Simplify interactions `KeyboardZoom`, `Pinch`, `WheelZoom` to work only in 2D.
90+
- BREAKING Simplify `Measurement` to work only in 2D and without `camera` argument.
91+
- BREAKING Use CSS transform `matrix` instead of `matrix3d`.
92+
- Flatten and rename feature demos:
93+
- flat `geometry-background`.
94+
- rename `geometry-3d-cards` to `geometry-cards`.
95+
- rename `viewport-navigation-3d` to `geometry-infinity`.
96+
- Improve tutorial.
97+
98+
### Fixed
99+
100+
- Allow `WheelCapturer` to capture only when a viewport is present. This prevents race conditions when a captured element is remove from DOM.
101+
102+
### Removed
103+
104+
- BREAKING Remove component class `Space`.
105+
- BREAKING Remove `Basis` methods `isPlanar`.
106+
- BREAKING Remove `FrameComponent` methods `getMass`, `isSolid`, `setSolidity`, `setMass`.
107+
- BREAKING Remove `Hyperspace` methods `getBoundingSphere`.
108+
- BREAKING Remove `Viewport` properties `proj`, `cameraDistance`, `navigationBasis`.
109+
- BREAKING Remove `Viewport` methods `approach`, `atCamera`, `balanceScale`, `findNearestProjected`, `findNearRay`, `fit`, `getCameraBasis`, `getCameraDistance`, `getFieldOfView`, `measureDepth`, `projection`, `setCameraDistance`, `setPerspective`, `setProjection`, `translateTowards`, `navigable`.
110+
- Remove feature demos `viewport-perspective`.
111+
55112

56113
## [2.0.0-alpha.8] – 2023-05-05
57114

@@ -510,6 +567,8 @@ Including commits up to 6253dcb2b064492464b482ec2b728de72fb7b31a.
510567

511568
## [2.0.0-alpha.1] – 2022-09-19
512569

570+
This release introduces the first 3D rendering and 3D navigation features.
571+
513572
### Added
514573

515574
- Alias `space` for `viewport`.

0 commit comments

Comments
 (0)