Skip to content

Releases: AnswerDotAI/fastcore

v1.7.2

30 Aug 21:00
Compare
Choose a tag to compare

New Features

  • Add AttrDictDefault and extract_docstrings (#617)
  • Add do_escape to to_xml (#617)
  • add markdown to doc output (#614)
  • move patched methods to parent class (#612), thanks to @comhar
  • add debug=True parameter to urlsend (#611), thanks to @radam9

Bugs Squashed

  • fix annotations generated by py2pyi (#613), thanks to @comhar

v1.7.1

15 Aug 16:57
Compare
Choose a tag to compare

New Features

  • Add UNSET singleton
  • nullable dataclass overhaul (#607)
    • Update nullable_dc to use UNSET instead of None
    • Rename mk_dataclass to flexiclass
    • flexiclass uses UNSET instead of None
  • Add asdict, like the dataclasses version but works on more types
  • Add is_typeddict and is_namedtuple
  • Flatten nested tuples in ft

v1.7.0

15 Aug 04:21
Compare
Choose a tag to compare

Breaking Changes

  • The FT structure has been changed so it no longer inherits from list (#606)
    • .list property added so you can still destructure it
    • __getitem__ now returns the approach child element
    • __add__ adds children

v1.6.9

13 Aug 23:17
Compare
Choose a tag to compare

New Features

  • Handle embedded quotes in to_xml (#604)
  • Skip dict and listy valued attrs if empty in ft (#603)

v1.6.8

13 Aug 01:29
Compare
Choose a tag to compare

New Features

v1.6.7

11 Aug 18:48
Compare
Choose a tag to compare

New Features

  • Do not update - to _ if special chars present in ft (#601)

v1.6.6

11 Aug 08:45
Compare
Choose a tag to compare

New Features

  • Add FT.get(k,default) (#600)
  • Add Safe str and return it from to_xml (#599)
  • Feat: add an indent flag for to_xml() (#594), thanks to @phact

v1.6.5

10 Aug 20:38
Compare
Choose a tag to compare

New Features

  • Add valmap to ft (#598)
  • Allow embedding raw HTML inside FT templates using UTF-8 encoded bytes (#597), thanks to @adamritter
  • Inline flag for to_xml() (#594), thanks to @phact

v1.6.4

10 Aug 07:04
Compare
Choose a tag to compare

New Features

  • attrmap and hyperscript support in fastcore.xml.FT (#595)

v1.6.3

05 Aug 02:38
Compare
Choose a tag to compare

New Features

  • add ver2tuple (#593)