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

Update git repository url to sycamore-rs/sycamore #110

Merged
merged 1 commit into from
Jun 7, 2021
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
66 changes: 33 additions & 33 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,126 +12,126 @@
button(aria-hidden="true")
}
```
[[@lukechu10], [#79](https://github.com/lukechu10/sycamore/pull/79)]
[[@lukechu10], [#79](https://github.com/sycamore-rs/sycamore/pull/79)]

- #### 🛠 Fixes

- Delete removed nodes in `Keyed` first before adding new nodes and moving existing nodes [[@lukechu10], [#77](https://github.com/lukechu10/sycamore/pull/77)]
- Delete removed nodes in `Keyed` first before adding new nodes and moving existing nodes [[@lukechu10], [#77](https://github.com/sycamore-rs/sycamore/pull/77)]

## ✨ **0.4.2** _(2021-03-31)_

#### Changelog

- #### 🛠 Fixes

- Fix `Keyed` iteration (hopefully for the last time) when moving nodes already inserted [[@lukechu10], [#75](https://github.com/lukechu10/sycamore/pull/75)]
- Fix `Keyed` iteration (hopefully for the last time) when moving nodes already inserted [[@lukechu10], [#75](https://github.com/sycamore-rs/sycamore/pull/75)]

## ✨ **0.4.1** _(2021-03-31)_

#### Changelog

- #### 🛠 Fixes

- Fix `Keyed` iteration (swapping and inserting not at the end) [[@lukechu10], [#73](https://github.com/lukechu10/sycamore/pull/73)]
- Fix `Keyed` iteration (swapping and inserting not at the end) [[@lukechu10], [#73](https://github.com/sycamore-rs/sycamore/pull/73)]

- #### 📃 Documentation Fixes

- Fix typo in `README.md` [[@iwburns], [#64](https://github.com/lukechu10/sycamore/pull/64)]]
- Add discord server link to issue template [[@lukechu10], [#68](https://github.com/lukechu10/sycamore/pull/68)]
- Fix typo in `README.md` [[@iwburns], [#64](https://github.com/sycamore-rs/sycamore/pull/64)]]
- Add discord server link to issue template [[@lukechu10], [#68](https://github.com/sycamore-rs/sycamore/pull/68)]

- #### 🎁 Example Fixes

- Fix filter links in TodoMVC example [[@lukechu10], [#65](https://github.com/lukechu10/sycamore/pull/65)]
- Fix filter links in TodoMVC example [[@lukechu10], [#65](https://github.com/sycamore-rs/sycamore/pull/65)]

## ✨ **0.4.0** _(2021-03-25)_

#### Changelog

- #### ⚡️ Features

- Iteration using `SignalVec`. This is more of an experiment and there are some bugs. This will most likely be removed in a future version [[@lukechu10], [#49](https://github.com/lukechu10/sycamore/pull/49)]
- Keyed iteration using `Keyed` and non-keyed iteration using `Indexed` which can iterate over a `Signal<Vec>`. This is the recommended way to iterate over a list of values [[@lukechu10], [#51](https://github.com/lukechu10/sycamore/pull/51), [#53](https://github.com/lukechu10/sycamore/pull/53) and [#54](https://github.com/lukechu10/sycamore/pull/54)]
- Node references. Use the `ref` attribute to bind an HTML element to a `NodeRef` [[@lukechu10], [#57](https://github.com/lukechu10/sycamore/pull/57)]
- Iteration using `SignalVec`. This is more of an experiment and there are some bugs. This will most likely be removed in a future version [[@lukechu10], [#49](https://github.com/sycamore-rs/sycamore/pull/49)]
- Keyed iteration using `Keyed` and non-keyed iteration using `Indexed` which can iterate over a `Signal<Vec>`. This is the recommended way to iterate over a list of values [[@lukechu10], [#51](https://github.com/sycamore-rs/sycamore/pull/51), [#53](https://github.com/sycamore-rs/sycamore/pull/53) and [#54](https://github.com/sycamore-rs/sycamore/pull/54)]
- Node references. Use the `ref` attribute to bind an HTML element to a `NodeRef` [[@lukechu10], [#57](https://github.com/sycamore-rs/sycamore/pull/57)]

- #### 🛠 Fixes

- Fix debug assertions in `Keyed` [[@lukechu10], [#53](https://github.com/lukechu10/sycamore/pull/53)]
- Fix debug assertions in `Keyed` [[@lukechu10], [#53](https://github.com/sycamore-rs/sycamore/pull/53)]

- #### 🛠 Internal Fixes and Improvements

- Setup integration tests [[@lukechu10], [#51](https://github.com/lukechu10/sycamore/pull/51)]
- Setup integration tests [[@lukechu10], [#51](https://github.com/sycamore-rs/sycamore/pull/51)]

- #### 🎁 Examples

- Complete spec conforming TodoMVC implementation [[@lukechu10], [#60](https://github.com/lukechu10/sycamore/pull/60)]
- Complete spec conforming TodoMVC implementation [[@lukechu10], [#60](https://github.com/sycamore-rs/sycamore/pull/60)]

## ✨ **0.3.1** _(2021-03-16)_

#### Changelog

- #### ⚡️ Features

- More types in `template!` macro. `template!` can now be nested [[@lukechu10], [#45](https://github.com/lukechu10/sycamore/pull/45)]
- Component lifecycle using `on_cleanup` [[@lukechu10], [#24](https://github.com/lukechu10/sycamore/pull/24)]
- More types in `template!` macro. `template!` can now be nested [[@lukechu10], [#45](https://github.com/sycamore-rs/sycamore/pull/45)]
- Component lifecycle using `on_cleanup` [[@lukechu10], [#24](https://github.com/sycamore-rs/sycamore/pull/24)]

- #### 🛠 Fixes

- Add some badges to `README.md` [[@lukechu10], [#44](https://github.com/lukechu10/sycamore/pull/44) and [#48](https://github.com/lukechu10/sycamore/pull/48)]
- Add some badges to `README.md` [[@lukechu10], [#44](https://github.com/sycamore-rs/sycamore/pull/44) and [#48](https://github.com/sycamore-rs/sycamore/pull/48)]

## ✨ **0.3.0** _(2021-03-13)_

#### Changelog

- #### ⚡️ Features

- Nested effects. Inner effects are destroyed and recreated when outer effects re-run [[@lukechu10], [#29](https://github.com/lukechu10/sycamore/pull/29)]
- `cloned!` macro for making it easier to clone items into a new scope [[@lukechu10], [#34](https://github.com/lukechu10/sycamore/pull/34)]
- Effects are created inside a reactivity root (using `create_root`). When the root `Owner` is dropped, all effects are also destroyed [[@lukechu10], [37](https://github.com/lukechu10/sycamore/pull/37)]
- Nested templates. Using this, it is also possible to build simple `if`/`else` control flow although there will be a more polished version [[@lukechu10], [#41](https://github.com/lukechu10/sycamore/pull/41)]
- Nested effects. Inner effects are destroyed and recreated when outer effects re-run [[@lukechu10], [#29](https://github.com/sycamore-rs/sycamore/pull/29)]
- `cloned!` macro for making it easier to clone items into a new scope [[@lukechu10], [#34](https://github.com/sycamore-rs/sycamore/pull/34)]
- Effects are created inside a reactivity root (using `create_root`). When the root `Owner` is dropped, all effects are also destroyed [[@lukechu10], [37](https://github.com/sycamore-rs/sycamore/pull/37)]
- Nested templates. Using this, it is also possible to build simple `if`/`else` control flow although there will be a more polished version [[@lukechu10], [#41](https://github.com/sycamore-rs/sycamore/pull/41)]

- #### 🛠 Fixes

- Parse html root as an `HtmlTree` [[@lukechu10], [#25](https://github.com/lukechu10/sycamore/pull/25)]
- Recreate effect dependencies on each re-run [[@lukechu10], [#29](https://github.com/lukechu10/sycamore/pull/29)]
- Parse html root as an `HtmlTree` [[@lukechu10], [#25](https://github.com/sycamore-rs/sycamore/pull/25)]
- Recreate effect dependencies on each re-run [[@lukechu10], [#29](https://github.com/sycamore-rs/sycamore/pull/29)]

- #### 🛠 Internal Fixes and Improvements

- Remove double boxing of `Computation` [[@Kestrer], [#31](https://github.com/lukechu10/sycamore/pull/31)]
- Create `CODE_OF_CONDUCT.md` [[@lukechu10], [#33](https://github.com/lukechu10/sycamore/pull/33)]
- Add some preliminary benchmarks for signals and effects [[@lukechu10], [#35](https://github.com/lukechu10/sycamore/pull/35)]
- Add clippy to CI workflow [[@Kestrer], [#42](https://github.com/lukechu10/sycamore/pull/42)]
- Remove double boxing of `Computation` [[@Kestrer], [#31](https://github.com/sycamore-rs/sycamore/pull/31)]
- Create `CODE_OF_CONDUCT.md` [[@lukechu10], [#33](https://github.com/sycamore-rs/sycamore/pull/33)]
- Add some preliminary benchmarks for signals and effects [[@lukechu10], [#35](https://github.com/sycamore-rs/sycamore/pull/35)]
- Add clippy to CI workflow [[@Kestrer], [#42](https://github.com/sycamore-rs/sycamore/pull/42)]

- #### ⚠ **BREAKING CHANGES**

- Replaced `create_signal` with `Signal::new(...)` and return `Signal` instead of getter/setter functions for increased type safety [[@Kestrer], [#20](https://github.com/lukechu10/sycamore/pull/20)]
- Replaced `create_signal` with `Signal::new(...)` and return `Signal` instead of getter/setter functions for increased type safety [[@Kestrer], [#20](https://github.com/sycamore-rs/sycamore/pull/20)]

- #### 📢 Announcements

- New documentation website: https://sycamore-rs.netlify.app/ [[@lukechu10], [#26](https://github.com/lukechu10/sycamore/pull/26) and [#40](https://github.com/lukechu10/sycamore/pull/40)]
- New documentation website: https://sycamore-rs.netlify.app/ [[@lukechu10], [#26](https://github.com/sycamore-rs/sycamore/pull/26) and [#40](https://github.com/sycamore-rs/sycamore/pull/40)]

## ✨ **0.2.0** _(2021-03-07)_

#### Changelog

- #### ⚡️ Features

- Components! In `sycamore` they are simply plain old functions that take their props via their parameters [[#9](https://github.com/lukechu10/sycamore/pull/9)]
- Event listeners now have access to the `Event` object [[#16](https://github.com/lukechu10/sycamore/pull/16)]
- Components! In `sycamore` they are simply plain old functions that take their props via their parameters [[#9](https://github.com/sycamore-rs/sycamore/pull/9)]
- Event listeners now have access to the `Event` object [[#16](https://github.com/sycamore-rs/sycamore/pull/16)]

- #### 🛠 Changes

- The `template!` macro now returns a `TemplateResult` instead of raw DOM nodes for increased type safety [[#10](https://github.com/lukechu10/sycamore/pull/10)]
- The `template!` macro now returns a `TemplateResult` instead of raw DOM nodes for increased type safety [[#10](https://github.com/sycamore-rs/sycamore/pull/10)]

## ✨ **0.1.1** _(2021-03-07)_

#### Changelog

- #### ⚡️ Features

- New `untracked` utility for explicitly opting out of automatic dependency detection in reactive contexts [[#8](https://github.com/lukechu10/sycamore/pull/8)]
- New `untracked` utility for explicitly opting out of automatic dependency detection in reactive contexts [[#8](https://github.com/sycamore-rs/sycamore/pull/8)]

- #### 🛠 Fixes
- Only subscribe to a dependency once in an effect, even if it is called multiple times [[#7](https://github.com/lukechu10/sycamore/pull/7)]
- Only subscribe to a dependency once in an effect, even if it is called multiple times [[#7](https://github.com/sycamore-rs/sycamore/pull/7)]

## ✨ **0.1.0** _(2021-03-06)_

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Crates.io](https://img.shields.io/crates/v/sycamore)](https://crates.io/crates/sycamore)
[![docs.rs](https://img.shields.io/docsrs/sycamore?color=blue&label=docs.rs)](https://docs.rs/sycamore)
[![GitHub contributors](https://img.shields.io/github/contributors/lukechu10/sycamore)](https://github.com/lukechu10/sycamore/graphs/contributors)
[![GitHub contributors](https://img.shields.io/github/contributors/sycamore-rs/sycamore)](https://github.com/sycamore-rs/sycamore/graphs/contributors)
[![Discord](https://img.shields.io/discord/820400041332179004?label=discord)](https://discord.gg/vDwFUmm6mU)

## What is Sycamore?
Expand All @@ -20,6 +20,6 @@ Check out the [section on contributing](https://sycamore-rs.netlify.app/contribu

Sycamore would not have been possible without the wonderful work of all the people who contributed. Thank you!

<a href="https://github.com/lukechu10/sycamore/graphs/contributors">
<img src="https://contrib.rocks/image?repo=lukechu10/sycamore" />
<a href="https://github.com/sycamore-rs/sycamore/graphs/contributors">
<img src="https://contrib.rocks/image?repo=sycamore-rs/sycamore" />
</a>
2 changes: 1 addition & 1 deletion docs/markdown/advanced/routing.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Routing

Routing is still work-in-progress. Visit [#85](https://github.com/lukechu10/sycamore/issues/85) for more details.
Routing is still work-in-progress. Visit [#85](https://github.com/sycamore-rs/sycamore/issues/85) for more details.
2 changes: 1 addition & 1 deletion docs/markdown/advanced/ssr.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Server Side Rendering

Server Side Rendering is still work-in-progress. Visit [#47](https://github.com/lukechu10/sycamore/issues/47) for more details.
Server Side Rendering is still work-in-progress. Visit [#47](https://github.com/sycamore-rs/sycamore/issues/47) for more details.
2 changes: 1 addition & 1 deletion docs/markdown/advanced/testing.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Testing

A testing story is still work-in-progress. Visit [#55](https://github.com/lukechu10/sycamore/issues/55) for more details.
A testing story is still work-in-progress. Visit [#55](https://github.com/sycamore-rs/sycamore/issues/55) for more details.
4 changes: 2 additions & 2 deletions docs/markdown/contribute/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

The Sycamore repository is configured for [gitpod.io](https://www.gitpod.io). This is the easiest way to contribute. Just click on the button below and a full-fledged development workspace will be spun up with all dependencies pre-installed and VSCode ready to go.

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/lukechu10/sycamore)
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/sycamore-rs/sycamore)

## Using your local dev machine

To install and work on Sycamore locally:

```bash
git clone https://github.com/lukechu10/sycamore
git clone https://github.com/sycamore-rs/sycamore
cd sycamore
```

Expand Down
2 changes: 1 addition & 1 deletion docs/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub fn header() -> TemplateResult<G> {
a(class="nav-link", href="https://docs.rs/sycamore") { "API" }
}
li(class="nav-item") {
a(class="nav-link", href="https://github.com/lukechu10/sycamore") { "Repository" }
a(class="nav-link", href="https://github.com/sycamore-rs/sycamore") { "Repository" }
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/sycamore-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ authors = ["Luke Chu <37006668+lukechu10@users.noreply.github.com>"]
categories = ["gui", "wasm", "web-programming"]
description = "A VDOM-less web library with fine grained reactivity"
edition = "2018"
homepage = "https://github.com/lukechu10/sycamore"
homepage = "https://github.com/sycamore-rs/sycamore"
keywords = ["wasm", "gui", "reactive"]
license = "MIT"
name = "sycamore-macro"
readme = "../README.md"
repository = "https://github.com/lukechu10/sycamore"
repository = "https://github.com/sycamore-rs/sycamore"
version = "0.4.3"

[lib]
Expand Down
4 changes: 2 additions & 2 deletions packages/sycamore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ authors = ["Luke Chu <37006668+lukechu10@users.noreply.github.com>"]
categories = ["gui", "wasm", "web-programming"]
description = "A VDOM-less web library with fine grained reactivity"
edition = "2018"
homepage = "https://github.com/lukechu10/sycamore"
homepage = "https://github.com/sycamore-rs/sycamore"
keywords = ["wasm", "gui", "reactive"]
license = "MIT"
name = "sycamore"
readme = "../README.md"
repository = "https://github.com/lukechu10/sycamore"
repository = "https://github.com/sycamore-rs/sycamore"
version = "0.4.3"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down