mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Version bump
This commit is contained in:
parent
3680c854a2
commit
b1e0de0078
12
Cargo.lock
generated
12
Cargo.lock
generated
@ -2286,7 +2286,7 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "typst"
|
name = "typst"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 2.2.1",
|
"bitflags 2.2.1",
|
||||||
"bytemuck",
|
"bytemuck",
|
||||||
@ -2325,7 +2325,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "typst-cli"
|
name = "typst-cli"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"clap 4.2.4",
|
"clap 4.2.4",
|
||||||
@ -2354,7 +2354,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "typst-docs"
|
name = "typst-docs"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"comemo",
|
"comemo",
|
||||||
"heck",
|
"heck",
|
||||||
@ -2373,7 +2373,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "typst-library"
|
name = "typst-library"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chinese-number",
|
"chinese-number",
|
||||||
"comemo",
|
"comemo",
|
||||||
@ -2405,7 +2405,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "typst-macros"
|
name = "typst-macros"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"heck",
|
"heck",
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
@ -2415,7 +2415,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "typst-tests"
|
name = "typst-tests"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap 4.2.4",
|
"clap 4.2.4",
|
||||||
"comemo",
|
"comemo",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "typst"
|
name = "typst"
|
||||||
version = "0.2.0"
|
version = "0.3.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."
|
description = "A new markup-based typesetting system that is powerful and easy to learn."
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "typst-cli"
|
name = "typst-cli"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
authors = ["The Typst Project Developers"]
|
authors = ["The Typst Project Developers"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "The command line interface for Typst."
|
description = "The command line interface for Typst."
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "typst-docs"
|
name = "typst-docs"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
authors = ["The Typst Project Developers"]
|
authors = ["The Typst Project Developers"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
@ -5,6 +5,77 @@ description: |
|
|||||||
---
|
---
|
||||||
|
|
||||||
# Changelog
|
# Changelog
|
||||||
|
## April 26, 2023 (v0.3.0)
|
||||||
|
- **Breaking changes:**
|
||||||
|
- Renamed a few symbols: What was previous `dot.op` is now just `dot` and the
|
||||||
|
basic dot is `dot.basic`. The same applies to `ast` and `tilde`.
|
||||||
|
- Renamed `mod` to [`rem`]($category/calculate/rem) to more accurately reflect
|
||||||
|
the behaviour. It will remain available as `mod` until the next update as a
|
||||||
|
grace period.
|
||||||
|
- A lone underscore is not a valid identifier anymore, it can now only be used
|
||||||
|
in patterns
|
||||||
|
- Removed `before` and `after` arguments from [`query`]($func/query). This is
|
||||||
|
now handled through flexible [selectors]($type/selector) combinator methods
|
||||||
|
|
||||||
|
- New features
|
||||||
|
- Added support for more complex [strokes]($func/line.stroke)
|
||||||
|
(configurable caps, joins, and dash patterns)
|
||||||
|
- Added [`cancel`]($func/cancel) function for equations
|
||||||
|
- Added support for [destructuring]($scripting/#bindings) in argument lists
|
||||||
|
and assignments
|
||||||
|
- Added [`alt`]($func/image.alt) text argument to image function
|
||||||
|
- Added [`toml`]($func/toml) function for loading data from a TOML file
|
||||||
|
- Added [`zip`]($type/array.zip), [`sum`]($type/array.sum), and
|
||||||
|
[`product`]($type/array.product) methods for arrays
|
||||||
|
- Added support for [attachments]($func/attach) (sub-, superscripts) that
|
||||||
|
precede the base symbol
|
||||||
|
- Added `fact`, `perm`, `binom`, `gcd`, `lcm`, `atan2`, `quo`, `trunc`, and
|
||||||
|
`fract` [calculation]($category/calculate)
|
||||||
|
|
||||||
|
- Improvements
|
||||||
|
- Text in SVGs now displays properly
|
||||||
|
- Typst now generates a PDF heading outline
|
||||||
|
- [References]($func/ref) now provides the referenced element as a field in
|
||||||
|
show rules
|
||||||
|
- Refined linebreak algorithm for better Chinese justification
|
||||||
|
- Locations are now a valid kind of selector
|
||||||
|
- Added a few symbols for algebra
|
||||||
|
- Added Spanish smart quote support
|
||||||
|
- Added [`selector`]($func/selector) function to turn a selector-like value
|
||||||
|
into a selector on which combinator methods can be called
|
||||||
|
- Improved some error messages
|
||||||
|
- The outline and bibliography headings can now be styled with show-set rules
|
||||||
|
- Operations on numbers now produce an error instead of overflowing
|
||||||
|
|
||||||
|
- Bug fixes
|
||||||
|
- Fixed wrong linebreak before punctuation that follows inline equations,
|
||||||
|
citations, and other elements
|
||||||
|
- Fixed a bug with [argument sinks]($type/arguments)
|
||||||
|
- Fixed strokes with thickness zero
|
||||||
|
- Fixed hiding and show rules in math
|
||||||
|
- Fixed alignment in matrices
|
||||||
|
- Fixed some alignment bugs in equations
|
||||||
|
- Fixed grid cell alignment
|
||||||
|
- Fixed alignment of list marker and enum markers in presence of global
|
||||||
|
alignment settings
|
||||||
|
- Fixed [path]($func/path) closing
|
||||||
|
- Fixed compiler crash with figure references
|
||||||
|
- A single trailing line breaks is now ignored in math, just like in text
|
||||||
|
|
||||||
|
- Command line interface
|
||||||
|
- Font path and compilation root can now be set with the environment
|
||||||
|
variables `TYPST_FONT_PATHS` and `TYPST_ROOT`
|
||||||
|
- The output of `typst fonts` now includes the embedded fonts
|
||||||
|
|
||||||
|
- Development
|
||||||
|
- Added instrumentation for debugging and optimization
|
||||||
|
- Added `--update` flag and `UPDATE_EXPECT` environment variable to update
|
||||||
|
reference images for tests
|
||||||
|
- You can now run a specific subset with `--subtest`
|
||||||
|
- Tests now run on multiple threads
|
||||||
|
|
||||||
|
<contributors from="v0.2.0" to="v0.3.0" />
|
||||||
|
|
||||||
## April 11, 2023 (v0.2.0)
|
## 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
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "typst-library"
|
name = "typst-library"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
authors = ["The Typst Project Developers"]
|
authors = ["The Typst Project Developers"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "The standard library for Typst."
|
description = "The standard library for Typst."
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "typst-macros"
|
name = "typst-macros"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
authors = ["The Typst Project Developers"]
|
authors = ["The Typst Project Developers"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Proc-macros for Typst."
|
description = "Proc-macros for Typst."
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "typst-tests"
|
name = "typst-tests"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
authors = ["The Typst Project Developers"]
|
authors = ["The Typst Project Developers"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user