Skip to content

Commit 14b70e4

Browse files
Add any_expr
1 parent 84499b9 commit 14b70e4

File tree

3 files changed

+1358
-2
lines changed

3 files changed

+1358
-2
lines changed

docs/changelog.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,24 @@ _This project uses semantic versioning_
44

55
## UNRELEASED
66

7+
- Add WIP `egglog.exp.any_expr` code for tracing arbitrary expressions with Python fallback.
78
- BREAKING: Remove suport for Python 3.11 now that pyo3 has dropped support.
89
- Allow mutating methods to update their underlying expression via `Expr.__replace_expr__`, and ensure default rewrites return the mutated receiver when using `mutates_self` or `mutates_first_arg`.
910
- BREAKING: Store `PyObject` values as `cloudpickle` bytes instead of live references so duplicates merge by value; `.value` now returns a fresh copy and the sort accepts objects like `None` that previously failed.
10-
- Adds `__call__` method to `PyObject` to replace `py_eval_fn` which is now deprecated.
11+
- Adds `__call__` method to `PyObject` to replace `py_eval_fn` which is now deprecated.
1112
- Improve doctest support, teaching expressions about their `__module__`, `__dir__`, and special methods.
1213
- Surface original Python exceptions from the runtime and tighten pretty-printing of values that cannot be re-parsed to make debugging e-graph executions easier.
1314
- Update the bundled Egglog crate, visualizer, and related dev dependencies (including `ipykernel`) to pick up the latest backend fixes.
1415

1516
## 11.4.0 (2025-10-02)
1617

1718
- Add ability to create custom model and pass them in to extract [#357](https://github.com/egraphs-good/egglog-python/pull/357)
19+
1820
## 11.3.0 (2025-09-12)
1921

2022
- Add egglog tutorials, change display to not inline by default, and fix bug looking up binary methods [#352](https://github.com/egraphs-good/egglog-python/pull/352)
2123
- Add `back_off` scheduler [#350](https://github.com/egraphs-good/egglog-python/pull/350)
24+
2225
## 11.2.0 (2025-09-03)
2326

2427
- Add support for `set_cost` action to have row level costs for extraction [#343](https://github.com/egraphs-good/egglog-python/pull/343)
@@ -91,7 +94,6 @@ Vec(1, 2)[0]
9194
Fraction(1, 2)
9295
```
9396

94-
9597
You can also manually set the e-graph to use, instead of it having to create a new one, with the `egraph.set_current` context manager:
9698

9799
```python

0 commit comments

Comments
 (0)