|
1 | 1 | # Time for a ChangeLog! |
2 | | - |
| 2 | +## 1.39 |
| 3 | +* `tech.datatype` upgrade to version that supports datetime types. |
3 | 4 |
|
4 | 5 | ## 1.38-SNAPSHOT |
5 | 6 |
|
|
16 | 17 | * `deps.edn` now supported in parallel with `project.clj` |
17 | 18 |
|
18 | 19 |
|
19 | | -## 1.36 |
| 20 | +## 1.36 |
20 | 21 |
|
21 | 22 | * clojure.core.async upgrade |
22 | 23 |
|
|
26 | 27 |
|
27 | 28 | * [Examples are now done by gigasquid](https://github.com/gigasquid/libpython-clj-examples) |
28 | 29 |
|
29 | | -* [datafy/nav](https://clojure.github.io/clojure/branch-master/clojure.datafy-api.html) are now extensible for custom Python objects. |
30 | | - Extend `libpython-clj.require/pydafy` and `libpython-clj.require/pynav` |
31 | | - respectively with the symbol of class you want to extend. See |
| 30 | +* [datafy/nav](https://clojure.github.io/clojure/branch-master/clojure.datafy-api.html) are now extensible for custom Python objects. |
| 31 | + Extend `libpython-clj.require/pydafy` and `libpython-clj.require/pynav` |
| 32 | + respectively with the symbol of class you want to extend. See |
32 | 33 | respective docstrings for details. |
33 | | - |
| 34 | + |
34 | 35 | * bugfix -- python.str now loaded by `import-python` |
35 | 36 |
|
36 | 37 |
|
|
42 | 43 | * Better [windows anaconda support](https://github.com/cnuernber/libpython-clj/pull/67) |
43 | 44 | thanks to [orolle](https://github.com/orolle). |
44 | 45 |
|
45 | | -* Moved to PyGILState* functions for GIL management. This mainly due to |
| 46 | +* Moved to PyGILState* functions for GIL management. This mainly due to |
46 | 47 | [FongHou](https://github.com/cnuernber/libpython-clj/commits?author=FongHou) in |
47 | | - PRs [here](https://github.com/cnuernber/libpython-clj/pull/64) and |
| 48 | + PRs [here](https://github.com/cnuernber/libpython-clj/pull/64) and |
48 | 49 | [here](https://github.com/cnuernber/libpython-clj/pull/65). |
49 | 50 |
|
50 | 51 | * **BREAKING CHANGE** `require-python` now respects prefix lists -- |
51 | | - unfortunately, the previous syntax was incorrect. |
52 | | - ```clojure |
| 52 | + unfortunately, the previous syntax was incorrect. |
| 53 | + ```clojure |
53 | 54 | ;; WRONG (syntax version < 1.33) |
54 | | - (require-python '(os math)) |
| 55 | + (require-python '(os math)) |
55 | 56 | ``` |
56 | | - would be equivalent to |
57 | | - ```clojure |
| 57 | + would be equivalent to |
| 58 | + ```clojure |
58 | 59 | ;; (do (require-python 'os) (require-python 'math)) |
59 | 60 | ``` |
60 | 61 | the correct syntax for this SHOULD have been |
61 | | - ```clojure |
| 62 | + ```clojure |
62 | 63 | (require-python 'os 'math) |
63 | 64 | ``` |
64 | | - |
65 | | - 1.33 fixes this mistake, and provides support for prefix lists, |
| 65 | + |
| 66 | + 1.33 fixes this mistake, and provides support for prefix lists, |
66 | 67 | for example: |
67 | | - |
| 68 | + |
68 | 69 | ```clojure |
69 | | - (require-python |
| 70 | + (require-python |
70 | 71 | '[builtins :as python] |
71 | | - '(builtins |
| 72 | + '(builtins |
72 | 73 | [list :as python.list] |
73 | 74 | [dict :as python.dict] |
74 | 75 | [tuple :as python.tuple] |
75 | 76 | [set :as python.set] |
76 | 77 | [frozenset :as python.frozenset])) |
77 | 78 | ``` |
78 | 79 | (**Note**: this is done for you by the function `libpython-clj.require/import-python`) |
79 | | - |
| 80 | + |
80 | 81 | This fix brought to you by [jjtolton](https://github.com/jjtolton). |
81 | | - |
| 82 | + |
82 | 83 |
|
83 | 84 | ## 1.32 |
84 | 85 | * DecRef now happens cooperatively in python thread. We used to use separate threads |
|
0 commit comments