summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock12
-rw-r--r--Cargo.toml9
-rw-r--r--cli/Cargo.toml18
-rw-r--r--docs/Cargo.toml2
-rw-r--r--docs/src/general/changelog.md12
-rw-r--r--library/Cargo.toml7
-rw-r--r--macros/Cargo.toml7
-rw-r--r--tests/Cargo.toml2
8 files changed, 45 insertions, 24 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 493bc737..ef58bf1c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1597,7 +1597,7 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
[[package]]
name = "typst"
-version = "0.1.0"
+version = "0.2.0"
dependencies = [
"bitflags",
"bytemuck",
@@ -1634,7 +1634,7 @@ dependencies = [
[[package]]
name = "typst-cli"
-version = "0.1.0"
+version = "0.2.0"
dependencies = [
"chrono",
"clap",
@@ -1657,7 +1657,7 @@ dependencies = [
[[package]]
name = "typst-docs"
-version = "0.1.0"
+version = "0.2.0"
dependencies = [
"comemo",
"heck",
@@ -1675,7 +1675,7 @@ dependencies = [
[[package]]
name = "typst-library"
-version = "0.1.0"
+version = "0.2.0"
dependencies = [
"chinese-number",
"comemo",
@@ -1705,7 +1705,7 @@ dependencies = [
[[package]]
name = "typst-macros"
-version = "0.1.0"
+version = "0.2.0"
dependencies = [
"heck",
"proc-macro2",
@@ -1716,7 +1716,7 @@ dependencies = [
[[package]]
name = "typst-tests"
-version = "0.1.0"
+version = "0.2.0"
dependencies = [
"comemo",
"elsa",
diff --git a/Cargo.toml b/Cargo.toml
index 5df03cf2..8f440c58 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,8 +1,15 @@
[package]
name = "typst"
-version = "0.1.0"
+version = "0.2.0"
authors = ["The Typst Project Developers"]
edition = "2021"
+description = "A new markup-based typesetting system that is powerful and easy to learn."
+homepage = "https://typst.app"
+repository = "https://github.com/typst/typst"
+readme = "README.md"
+license = "Apache-2.0"
+categories = ["compilers", "science"]
+keywords = ["markup", "typesetting"]
[workspace]
members = ["cli", "docs", "library", "macros", "tests"]
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 6bffca2e..68e50bb3 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -1,8 +1,14 @@
[package]
name = "typst-cli"
-version = "0.1.0"
+version = "0.2.0"
authors = ["The Typst Project Developers"]
edition = "2021"
+description = "The command line interface for Typst."
+homepage = "https://typst.app"
+repository = "https://github.com/typst/typst"
+license = "Apache-2.0"
+categories = ["compilers", "command-line-utilities"]
+keywords = ["typst", "cli"]
[[bin]]
name = "typst"
@@ -37,10 +43,8 @@ clap_mangen = "0.2.10"
[features]
default = ["embed-fonts"]
-# Embeds Typst's default fonts for
-# - text (Linux Libertine),
-# - math (New Computer Modern Math), and
-# - code (Deja Vu Sans Mono)
-# and additionally New Computer Modern for text
-# into the binary.
+# Embeds some fonts into the binary:
+# - For text: Linux Libertine, New Computer Modern
+# - For math: New Computer Modern Math
+# - For code: Deja Vu Sans Mono
embed-fonts = []
diff --git a/docs/Cargo.toml b/docs/Cargo.toml
index f86df530..cc991f13 100644
--- a/docs/Cargo.toml
+++ b/docs/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "typst-docs"
-version = "0.1.0"
+version = "0.2.0"
authors = ["The Typst Project Developers"]
edition = "2021"
publish = false
diff --git a/docs/src/general/changelog.md b/docs/src/general/changelog.md
index 068b4039..22f4147b 100644
--- a/docs/src/general/changelog.md
+++ b/docs/src/general/changelog.md
@@ -5,13 +5,13 @@ description: |
---
# Changelog
-## Unreleased
+## April 11, 2023 (v0.2.0)
- **Breaking changes:**
- Removed support for iterating over index and value in
[for loops]($scripting/#loops). This is now handled via unpacking and
enumerating. Same goes for the [`map()`]($type/array.map) method.
- [Dictionaries]($type/dictionary) now iterate in insertion order instead of
- alphabetical order
+ alphabetical order.
- New features
- Added [unpacking syntax]($scripting/#bindings) for let bindings, which
@@ -20,7 +20,7 @@ description: |
- Added [`path`]($func/path) function for drawing Bézier paths
- Added [`layout`]($func/layout) function to access the size of the
surrounding page or container
- - Added [`key`] parameter to [`sort()`]($type/array.sort) method
+ - Added `key` parameter to [`sorted()`]($type/array.sorted) method
- Command line interface
- Fixed `--open` flag blocking the program
@@ -30,6 +30,7 @@ description: |
Typst
- Miscellaneous improvements
+ - Fixed page numbering in outline
- Added basic i18n for a few more languages
(AR, NB, CS, NN, PL, SL, ES, UA, VI)
- Added a few numbering patterns (Ihora, Chinese)
@@ -37,15 +38,14 @@ description: |
- Fixed bug where math could not be hidden with [`hide`]($func/hide)
- Fixed sizing issues with box, block, and shapes
- Fixed some translations
- - Fixed inversion of [`cal`]($func/cal) and [`frak`]($func/frak) R
- - Fixed page numbering in outline
+ - Fixed inversion of "R" in [`cal`]($func/cal) and [`frak`]($func/frak) styles
- Fixed some styling issues in math
- Fixed supplements of references to headings
- Fixed syntax highlighting of identifiers in certain scenarios
- [Ratios]($type/ratio) can now be multiplied with more types and be converted
to [floats]($type/float) with the [`float`]($func/float) function
-## April 04, 2023 (v0.1)
+## April 04, 2023 (v0.1.0)
- **Breaking changes:**
- When using the CLI, you now have to use subcommands:
- `typst compile file.typ` or `typst c file.typ` to create a PDF
diff --git a/library/Cargo.toml b/library/Cargo.toml
index 15460269..dca5076d 100644
--- a/library/Cargo.toml
+++ b/library/Cargo.toml
@@ -1,8 +1,13 @@
[package]
name = "typst-library"
-version = "0.1.0"
+version = "0.2.0"
authors = ["The Typst Project Developers"]
edition = "2021"
+description = "The standard library for Typst."
+homepage = "https://typst.app"
+repository = "https://github.com/typst/typst"
+license = "Apache-2.0"
+keywords = ["typst"]
[lib]
test = false
diff --git a/macros/Cargo.toml b/macros/Cargo.toml
index 100b0be2..4b04c731 100644
--- a/macros/Cargo.toml
+++ b/macros/Cargo.toml
@@ -1,8 +1,13 @@
[package]
name = "typst-macros"
-version = "0.1.0"
+version = "0.2.0"
authors = ["The Typst Project Developers"]
edition = "2021"
+description = "Proc-macros for Typst."
+homepage = "https://typst.app"
+repository = "https://github.com/typst/typst"
+license = "Apache-2.0"
+keywords = ["typst"]
[lib]
proc-macro = true
diff --git a/tests/Cargo.toml b/tests/Cargo.toml
index ff129513..3ac8499d 100644
--- a/tests/Cargo.toml
+++ b/tests/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "typst-tests"
-version = "0.1.0"
+version = "0.2.0"
authors = ["The Typst Project Developers"]
edition = "2021"
publish = false