Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.0] - 2026-01-22

### Changed
- Promoted 1.0.0-rc.1 to stable release
- Updated CDN references to 1.0.0

### Documentation
- Added `labelFit` and `labelPadding` options to README Labels section
- Added `LabelOptions` type definition to API docs

## [1.0.0-rc.1] - 2026-01-21

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ For quick prototyping or non-bundled environments:
```html
<svg id="chart"></svg>

<script src="https://unpkg.com/@akitain/sandjs@0.4.0/dist/sandjs.iife.min.js"></script>
<script src="https://unpkg.com/@akitain/sandjs@1.0.0/dist/sandjs.iife.min.js"></script>
<script>
const { renderSVG } = window.SandJS;

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ Complete documentation for Sand.js - a lightweight, framework-agnostic library f

## Version

This documentation is for Sand.js v0.4.0
This documentation is for Sand.js v1.0.0
6 changes: 3 additions & 3 deletions docs/guides/first-chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Add the script to import Sand.js. You can use either a module bundler or CDN:
### Option B: Using CDN

```html
<script src="https://unpkg.com/@akitain/sandjs@0.4.0/dist/sandjs.iife.min.js"></script>
<script src="https://unpkg.com/@akitain/sandjs@1.0.0/dist/sandjs.iife.min.js"></script>
<script>
const { renderSVG } = window.SandJS;

Expand Down Expand Up @@ -202,7 +202,7 @@ Your chart is now rendered. The Simple API is perfect for getting started quickl
<svg id="chart" width="400" height="400"></svg>
</div>

<script src="https://unpkg.com/@akitain/sandjs@0.4.0/dist/sandjs.iife.min.js"></script>
<script src="https://unpkg.com/@akitain/sandjs@1.0.0/dist/sandjs.iife.min.js"></script>
<script>
const { renderSVG } = window.SandJS;

Expand Down Expand Up @@ -275,7 +275,7 @@ Here's the same chart with full configuration:
<svg id="chart" width="400" height="400"></svg>
</div>

<script src="https://unpkg.com/@akitain/sandjs@0.4.0/dist/sandjs.iife.min.js"></script>
<script src="https://unpkg.com/@akitain/sandjs@1.0.0/dist/sandjs.iife.min.js"></script>
<script>
const { renderSVG } = window.SandJS;

Expand Down
6 changes: 3 additions & 3 deletions docs/guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pnpm add @akitain/sandjs
For quick prototyping or non-bundled projects:

```html
<script src="https://unpkg.com/@akitain/sandjs@0.4.0/dist/sandjs.iife.min.js"></script>
<script src="https://unpkg.com/@akitain/sandjs@1.0.0/dist/sandjs.iife.min.js"></script>
```

The library will be available as `window.SandJS`.
Expand All @@ -75,7 +75,7 @@ const { renderSVG } = require('@akitain/sandjs');
### CDN / IIFE

```html
<script src="https://unpkg.com/@akitain/sandjs@0.4.0/dist/sandjs.iife.min.js"></script>
<script src="https://unpkg.com/@akitain/sandjs@1.0.0/dist/sandjs.iife.min.js"></script>
<script>
const { renderSVG } = window.SandJS;
</script>
Expand Down Expand Up @@ -190,7 +190,7 @@ Here's the full working example:
<svg id="my-chart" width="400" height="400"></svg>

<script type="module">
import { renderSVG } from 'https://unpkg.com/@akitain/sandjs@0.4.0/dist/sandjs.mjs';
import { renderSVG } from 'https://unpkg.com/@akitain/sandjs@1.0.0/dist/sandjs.mjs';

const config = {
size: { radius: 180 },
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "1.0.0-rc.1",
"version": "1.0.0",
"description": "Sunburst Advanced Node Data",
"main": "dist/sandjs.mjs",
"scripts": {
Expand Down