Nelsie

Latest version: v0.15.0

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.15.0

Breaking changes

* By default, Nelsie no longer loads system fonts, but loads the fonts built into Nelsie instead.
You can revert to the original behavior by creating resouces as follows: `Resources(system_fonts=True, builtin_fonts=False)`.
* Removed `TextStyle` features: overline and stroke

New features

* Dejavu fonts shipped in Nelsie package
* Faster rendering especially if you are using lots of texts
* Allow to specify the compression level via `.render(..., compression_level=...)`
* You may use generic font families strings: "sans-serif", "monospace", "serif" as font names
* You may set generic font families in resources via:
`resources.set_sans_serif("FontName")`
`resources.set_monospace("FontName")`
`resources.set_serif("FontName")`

Fixes

* New rendering engine fixes some inconsistencies in line spacing

Internal

* Migrated to `parley` for text rendering
* Implemented direct text rendering into PDF (without internally going through SVG)

0.14.0

* Dependencies updated; slightly faster rendering and smaller PDFs

0.13.0

* `set_steps` method
* TextStyle(bold=True) added
* Smaller binaries (debug info stripped)
* `.move_by` and `.line_by` in Path
* Watching on more Python files

0.12.0

* Grid layout
* Fixed printing "total time" twice when verbose mode is enabled

0.11.0

New features

* `path` in `.image()` accepts `InSteps`

Fixes

* `.code()` type annotation fixed (`text` argument is allowed to be `InSteps`)

Internal

* Migrated to new version of resvg and svg2pdf
* Parsing of next/last keywords moved to Rust

0.10.0

New features

* Hierarchical steps (e.g. step 1.2.3 is allowed)
* `initial_counter_value` added into `ListBox`

Changes

* Semantics of steps are now different, but it should be backward compatible with reasonable use cases.
The only real breaking change is removal of `.set_n_steps` and `.get_n_steps`. They have to be replaced by
`.insert_step`, `.remove_step`, and `.get_steps`.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.