Skip to content

Releases: evtn/soda

1.1.1

31 Oct 21:12
b30e023
Compare
Choose a tag to compare
Merge pull request #10 from evtn/dev

1.1.1

1.1.0

31 Oct 20:22
bc5c3bf
Compare
Choose a tag to compare
  • Added soda.point module for more convenient vector operations (check docs for more)
  • Added soda.xml_parse module and Tag.from_str method (docs)
  • Moved some configuration variables to soda.config
  • Fixed Path methods type hints (int was accepted instead of float), replaced generated aliases with real code (to get better completions)
  • Moved Root and XMLDeclaration to new soda.custom_tags module
  • Added Image to soda.custom_tags (a simple wrapper, check help(Image) or docstring)
  • Float rounding, underscore truncation, underscore-hyphen replacement and tabulation char are now configurable through soda.config

v1.0.2: Unexpected escape

07 Jul 18:35
Compare
Choose a tag to compare
  • [Fix] Literal with escape=False now doesn't escape (which is obviously the intended behaviour)

v1.0.1: [Literal]ly just a fix

07 Jul 18:10
Compare
Choose a tag to compare
  • Fixed Literal build (it failed as Literal didn't have a .build() method and wasn't a subclass of Tag for some reason)

v1.0.0: It's time to grow up

05 Jul 13:24
Compare
Choose a tag to compare
  • Bumped version as soda is not in unstable stage of development for a long time
  • Fixed a bug from v0.1.9 with missing quotes in attribute values
  • Added quote escaping in attribute values

v0.1.9: Top-level Fragment and XMLDeclaration

05 Jul 13:22
Compare
Choose a tag to compare
  • Fragment now can be a top-level node (fixes #5)
  • a new XMLDeclaration class was added, renders into <?xml version={version} encoding={encoding}?>' (fixes #5)
  • new Tag.brackets (["<", "</", ">", "/>"]) and Tag.key_value_sep (=) attributes were added for simple tag rendering tweaks (fixes #5)

v0.1.8: Path fixes

05 Jul 12:28
Compare
Choose a tag to compare
  • Fixes #2 (and removes sep parameter altogether as it's useless anyway)
  • Fixes #3
  • Includes a little tweak to pretty rendering: now a line-break wouldn't be added in opening tag if attributes are empty

v0.1.7: Path

07 Jun 19:24
Compare
Choose a tag to compare

New soda.paths.Path class provides a convenient way to build SVG Paths.

Usage docs were added in README, code is here.

v0.1.6: Speeding up

21 Apr 05:17
Compare
Choose a tag to compare

In this release, I've fully moved rendering to generators, making pretty render as fast as non-pretty, and speeding up the whole module a lot.
Also did some work on conversion from/to custom JSON-serializable tree format.
Currently tree export/import is not properly tested, but seems usable (if you won't refuse to read code)

(Yes, that release was published on PyPi long ago)

v0.1.4

14 Jul 12:21
Compare
Choose a tag to compare
fixed colon in attributes