Skip to content

Releases: AnswerDotAI/fastcore

1.1.0

09 Oct 03:23
Compare
Choose a tag to compare

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

08 Oct 14:08
Compare
Choose a tag to compare

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

07 Oct 17:45
Compare
Choose a tag to compare

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)

1.0.20

05 Oct 09:40
Compare
Choose a tag to compare

1.0.20

New Features

  • add ignore_ex=False and as_bytes=False params to run (#108)
  • AttrDict: a dict subclass that also provides access to keys as attrs; and change dict2obj to create AttrDicts instead of SimpleNamespaces (#107)

1.0.19

02 Oct 11:04
Compare
Choose a tag to compare

1.0.19

New Features

  • run: flexibly run an external process and raise exception if it fails (#105)

1.0.18

02 Oct 11:00
Compare
Choose a tag to compare

1.0.18

New Features

  • run: flexibly run an external process and raise exception if it fails (#105)

1.0.17

02 Oct 10:56
Compare
Choose a tag to compare

1.0.17

New Features

  • run: flexibly run an external process and raise exception if it fails (#105)

1.0.16

30 Sep 13:35
Compare
Choose a tag to compare

1.0.16

New Features

  • add threadpool=False param to parallel to use threads instead of processes (#102)

1.0.15

26 Sep 14:04
Compare
Choose a tag to compare

1.0.15

New Features

  • add L.map_filter and L.map_first (#97)
    • These support some nice refactorings, like changing from this:
      d = []
      for c in cs:
        m = f(c)
        if not m:
          continue
        d.append(m.group(1))
      to this:
      d = cs.map_filter(f).map(Self.group(1))

1.0.14

24 Sep 02:49
Compare
Choose a tag to compare

1.0.14

Bugs Squashed

  • Reapply fix for #86 which was unintentionally reverted by the next commit (#91)