Releases: AnswerDotAI/fastcore
Releases · AnswerDotAI/fastcore
1.2.5
1.2.5
New Features
- add
true
, NullType
, null
, and tonull
(#153)
- add
working_directory
(#151)
- move
bind
et al to fastcore.basics
(#150)
1.2.4
1.2.4
New Features
- move basic functionality into
fastcore.basics
, using minimal imports (#149)
- add
anno_dict
and empty2none
in meta
(#145)
1.2.3
1.2.3
New Features
- add
try_attrs
(#142)
- add
filter_dict
, filter_keys
, and filter_values
(#140)
- add
str2bool
(#138)
Bugs Squashed
type
fails with @typedispatch
(#144)
with_cast
fails to cast default values (#139)
1.2.2
1.2.2
New Features
- support
store_true
and store_false
in fastcore.script
(#137)
- add function
otherwise
(#136)
- add
pdb
debug flag to scripts (#133)
Bugs Squashed
- Fix
copy_func
to include required keyword defaults (#134), thanks to @worc3131
1.2.0
1.2.0
Breaking Changes
Config
no longer magically converts str->Path
for some keys. Use new path
method instead (#131)
New Features
rinstance
: Curried isinstance
but with args reversed, suitable for partial
(#130)
- Use
_repr_pretty_
for L
(#129)
open_file
to open optionally-compressed files for reading and writing, and add compression support to load_pickle
and save_pickle
(#128)
- add context manager for failed tests (#126), thanks to @hamelsmu
Bugs Squashed
urlread
does not work with Request.request
(#132)
1.1.2
1.1.2
New Features
- runtime type checking with
typed
decorator (#125)
1.1.1
1.1.1
New Features
threaded
decorator (#124)
- POST support for
urlread
(#124)
- add
sorted_ex,
map_ex,
filter_ex, and
argwhere` (#122)
1.1.0
1.1.0
Breaking Changes
- Remove
Path.{read,write}
(use Path.{read_text,write_text}
instead) and change Path.{load,save}
to functions load_pickle
and save_pickle
(#121)
1.0.22
1.0.22
New Features
- add
L.setattrs
, inspired by Saul Pwanson (#117)
- move
Config
from nbdev
(#116)
- add
nested_attr
and use it in L.attrgot
(#115)
1.0.21
Deprecations (will be removed in future release)
patch_property
: use patch(as_prop=True)
instead
New Features
- New param
cast
for store_attr
and new decorator with_cast
(#114)
- add
L.insert
and exec_local
(#113)
- Patch decorator with optional argument (#110), thanks to @Salehbigdeli
- Make typedispatch decorator more general (#106), thanks to @Salehbigdeli
Bugs Squashed
- Fix default in oper (#112), thanks to @Salehbigdeli
- Inconsistency with
cmp_instance
and typedispatch
because of binary sort algorithm (#100)