Skip to content

Commit b062237

Browse files
committed
update changelog with rewrite stuff
1 parent d224c6a commit b062237

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Version](https://img.shields.io/badge/version-0.5.9-green)
1+
![Version](https://img.shields.io/badge/version-0.6.0-green)
22
[![Typst Universe](https://img.shields.io/badge/Typst-Universe-239dad)](https://typst.app/universe/package/fletcher/)
33
[![Repo](https://img.shields.io/badge/GitHub-repo-444)](https://github.com/Jollywatt/typst-fletcher)
44
[![Development version](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fgithub.com%2FJollywatt%2Ftypst-fletcher%2Fraw%2Fmain%2Ftypst.toml&query=package.version&label=main&color=444)](https://github.com/Jollywatt/typst-fletcher/tree/main)
@@ -20,7 +20,7 @@ See the [manual](docs/manual.pdf?raw=true) for documentation or ask the communit
2020

2121

2222
```typ
23-
#import "@preview/fletcher:0.5.9" as fletcher: diagram, node, edge
23+
#import "@preview/fletcher:0.6.0" as fletcher: diagram, node, edge
2424
```
2525

2626

@@ -187,12 +187,12 @@ Pull requests are most welcome!
187187

188188
### 0.6.0
189189

190-
- Complete rewrite.
191-
192-
### 0.5.9
193-
194-
- Support named edges (#16, #96).
195-
- Minor improvements too mark scaling.
190+
- *Complete rewrite;* there are many breaking changes.
191+
- Nodes and edges can now appear directly in a CeTZ canvas and use the normal coordinate system. The elastic coordinate system used in `diagram()` can also be achieved by using `flexigrid()` inside a CeTZ canvas.
192+
- Nodes and edges can be styled with `cetz.draw.set-style()`, like other CeTZ elements.
193+
- Row and column sizes of flexigrids can be set with an interface similar to `std.grid()`.
194+
- Edges can be named and support path anchors.
195+
- The `debug` option of `diagram()` has been added to `node()` and `edge()`, and allows more granular control with string arguments (e.g., `debug: "grid.cells"` or `debug: "node edge.snap"`).
196196

197197
### 0.5.8
198198

README.src.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ Pull requests are most welcome!
3838

3939
### 0.6.0
4040

41-
- Complete rewrite.
42-
43-
### 0.5.9
44-
45-
- Support named edges (#16, #96).
46-
- Minor improvements too mark scaling.
41+
- *Complete rewrite;* there are many breaking changes.
42+
- Nodes and edges can now appear directly in a CeTZ canvas and use the normal coordinate system. The elastic coordinate system used in `diagram()` can also be achieved by using `flexigrid()` inside a CeTZ canvas.
43+
- Nodes and edges can be styled with `cetz.draw.set-style()`, like other CeTZ elements.
44+
- Row and column sizes of flexigrids can be set with an interface similar to `std.grid()`.
45+
- Edges can be named and support path anchors.
46+
- The `debug` option of `diagram()` has been added to `node()` and `edge()`, and allows more granular control with string arguments (e.g., `debug: "grid.cells"` or `debug: "node edge.snap"`).
4747

4848
### 0.5.8
4949

0 commit comments

Comments
 (0)