Skip to content

Latest commit

 

History

History
185 lines (120 loc) · 5.05 KB

File metadata and controls

185 lines (120 loc) · 5.05 KB

v0.22.0

  • When strip=True in code/text, then text steps line are rstripped
  • "typst" extension for writing mathematical expressions
  • Migrate to parley 0.7

v0.21.2

New features

  • Line revelaing DSL
  • Fixed managed layout detection

v0.21.1

  • No real changes, just for sake of fixing release process.

v0.20.0

New features

  • Most of Nelsie is rewritten from scratch. Render is now faster and produce smaller PDFs (especialy with repeated texts and fragmented SVGs).
  • StepVal (previously InSteps) could be used much more places, including paramters of TextStyle or Stroke, etc.
  • Class Point introduced as shortcut for two layout expressions for x and y.
  • Method of .p that returns Point in the box
  • Layout expressions now supports multiplication, subtraction and max operator
  • line_box now has an optinal parameter n_lines
  • Box can be created as stand-alone object later added into slide via .add(box)
  • Rect and Oval classes for simpler creating simple shapes
  • z_level can be also set not only for boxes but also for Path, Rect, and Oval
  • Added postprocesing callback to make final modification of slides

Changes

  • .draw is removed. Use .add to add shapes into box
  • InSteps replaced with new class StepVal
  • text_anchor_* renamed to inline_*
  • Path methods like *_to now takes Point instead of two parameters x and y
  • TextStyle.font_family renamed to TextStyle.font
  • Inserting video into slides is now disabled
  • Step removal method is now ".ignore_steps" and takes the same format of argument as "show"/"active"
  • "next" and "last" keywords were removed. Use StepCounter.
  • parse_counters removed, use postprocessing function instead

v0.16.0

New features

  • Support embedding videos into slides
  • .image() can now take directly image data (e.g. .image((blob, "png")))
  • Better progressbar computing
  • Introduce system_fonts_for_svg in Resources. It is enabled by default and loads system fonts only for SVG. It is a compromise for slower loading system fonts for non SVG parts and confusions like #72.

v0.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 resources 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)

v0.14.0

  • Dependencies updated; slightly faster rendering and smaller PDFs

v0.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

v0.12.0

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

v0.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

v0.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.

0.9.1

  • No actual changes, created to fix incomplete deployment to PyPI

0.9.0

New features

  • Clickable links in PDF output
  • Font decorations: underline, overline, line-through
  • Watching a slide file and automatic rebuild via python3 -m nelsie watch SLIDES.PY

Removed features

  • GIF support was officially removed, as it was not working in the new renderer released in 0.8

Fixes

  • Fixed problem when ListBuilder is used together with steps
  • Fixed loading SVG files with DTD

0.8

New features

  • New PDF renderer. Nelsie now produce smaller slides faster when raster images are used
  • Rendering slides & image preprocessing in parallel

0.7

Fixes

  • Fixed #19

0.6

New features

  • Subslides insertion (.slide_at())
  • Custom code syntaxes and code color themes

0.5

New features

  • text itself can be InSteps
  • ListBox helper added
  • default_code_language added (by @fgelm01)
  • default_theme renamed to default_code_theme

0.4

New features

  • verbose level & progress bar