Changelog
Changelog
Section titled “Changelog”All notable changes to AstroChart are documented here.
This project adheres to Keep a Changelog and Semantic Versioning.
For the full release history, see the GitHub Releases page.
[3.0.2] — 2023-08-17
Section titled “[3.0.2] — 2023-08-17”- Corrected planet collision-avoidance logic when
SYMBOL_SCALEis set to a value other than1 - Resolved an edge case where
DIGNITIES_EXACT_EXALTATION_DEFAULTpositions were not applied when custom dignity data was provided - Minor SVG attribute type-coercion fixes for strict browser environments
- Fixed
SNodeandFortunesymbol positions being rendered at incorrect ecliptic angles
[3.0.1] — 2023-07-20
Section titled “[3.0.1] — 2023-07-20”- Transit chart rendering when cusps array contains boundary values at 0° or 360°
STROKE_ONLYmode now correctly suppresses fill on sign sector backgroundsANIMATION_CUSPS_ROTATION_SPEED: 0now stops animation as expected
Changed
Section titled “Changed”CUSTOM_SYMBOL_FNreturningnullorundefinednow reliably falls back to the built-in symbol instead of leaving an empty group element- Improved collision detection performance for charts with many planets
[3.0.0] — 2023-07-10
Section titled “[3.0.0] — 2023-07-10”- Full TypeScript rewrite — all public APIs are typed; ships with
.d.tsdeclaration files CUSTOM_SYMBOL_FNsetting for replacing any planet or sign symbol with a custom SVG elementADD_CLICK_AREAsetting — adds transparent<rect>hit areas around planet and cusp symbols, enabling external DOMclickevent listenersSTROKE_ONLYrendering mode for monochrome / print outputSHOW_DIGNITIES_TEXTsetting and configurable dignity label characters (r,d,e,E,f)ANIMATION_CUSPS_ROTATION_SPEEDsetting for transit rotation animationDEBUGsetting for internal console logging- Configurable per-aspect colors, degrees, and orbs via the
ASPECTSsetting - Support for Chiron, Lilith, North Node, South Node, and Part of Fortune
COLLISION_RADIUSsetting to tune planet symbol spacing- UMD bundle (
dist/astrochart.js) for direct browser<script>tag usage - Comprehensive Jest + ts-jest test suite
Changed
Section titled “Changed”- Breaking: Package renamed to
@astrodraw/astrochart - Breaking:
AstroDatashape changed to{ planets: Record<string, number[]>, cusps: number[] }— see the Introduction - Cusps array must contain exactly 12 values; validation throws a descriptive error on mismatch
SHIFT_IN_DEGREESdefault changed to180(0° on the West / Ascendant side)
Removed
Section titled “Removed”- Legacy UMD global
Astrologynamespace — useimport { Chart } from '@astrodraw/astrochart'instead
Earlier Versions
Section titled “Earlier Versions”See the GitHub repository for the history of the original astrochart package (versions prior to 3.0.0).