This repository has been archived by the owner on Sep 8, 2024. It is now read-only.
Releases: dromara/newcar
Releases · dromara/newcar
v0.6.4
Bug Fixes
- core: Children can't directly get animations and so on from their parents.
v0.6.3
Bug Fixes
- newcar: compile error caused program can't run correctly.
v0.6.2
Bug Fixes
- newcar: types import error.
v0.6.1
Bug Fixes
- basic: Not all animations exported.
v0.6.0
v0.6.0
Warning
This version is a entirely-rewrited version and All the API has been refactored.
Feature
- basic: Add some animations.
- basic: Refactor all the objects.
- recorder: Record animation to video.
- mod-markdown: The first mod of newcar, which can draw markdown documentation in animation.
v0.5.0-alpha.1
Bug Fixes
- newcar: fix the undefined value of
options.backgroundColor
, this bug is fatal
v0.5.0-alpha.0
Achieve
- objects: Add rotation center for objects.
- objects: Implement rotation center.
- objects: number display on
CoordinateSystem
. - objects: number display on
NumberAxis
. - objects: new object
Svg
. - objects: new object
Tex
. - objects: Add utils function
getAbsoluteCoordinate
. - objects: Change the default value of
Point.size
. - objects: Change the default value of
Text.size
. - objects: Add new function
beforeTranslate
forCarobj
. - animation-builder: Add animation
Division
,FontSize
andRadius
. - animation-builder: Add animation
FadeIn
,FadeOut
,Grow
. - animation-builder: Add animation
RotateIn
,RotateOut
. - utils: Add
Color
.
Breaking Change
- objects: Rename
AngleCircle
toCircleAngle
. - objects: Rename
HTMLPlugin
toWebView
. - objects: Rename
ImagePlugin
toImage
. - objects: Deprecated
Pen
andPolygon
. - objects: Delete parameters
x_width
andy_width
ofCoordinateSystem
. - objects: Change the color input method(use
Color
). - objects: Change the API of
CoordinateSystem
andNumberAxis
. - objects: Change the setting way of
Rectangle
. - objects: Change the default value of
Text.align
. - objects: Change the center of
Rectangle
. - objects: Change the center of
Image
. - objects: Change the center of
Svg
.
Bug Fixes
- core:
onSet
isn't be run on children. - objects:
Circle
cannot be displayed properly. - objects: Two Point objects cannot connect to city lines at different levels.
v0.4.0
Please refer to Change Log for details
v0.3.4-alpha
In this version, we:
- Add object
Pen
- fix some known bug.
v0.3.3-alpha
In this version, we:
- Add a new Object
HTMLPlugin
- fix some fatal bugs
- Change the package type to esm
Past:
import { newcar } from "./node_modules/newcar/dist/newcar.js"
Now:
import * as newcar from "./node_modules/newcar/dist/newcar.js"