Skip to content

Commit fa45553

Browse files
committed
chore: bump to v0.3.0
1 parent fc0b7cc commit fa45553

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

.bmp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.2.0
1+
version: 0.3.0
22
commit: 'chore: bump to v%.%.%'
33
files:
44
README.md:

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<img src="https://raw.githubusercontent.com/capsidjs/capsule/master/capsule-logo.svg" width="70" alt="capsule" />
22

3-
# Capsule v0.2.0
3+
# Capsule v0.3.0
44

55
> Event-driven DOM programming in a new style
66
@@ -178,7 +178,7 @@ import { component } from "@kt3k/capsule";
178178
Mirrors input value of `<input>` element to another dom.
179179

180180
```js
181-
import { component } from "https://deno.land/x/capsule@v0.2.0/mod.ts";
181+
import { component } from "https://deno.land/x/capsule@v0.3.0/mod.ts";
182182

183183
const { on } = component("mirroring");
184184

@@ -190,7 +190,7 @@ on.input = ({ query }) => {
190190
Pubsub.
191191

192192
```js
193-
import { component } from "https://deno.land/x/capsule@v0.2.0/mod.ts";
193+
import { component } from "https://deno.land/x/capsule@v0.3.0/mod.ts";
194194

195195
const EVENT = "my-event";
196196

@@ -216,7 +216,7 @@ const EVENT = "my-event";
216216
Bubbling events.
217217

218218
```js
219-
import { component } from "https://deno.land/x/capsule@v0.2.0/mod.ts";
219+
import { component } from "https://deno.land/x/capsule@v0.3.0/mod.ts";
220220

221221
const { on } = component("my-component");
222222

@@ -280,7 +280,7 @@ on(".btn").click = ({ e }) => {
280280
# API reference
281281

282282
```ts
283-
const { component, mount } from "https://deno.land/x/capsule@v0.2.0/mod.ts";
283+
const { component, mount } from "https://deno.land/x/capsule@v0.3.0/mod.ts";
284284
```
285285
286286
## `component(name): ComponentResult`
@@ -484,6 +484,7 @@ unmount("my-component", el);
484484

485485
# History
486486

487+
- 2022-01-11 v0.3.0 Add `unmount`.
487488
- 2022-01-11 v0.2.0 Change delegation syntax.
488489

489490
# License

dnt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ await build({
1717
test: true,
1818
package: {
1919
name: "@kt3k/capsule",
20-
version: "0.2.0",
20+
version: "0.3.0",
2121
description: "Event-driven DOM programming in a new style",
2222
license: "MIT",
2323
repository: {

mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Capsule v0.2.0 | Copyright 2022 Yoshiya Hinosawa and Capsule contributors | MIT license */
1+
/*! Capsule v0.3.0 | Copyright 2022 Yoshiya Hinosawa and Capsule contributors | MIT license */
22
import { documentReady, logEvent } from "./util.ts";
33

44
interface Initializer {

0 commit comments

Comments
 (0)