Version bump

This commit is contained in:
Laurenz 2023-04-11 22:24:37 +02:00
parent 2cfbf3e823
commit fe2640c552
8 changed files with 45 additions and 24 deletions

12
Cargo.lock generated
View File

@ -1597,7 +1597,7 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
[[package]] [[package]]
name = "typst" name = "typst"
version = "0.1.0" version = "0.2.0"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"bytemuck", "bytemuck",
@ -1634,7 +1634,7 @@ dependencies = [
[[package]] [[package]]
name = "typst-cli" name = "typst-cli"
version = "0.1.0" version = "0.2.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"clap", "clap",
@ -1657,7 +1657,7 @@ dependencies = [
[[package]] [[package]]
name = "typst-docs" name = "typst-docs"
version = "0.1.0" version = "0.2.0"
dependencies = [ dependencies = [
"comemo", "comemo",
"heck", "heck",
@ -1675,7 +1675,7 @@ dependencies = [
[[package]] [[package]]
name = "typst-library" name = "typst-library"
version = "0.1.0" version = "0.2.0"
dependencies = [ dependencies = [
"chinese-number", "chinese-number",
"comemo", "comemo",
@ -1705,7 +1705,7 @@ dependencies = [
[[package]] [[package]]
name = "typst-macros" name = "typst-macros"
version = "0.1.0" version = "0.2.0"
dependencies = [ dependencies = [
"heck", "heck",
"proc-macro2", "proc-macro2",
@ -1716,7 +1716,7 @@ dependencies = [
[[package]] [[package]]
name = "typst-tests" name = "typst-tests"
version = "0.1.0" version = "0.2.0"
dependencies = [ dependencies = [
"comemo", "comemo",
"elsa", "elsa",

View File

@ -1,8 +1,15 @@
[package] [package]
name = "typst" name = "typst"
version = "0.1.0" version = "0.2.0"
authors = ["The Typst Project Developers"] authors = ["The Typst Project Developers"]
edition = "2021" 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] [workspace]
members = ["cli", "docs", "library", "macros", "tests"] members = ["cli", "docs", "library", "macros", "tests"]

View File

@ -1,8 +1,14 @@
[package] [package]
name = "typst-cli" name = "typst-cli"
version = "0.1.0" version = "0.2.0"
authors = ["The Typst Project Developers"] authors = ["The Typst Project Developers"]
edition = "2021" 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]] [[bin]]
name = "typst" name = "typst"
@ -37,10 +43,8 @@ clap_mangen = "0.2.10"
[features] [features]
default = ["embed-fonts"] default = ["embed-fonts"]
# Embeds Typst's default fonts for # Embeds some fonts into the binary:
# - text (Linux Libertine), # - For text: Linux Libertine, New Computer Modern
# - math (New Computer Modern Math), and # - For math: New Computer Modern Math
# - code (Deja Vu Sans Mono) # - For code: Deja Vu Sans Mono
# and additionally New Computer Modern for text
# into the binary.
embed-fonts = [] embed-fonts = []

View File

@ -1,6 +1,6 @@
[package] [package]
name = "typst-docs" name = "typst-docs"
version = "0.1.0" version = "0.2.0"
authors = ["The Typst Project Developers"] authors = ["The Typst Project Developers"]
edition = "2021" edition = "2021"
publish = false publish = false

View File

@ -5,13 +5,13 @@ description: |
--- ---
# Changelog # Changelog
## Unreleased ## April 11, 2023 (v0.2.0)
- **Breaking changes:** - **Breaking changes:**
- Removed support for iterating over index and value in - Removed support for iterating over index and value in
[for loops]($scripting/#loops). This is now handled via unpacking and [for loops]($scripting/#loops). This is now handled via unpacking and
enumerating. Same goes for the [`map()`]($type/array.map) method. enumerating. Same goes for the [`map()`]($type/array.map) method.
- [Dictionaries]($type/dictionary) now iterate in insertion order instead of - [Dictionaries]($type/dictionary) now iterate in insertion order instead of
alphabetical order alphabetical order.
- New features - New features
- Added [unpacking syntax]($scripting/#bindings) for let bindings, which - 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 [`path`]($func/path) function for drawing Bézier paths
- Added [`layout`]($func/layout) function to access the size of the - Added [`layout`]($func/layout) function to access the size of the
surrounding page or container 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 - Command line interface
- Fixed `--open` flag blocking the program - Fixed `--open` flag blocking the program
@ -30,6 +30,7 @@ description: |
Typst Typst
- Miscellaneous improvements - Miscellaneous improvements
- Fixed page numbering in outline
- Added basic i18n for a few more languages - Added basic i18n for a few more languages
(AR, NB, CS, NN, PL, SL, ES, UA, VI) (AR, NB, CS, NN, PL, SL, ES, UA, VI)
- Added a few numbering patterns (Ihora, Chinese) - 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 bug where math could not be hidden with [`hide`]($func/hide)
- Fixed sizing issues with box, block, and shapes - Fixed sizing issues with box, block, and shapes
- Fixed some translations - Fixed some translations
- Fixed inversion of [`cal`]($func/cal) and [`frak`]($func/frak) R - Fixed inversion of "R" in [`cal`]($func/cal) and [`frak`]($func/frak) styles
- Fixed page numbering in outline
- Fixed some styling issues in math - Fixed some styling issues in math
- Fixed supplements of references to headings - Fixed supplements of references to headings
- Fixed syntax highlighting of identifiers in certain scenarios - Fixed syntax highlighting of identifiers in certain scenarios
- [Ratios]($type/ratio) can now be multiplied with more types and be converted - [Ratios]($type/ratio) can now be multiplied with more types and be converted
to [floats]($type/float) with the [`float`]($func/float) function to [floats]($type/float) with the [`float`]($func/float) function
## April 04, 2023 (v0.1) ## April 04, 2023 (v0.1.0)
- **Breaking changes:** - **Breaking changes:**
- When using the CLI, you now have to use subcommands: - When using the CLI, you now have to use subcommands:
- `typst compile file.typ` or `typst c file.typ` to create a PDF - `typst compile file.typ` or `typst c file.typ` to create a PDF

View File

@ -1,8 +1,13 @@
[package] [package]
name = "typst-library" name = "typst-library"
version = "0.1.0" version = "0.2.0"
authors = ["The Typst Project Developers"] authors = ["The Typst Project Developers"]
edition = "2021" 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] [lib]
test = false test = false

View File

@ -1,8 +1,13 @@
[package] [package]
name = "typst-macros" name = "typst-macros"
version = "0.1.0" version = "0.2.0"
authors = ["The Typst Project Developers"] authors = ["The Typst Project Developers"]
edition = "2021" edition = "2021"
description = "Proc-macros for Typst."
homepage = "https://typst.app"
repository = "https://github.com/typst/typst"
license = "Apache-2.0"
keywords = ["typst"]
[lib] [lib]
proc-macro = true proc-macro = true

View File

@ -1,6 +1,6 @@
[package] [package]
name = "typst-tests" name = "typst-tests"
version = "0.1.0" version = "0.2.0"
authors = ["The Typst Project Developers"] authors = ["The Typst Project Developers"]
edition = "2021" edition = "2021"
publish = false publish = false