Releases: AnswerDotAI/fastcore
Releases · AnswerDotAI/fastcore
v1.7.2
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
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
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
New Features
- Handle embedded quotes in
to_xml
(#604)
- Skip dict and listy valued attrs if empty in
ft
(#603)
v1.6.7
New Features
- Do not update
-
to _
if special chars present in ft
(#601)
v1.6.6
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
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
New Features
attrmap
and hyperscript support in fastcore.xml.FT (#595)