Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move 1.0.0 to Main as we approach Release #476

Merged
merged 42 commits into from
May 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
f3b2116
consolidate options API
ryansolid Apr 25, 2021
bb45afb
cleanup core repo
ryansolid Apr 27, 2021
bc9f3d9
rename Actions to Directives, Context-less docs
ryansolid Apr 28, 2021
f54a1af
fix web ts tests
ryansolid Apr 28, 2021
6fe122c
Update static context to reflect browser
ryansolid Apr 29, 2021
a2409a4
v1.0.0-rc.0
ryansolid Apr 29, 2021
d376dd4
remove undesired chaining operator
ryansolid Apr 29, 2021
dfce9e9
fix Zeit -> Vercel, double semicolon (#429)
Apr 29, 2021
b2c22a5
first attempt at SSR documentation
ryansolid May 1, 2021
3a511fa
Support solid-js/web dev mode, switch to using conditional exports
ryansolid May 1, 2021
c384d05
Fix integration tests
ryansolid May 1, 2021
48cf2ac
improve dead code elim, fix typo, fix hyperscript props
ryansolid May 2, 2021
524d641
Merge branch 'main' of https://github.com/ryansolid/solid into next
ryansolid May 4, 2021
23fefff
Expose JSXElement, Docs WIP
ryansolid May 4, 2021
49bdc0a
More docs WIP
ryansolid May 5, 2021
f70eee7
add render & control flow docs
ryansolid May 7, 2021
ac30ecc
Doc consolidation
ryansolid May 8, 2021
70c629e
Update domx, fix #439, fix #443, restructure docs
ryansolid May 9, 2021
82e6375
Added getting started and more Doc tweaks
ryansolid May 9, 2021
f5cb2e9
Better formatting temporarily move guide links to next
ryansolid May 9, 2021
d8091f7
Small tweaks to docs.
ryansolid May 10, 2021
f870851
Fix #444: Add missing type exports
ryansolid May 11, 2021
d1f4986
Add accessor type
ryansolid May 11, 2021
c3a5b9c
Update reactivity.md (#450)
wendtcode May 12, 2021
5f5460a
add unpkg fields
ryansolid May 14, 2021
32bc36b
Merge branch 'next' of https://github.com/ryansolid/solid into next
ryansolid May 14, 2021
166c289
v1.0.0-rc.1
ryansolid May 14, 2021
f28728a
update `on` signature, fix #452 split props over state
ryansolid May 15, 2021
51459d7
expose type for context
ryansolid May 20, 2021
4e7a39c
Update context.md (#460)
seneca May 21, 2021
f7b1bf9
update deps, fix #458
ryansolid May 22, 2021
6739f1a
Merge branch 'next' of https://github.com/ryansolid/solid into next
ryansolid May 22, 2021
c08eade
Merge branch 'main' of https://github.com/ryansolid/solid into next
ryansolid May 24, 2021
e2c2fab
Merge branch 'main' of github.com:solidjs/solid into next
ryansolid May 27, 2021
d800c75
update links, docs
ryansolid May 27, 2021
4dca050
Update getting-started.md (#468)
seneca May 27, 2021
2fef747
update getting started
ryansolid May 27, 2021
65e41a2
Update reactivity.md (#471)
seneca May 27, 2021
473441b
Update rendering.md (#472)
seneca May 28, 2021
943fc74
Update server.md (#473)
seneca May 28, 2021
bfafaf8
fix #462 missing SVG g attributes, fix #474 wrong void tags
ryansolid May 28, 2021
bd24af8
More docs updates
ryansolid May 30, 2021
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ lib/
.vscode/
coverage/
types/
.DS_store
.DS_Store

packages/solid/src/jsx.d.ts
packages/solid/web/server/server.d.ts
Expand Down
20 changes: 18 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 1.0.0

### Breaking Changes

#### Options Objects

Most non-essential arguments on reactive primitives are now living on an options object. This was done to homogenize the API and make it easier to make future additions while remaining backwards compatible.

#### on

No longer uses rest parameters for multiple dependencies. Instead pass an array. This facilitates new option to defer execution until dependencies change.

#### Actions renamed to Directives

To remove future confusion with other uses of actions the JSX.Actions interace is now the JSX.Directives interface.

## 0.26.0 - 2021-04-09

This release is about finalizing some API changes on the road to 1.0. This one has one breaking change and not much else.
Expand Down Expand Up @@ -53,7 +69,7 @@ These are an escape hatch for unusual events. Previously these were custom attri

Now that we are supporting SSR for legacy(non-ESM) systems I need to use the main field to indicate a node env. We will be using the "browser" field for the client build in Solid. This straight up breaks Jest which doesn't respect that. I've created `solid-jest` to handle this.

https://github.com/solidui/solid-jest
https://github.com/solidjs/solid-jest

### New Features

Expand All @@ -63,7 +79,7 @@ Types added for Namespace attributes. You probably won't need most of these beca
```ts
declare module "solid-js" {
namespace JSX {
interface Actions { // use:____
interface Directives { // use:____

}
interface ExplicitProperties { // prop:____
Expand Down
27 changes: 12 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## <img src="https://raw.githubusercontent.com/solidjs/solid/main/assets/logo.png" alt="Solid" width="350"/><br>

[![Build Status](https://github.com/solidjs/solid/workflows/Solid%20CI/badge.svg)](https://github.com/solidjs/solid/actions/workflows/main-ci.yml)
[![Coverage Status](https://img.shields.io/coveralls/github/solidui/solid.svg?style=flat)](https://coveralls.io/github/solidui/solid?branch=main)
[![Coverage Status](https://img.shields.io/coveralls/github/solidjs/solid.svg?style=flat)](https://coveralls.io/github/solidjs/solid?branch=main)
[![NPM Version](https://img.shields.io/npm/v/solid-js.svg?style=flat)](https://www.npmjs.com/package/solid-js)
[![](https://img.shields.io/npm/dm/solid-js.svg?style=flat)](https://www.npmjs.com/package/solid-js)
[![Discord](https://img.shields.io/discord/722131463138705510)](https://discord.com/invite/solidjs)
Expand All @@ -20,6 +20,7 @@ Solid is a declarative JavaScript library for creating user interfaces. It does
- Small! Completely tree-shakeable Solid's compiler will only include parts of the library you use.
- Supports and is built on TypeScript.
- Supports modern features like JSX, Fragments, Context, Portals, Suspense, Streaming SSR, Progressive Hydration, Error Boundaries and Concurrent Rendering.
- Works in serverless environments including AWS Lambda and Cloudflare Workers.
- Webcomponent friendly and can author Custom Elements
- Context API that spans Custom Elements
- Implicit event delegation with Shadow DOM Retargeting
Expand Down Expand Up @@ -65,7 +66,7 @@ Want to see what code Solid generates:

### [Try it Online](https://playground.solidjs.com/)

## Getting Started
## Quick Start

> _`npm init solid <project-type> <project-name>` is available with npm 6+._

Expand Down Expand Up @@ -104,19 +105,19 @@ For TypeScript remember to set your TSConfig to handle Solid's JSX by:

## Documentation

- [Reactivity](https://github.com/solidjs/solid/blob/main/documentation/reactivity.md)
- [State](https://github.com/solidjs/solid/blob/main/documentation/state.md)
- [JSX Rendering](https://github.com/solidjs/solid/blob/main/documentation/rendering.md)
- [Components](https://github.com/solidjs/solid/blob/main/documentation/components.md)
- [Styling](https://github.com/solidjs/solid/blob/main/documentation/styling.md)
- [Context](https://github.com/solidjs/solid/blob/main/documentation/context.md)
- [Suspense](https://github.com/solidjs/solid/blob/main/documentation/suspense.md)
> This is the documentation for the 1.0.0 RC. THese are significantly slimmed down from what was here previously as we are moving things to the new Docs site. If you wish to see the older docs in the mean time [look here](https://github.com/solidjs/solid/tree/0.x/#documentation).

- [API](https://github.com/solidjs/solid/blob/main/documentation/api.md)
- [FAQ](https://github.com/solidjs/solid/blob/main/documentation/faq.md)
- [Comparison with other Libraries](https://github.com/solidjs/solid/blob/main/documentation/comparison.md)
- [Storybook](https://github.com/solidjs/solid/blob/main/documentation/storybook.md)

## Resources
### Guides
- [Getting Started](https://github.com/solidjs/solid/blob/main/documentation/guides/getting-started.md)
- [Reactivity](https://github.com/solidjs/solid/blob/main/documentation/guides/reactivity.md)
- [Rendering](https://github.com/solidjs/solid/blob/main/documentation/guides/rendering.md)
- [SSR](https://github.com/solidjs/solid/blob/main/documentation/guides/server.md)

### Resources

- [Examples](https://github.com/solidjs/solid/blob/main/documentation/resources/examples.md)
- [Articles](https://github.com/solidjs/solid/blob/main/documentation/resources/articles.md)
Expand Down Expand Up @@ -195,7 +196,3 @@ Become a sponsor and get your logo on our README on GitHub with a link to your s
<a href="https://opencollective.com/solid/sponsor/8/website" target="_blank"><img src="https://opencollective.com/solid/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/solid/sponsor/9/website" target="_blank"><img src="https://opencollective.com/solid/sponsor/9/avatar.svg"></a>
<a href="https://opencollective.com/solid/sponsor/10/website" target="_blank"><img src="https://opencollective.com/solid/sponsor/10/avatar.svg"></a>

## Status

Solid is mostly feature complete for its v1.0.0 release. The next releases will be mostly bug fixes and API tweaks on the road to stability.
Loading