Prep for 0.21.0

This commit is contained in:
Ben Croker 2024-12-10 19:04:48 -06:00
parent 2be4e5ef7b
commit e8671d8c88
No known key found for this signature in database
GPG Key ID: 09D799816F1CF332
12 changed files with 25 additions and 31 deletions

View File

@ -1,10 +1,10 @@
# WIP Release Notes for Datastar
## 0.21.0 - 2024-12-10
## v0.21.0 - 2024-12-10
Weve overhauled Datastar in v0.21.0, doubling down on making nestable signals declarative. To that end, weve removed special characters, made the API more explicit and consistent, and fixed some restrictions to nested signals that we discovered. Signal values are now accessed in expressions using the syntax `signalName.value`, actions no longer have a prefix, and attribute keys support nested signals using dot-delimited paths.
The new [Datastar VSCode extension](https://marketplace.visualstudio.com/items?itemName=starfederation.datastar-vscode) has autocomplete for all v0.21.0 `data-*`, and weve painstakingly added error pages for every error that can be thrown.
The new Datastar [VSCode extension](https://marketplace.visualstudio.com/items?itemName=starfederation.datastar-vscode) and [IntelliJ plugin]() have autocomplete for all v0.21.0 attributes, and weve painstakingly added error pages for every error that can be thrown.
This should be the final round of API changes before v1.0.0 🚀

View File

@ -1,10 +1,8 @@
![Version](https://img.shields.io/npm/v/@starfederation/datastar)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/%40starfederation%2Fdatastar)
![GitHub](https://img.shields.io/github/license/starfederation/datastar)
![Discord](https://img.shields.io/discord/1296224603642925098)
![GitHub Repo stars](https://img.shields.io/github/stars/starfederation/datastar?style=flat)
![Version](https://img.shields.io/github/package-json/v/starfederation/datastar?filename=library/package.json)
![License](https://img.shields.io/github/license/starfederation/datastar)
![Stars](https://img.shields.io/github/stars/starfederation/datastar?style=flat)
<p align="center"><img width="200" src="https://media.githubusercontent.com/media/starfederation/datastar/refs/heads/develop/site/static/images/rocket.gif"></p>
<p align="center"><img width="200" src="https://data-star.dev/static/images/rocket.webp"></p>
# Datastar
@ -12,7 +10,7 @@
Datastar helps you build reactive web applications with the simplicity of server-side rendering and the power of a full-stack SPA framework.
Getting started is as easy as adding a single script tag to your HTML.
Getting started is as easy as adding a single 12KiB script tag to your HTML.
```html
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar/bundles/datastar.js"></script>

View File

@ -1 +1 @@
0.21.0-beta2
0.21.0

View File

@ -1,12 +1,10 @@
{%- func datastarREADME(data *ConstTemplateData) -%}
![Version](https://img.shields.io/npm/v/@starfederation/datastar)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/%40starfederation%2Fdatastar)
![GitHub](https://img.shields.io/github/license/starfederation/datastar)
![Discord](https://img.shields.io/discord/1296224603642925098)
![GitHub Repo stars](https://img.shields.io/github/stars/starfederation/datastar?style=flat)
![Version](https://img.shields.io/github/package-json/v/starfederation/datastar?filename=library/package.json)
![License](https://img.shields.io/github/license/starfederation/datastar)
![Stars](https://img.shields.io/github/stars/starfederation/datastar?style=flat)
<p align="center"><img width="200" src="https://media.githubusercontent.com/media/starfederation/datastar/refs/heads/develop/site/static/images/rocket.gif"></p>
<p align="center"><img width="200" src="https://data-star.dev/static/images/rocket.webp"></p>
# Datastar
@ -14,7 +12,7 @@
Datastar helps you build reactive web applications with the simplicity of server-side rendering and the power of a full-stack SPA framework.
Getting started is as easy as adding a single script tag to your HTML.
Getting started is as easy as adding a single 12KiB script tag to your HTML.
```html
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar/bundles/datastar.js"></script>

View File

@ -1,10 +1,8 @@
![Version](https://img.shields.io/npm/v/@starfederation/datastar)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/%40starfederation%2Fdatastar)
![GitHub](https://img.shields.io/github/license/starfederation/datastar)
![Discord](https://img.shields.io/discord/1296224603642925098)
![GitHub Repo stars](https://img.shields.io/github/stars/starfederation/datastar?style=flat)
![Version](https://img.shields.io/github/package-json/v/starfederation/datastar?filename=library/package.json)
![License](https://img.shields.io/github/license/starfederation/datastar)
![Stars](https://img.shields.io/github/stars/starfederation/datastar?style=flat)
<p align="center"><img width="200" src="https://media.githubusercontent.com/media/starfederation/datastar/refs/heads/develop/site/static/images/rocket.gif"></p>
<p align="center"><img width="200" src="https://data-star.dev/static/images/rocket.webp"></p>
# Datastar
@ -12,7 +10,7 @@
Datastar helps you build reactive web applications with the simplicity of server-side rendering and the power of a full-stack SPA framework.
Getting started is as easy as adding a single script tag to your HTML.
Getting started is as easy as adding a single 12KiB script tag to your HTML.
```html
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar/bundles/datastar.js"></script>

View File

@ -2,7 +2,7 @@
"name": "@starfederation/datastar",
"author": "Delaney Gillilan",
"description": "Hypermedia first SPA replacement framework",
"version": "0.21.0-beta2",
"version": "0.21.0",
"license": "MIT",
"private": false,
"homepage": "https://data-star.dev",

View File

@ -3,7 +3,7 @@
export const DATASTAR = "datastar";
export const DATASTAR_EVENT = "datastar-event";
export const DATASTAR_REQUEST = "Datastar-Request";
export const VERSION = "0.21.0-beta2";
export const VERSION = "0.21.0";
// #region Defaults

View File

@ -1 +1 @@
export const VERSION = '0.21.0-beta2';
export const VERSION = '0.21.0';

View File

@ -37,7 +37,7 @@ type EventType =
module Consts =
let [<Literal>] DatastarKey = "datastar"
let [<Literal>] Version = "0.21.0-beta2"
let [<Literal>] Version = "0.21.0"
let [<Literal>] VersionClientByteSize = 33602
let [<Literal>] VersionClientByteSizeGzip = 12354

2
sdk/go/consts.go generated
View File

@ -6,7 +6,7 @@ import "time"
const (
DatastarKey = "datastar"
Version = "0.21.0-beta2"
Version = "0.21.0"
VersionClientByteSize = 33602
VersionClientByteSizeGzip = 12354

View File

@ -7,7 +7,7 @@ import starfederation.datastar.enums.FragmentMergeMode;
*/
public final class Consts {
public static final String DATASTAR_KEY = "datastar";
public static final String VERSION = "0.21.0-beta2";
public static final String VERSION = "0.21.0";
public static final int VERSION_CLIENT_BYTE_SIZE = 33602;
public static final int VERSION_CLIENT_BYTE_SIZE_GZIP = 12354;

View File

@ -10,7 +10,7 @@ use starfederation\datastar\enums\FragmentMergeMode;
class Consts
{
public const DATASTAR_KEY = 'datastar';
public const VERSION = '0.21.0-beta2';
public const VERSION = '0.21.0';
public const VERSION_CLIENT_BYTE_SIZE = 33602;
public const VERSION_CLIENT_BYTE_SIZE_GZIP = 12354;