|
2 | 2 |
|
3 | 3 | <!-- do not remove --> |
4 | 4 |
|
| 5 | +## 1.2.5 |
| 6 | + |
| 7 | +### New Features |
| 8 | + |
| 9 | +- add `true`, `NullType`, `null`, and `tonull` ([#153](https://github.com/fastai/fastcore/issues/153)) |
| 10 | +- add `working_directory` ([#151](https://github.com/fastai/fastcore/issues/151)) |
| 11 | +- move `bind` et al to `fastcore.basics` ([#150](https://github.com/fastai/fastcore/issues/150)) |
| 12 | + |
| 13 | + |
| 14 | +## 1.2.4 |
| 15 | + |
| 16 | +### New Features |
| 17 | + |
| 18 | +- move basic functionality into `fastcore.basics`, using minimal imports ([#149](https://github.com/fastai/fastcore/issues/149)) |
| 19 | +- add `anno_dict` and `empty2none` in `meta` ([#145](https://github.com/fastai/fastcore/issues/145)) |
| 20 | + |
| 21 | + |
| 22 | +## 1.2.3 |
| 23 | + |
| 24 | +### New Features |
| 25 | + |
| 26 | +- add `try_attrs` ([#142](https://github.com/fastai/fastcore/issues/142)) |
| 27 | +- add `filter_dict`, `filter_keys`, and `filter_values` ([#140](https://github.com/fastai/fastcore/issues/140)) |
| 28 | +- add `str2bool` ([#138](https://github.com/fastai/fastcore/issues/138)) |
| 29 | + |
| 30 | +### Bugs Squashed |
| 31 | + |
| 32 | +- `type` fails with `@typedispatch` ([#144](https://github.com/fastai/fastcore/issues/144)) |
| 33 | +- `with_cast` fails to cast default values ([#139](https://github.com/fastai/fastcore/issues/139)) |
| 34 | + |
| 35 | + |
| 36 | +## 1.2.2 |
| 37 | + |
| 38 | +### New Features |
| 39 | + |
| 40 | +- support `store_true` and `store_false` in `fastcore.script` ([#137](https://github.com/fastai/fastcore/issues/137)) |
| 41 | +- add function `otherwise` ([#136](https://github.com/fastai/fastcore/issues/136)) |
| 42 | +- add `pdb` debug flag to scripts ([#133](https://github.com/fastai/fastcore/issues/133)) |
| 43 | +- Update `copy_func` to include required keyword defaults ([#134](https://github.com/fastai/fastcore/pull/134)), thanks to [@worc3131](https://github.com/worc3131) |
| 44 | + |
| 45 | + |
| 46 | +## 1.2.0 |
| 47 | + |
| 48 | +### Breaking Changes |
| 49 | + |
| 50 | +- `Config` no longer magically converts `str->Path` for any keys. Use new `path` method instead ([#131](https://github.com/fastai/fastcore/issues/131)) |
| 51 | + |
| 52 | +### New Features |
| 53 | + |
| 54 | +- `rinstance`: Curried `isinstance` but with args reversed, suitable for `partial` ([#130](https://github.com/fastai/fastcore/issues/130)) |
| 55 | +- Use `_repr_pretty_` for `L` ([#129](https://github.com/fastai/fastcore/issues/129)) |
| 56 | +- `open_file` to open optionally-compressed files for reading and writing, and add compression support to `load_pickle` and `save_pickle` ([#128](https://github.com/fastai/fastcore/issues/128)) |
| 57 | +- add context manager for failed tests ([#126](https://github.com/fastai/fastcore/pull/126)), thanks to [@hamelsmu](https://github.com/hamelsmu) |
| 58 | +- Add `Request.request` support to `urlread` ([#132](https://github.com/fastai/fastcore/issues/132)) |
| 59 | + |
| 60 | + |
| 61 | +## 1.1.2 |
| 62 | + |
| 63 | +### New Features |
| 64 | + |
| 65 | +- runtime type checking with `typed` decorator ([#125](https://github.com/fastai/fastcore/issues/125)) |
| 66 | + |
| 67 | + |
| 68 | +## 1.1.1 |
| 69 | + |
| 70 | +### New Features |
| 71 | + |
| 72 | +- `threaded` decorator ([#124](https://github.com/fastai/fastcore/issues/124)) |
| 73 | +- POST support for `urlread` ([#124](https://github.com/fastai/fastcore/issues/124)) |
| 74 | +- add `sorted_ex, `map_ex`, `filter_ex`, and `argwhere` ([#122](https://github.com/fastai/fastcore/issues/122)) |
| 75 | + |
| 76 | + |
| 77 | +## 1.1.0 |
| 78 | + |
| 79 | +### Breaking Changes |
| 80 | + |
| 81 | +- Remove `Path.{read,write}` (use `Path.{read_text,write_text}` instead) and change `Path.{load,save}` to functions `load_pickle` and `save_pickle` ([#121](https://github.com/fastai/fastcore/issues/121)) |
| 82 | + |
| 83 | +## 1.0.22 |
| 84 | + |
| 85 | +### New Features |
| 86 | + |
| 87 | +- add `L.setattrs`, inspired by Saul Pwanson ([#117](https://github.com/fastai/fastcore/issues/117)) |
| 88 | +- move `Config` from `nbdev` ([#116](https://github.com/fastai/fastcore/issues/116)) |
| 89 | +- add `nested_attr` and use it in `L.attrgot` ([#115](https://github.com/fastai/fastcore/issues/115)) |
| 90 | + |
| 91 | + |
| 92 | +## 1.0.21 |
| 93 | + |
| 94 | +### Deprecations (will be removed in future release) |
| 95 | + |
| 96 | +- `patch_property`: use `patch(as_prop=True)` instead |
| 97 | + |
| 98 | +### New Features |
| 99 | + |
| 100 | +- New param `cast` for `store_attr` and new decorator `with_cast` ([#114](https://github.com/fastai/fastcore/issues/114)) |
| 101 | +- add `L.insert` and `exec_local` ([#113](https://github.com/fastai/fastcore/issues/113)) |
| 102 | +- Patch decorator with optional argument ([#110](https://github.com/fastai/fastcore/pull/110)), thanks to [@Salehbigdeli](https://github.com/Salehbigdeli) |
| 103 | +- Make typedispatch decorator more general ([#106](https://github.com/fastai/fastcore/pull/106)), thanks to [@Salehbigdeli](https://github.com/Salehbigdeli) |
| 104 | + |
| 105 | +### Bugs Squashed |
| 106 | + |
| 107 | +- Fix default in oper ([#112](https://github.com/fastai/fastcore/pull/112)), thanks to [@Salehbigdeli](https://github.com/Salehbigdeli) |
| 108 | +- Inconsistency with `cmp_instance` and `typedispatch` because of binary sort algorithm ([#100](https://github.com/fastai/fastcore/issues/100)) |
| 109 | + |
| 110 | + |
| 111 | +## 1.0.20 |
| 112 | + |
| 113 | +### New Features |
| 114 | + |
| 115 | +- add `ignore_ex=False` and `as_bytes=False` params to `run` ([#108](https://github.com/fastai/fastcore/issues/108)) |
| 116 | +- `AttrDict`: a `dict` subclass that also provides access to keys as attrs; and change `dict2obj` to create `AttrDict`s instead of `SimpleNamespace`s ([#107](https://github.com/fastai/fastcore/issues/107)) |
| 117 | + |
| 118 | + |
| 119 | +## 1.0.19 |
| 120 | + |
| 121 | +### New Features |
| 122 | + |
| 123 | +- `run`: flexibly run an external process and raise exception if it fails ([#105](https://github.com/fastai/fastcore/issues/105)) |
| 124 | + |
| 125 | + |
| 126 | +## 1.0.16 |
| 127 | + |
| 128 | +### New Features |
| 129 | + |
| 130 | +- add `threadpool=False` param to `parallel` to use threads instead of processes ([#102](https://github.com/fastai/fastcore/issues/102)) |
| 131 | + |
| 132 | + |
5 | 133 | ## 1.0.15 |
6 | 134 |
|
7 | 135 | ### New Features |
|
21 | 149 | d = cs.map_filter(f).map(Self.group(1)) |
22 | 150 | ``` |
23 | 151 |
|
| 152 | + |
24 | 153 | ## 1.0.14 |
25 | 154 |
|
26 | 155 | ### Bugs Squashed |
|
0 commit comments