Skip to content

Releases: blepabyte/maxray

v0.7.0

07 Oct 04:17
Compare
Choose a tag to compare

v0.7.0 (2024-10-07)

Documentation

Feature

  • feat: draw runtime callgraph (9eb6619)

  • feat: capture and rerun inators (60bbb02)

  • feat: custom template builder (802ddb3)

  • feat: composable inators

  • support construction from CLI arguments
  • allow extending log capture mechanism
  • remove call_count from FnContext (6e8991d)
  • feat: entered prop and nocompile context (9c8c59a)

Fix

  • fix: chained assignment unpacking (768b3df)

  • fix: staticmethod transforms only ran on the first time (eae0fe9)

Refactor

  • refactor: NodeContext -> RayContext (90ae0ee)

  • refactor: replace NodeContext with higher-level Ray interface (031fec4)

Unknown

  • iter: bind internal context for logging (8cc4c96)

v0.6.0

11 Sep 22:56
Compare
Choose a tag to compare

v0.6.0 (2024-09-11)

Feature

  • feat: more context props (call, iterate, return) (7b51b32)

Fix

  • fix: pass_local_scopes now globally applied (7e61361)

Refactor

  • refactor(runner): display and control flow logic in templates (8db73d9)

  • refactor: separate out rich/display from core runner impl (cc795cf)

v0.5.0

03 Sep 18:15
Compare
Choose a tag to compare

v0.5.0 (2024-09-03)

Chore

  • chore: comment out lines in template (a6603cb)

Feature

  • feat: print traceback on exit (1b04de6)

  • feat: inator template for source overlays (2af8805)

  • feat: dashboard for interactive watch mode (20218d4)

  • feat: propagate more assignment info in NodeContext.props (869db4c)

Fix

  • fix: update scripts in pyproject.toml (51b6996)

  • fix: forbid metaclasses in transforms (c3cafaf)

  • fix: relative imports in modules (05ff21b)

  • fix: flag exception state in xpy via return code (26d1390)

  • fix: support BinOp nodes (4491a38)

  • fix: unbound methods called with correct scope (3835f26)

Refactor

  • refactor: logs_cli -> runner module and saner control flow (cbddfd5)

  • refactor: move runtime impl into RuntimeHelper (34694be)

v0.4.0

15 Aug 11:37
Compare
Choose a tag to compare

v0.4.0 (2024-08-15)

Chore

  • chore: add package name as script to work with pipx/uv (b70b3ee)

Feature

  • feat(capture): stateful watching with -W (6b16aed)

  • feat: improved method patching correctness (a5c991e)

Fix

  • fix: init and call are not mutually exclusive (89ba42c)

  • fix: transform control flow and relative package import (aaee9f0)

  • fix: scope should reflect changes to module state (0ee134e)

  • fix: support global (38387be)

Refactor

  • refactor: better data model for FunctionStore (7863b3a)

Test

  • test: more transform cases (b528f67)

v0.3.0

25 Jun 07:49
Compare
Choose a tag to compare

v0.3.0 (2024-06-25)

Chore

  • chore: add rich dependency (a0a3489)

  • chore: add pyarrow dependency (2b465ca)

  • chore: rename CLI entrypoint from capture-logs to xpy (6efda68)

Ci

  • ci: give up on OIDC and go back to using API token (038d4e7)

  • ci: run tests for PRs (0b4846a)

Documentation

  • docs: really fix project urls this time (982af59)

Feature

  • feat: pass EndOfScript marker to inators in ScriptRunner (119d4a0)

  • feat: ScriptRunner interface w/ CLI support (7800351)

  • feat: hot-reloading of transform funcs (d376135)

  • feat: support -m module-level scripts (af8680d)

  • feat: convenience command to capture logs from external scripts (3006911)

  • feat(capture): export logs to Arrow (ba5e0c5)

  • feat: assign transformed functions a UUID (9557d68)

  • feat: patch init and call (de4e1f0)

Fix

  • fix: re-ordering, and guard against exceptions (c9bc661)

  • fix: memory leak (476ba7b)

  • fix(transform): order scope layers to prevent namespace pollution

Fixes bug where np.load errors with "numpy.AxisError: axis 6 is out of bounds for array of dimension 0" because min was dispatching to np.min due to prior @set_module decorator. (149088e)

  • fix: re-order writer lock to support patching (87ce1ba)

  • fix: descend logic and lru_cache support (4be7e71)

  • fix: super() and method descriptor patching (cbd7b48)

Refactor

  • refactor: function store for serialising source code and metadata (c3d3cec)

Test

  • test: remove implicit use of pandas (0b01e6a)

  • test: script interface (1e65c87)

  • test: add Python 3.13 to test matrix (fb0041f)

  • test: add missing package checks (4925443)

  • test: external package compat for numpy, pandas, torch (2e93ce4)

Unknown

  • Merge pull request #5 from blepabyte/06-17-feat_hot-reloading_of_transform_funcs

feat: CLI and programmatic interface to script runner (56c420b)

  • Revert "test: add Python 3.13 to test matrix"

poetry/pyarrow/etc. build issues (21402e4)

  • Merge pull request #4 from blepabyte/06-10-feat_capture_export_logs_to_arrow

feat(capture): export logs to Arrow (7e6b9d8)

  • Merge pull request #3 from blepabyte/06-17-fix_transform_order_scope_layers_to_prevent_namespace_pollution

fix(transform): order scope layers to prevent namespace pollution (377e1ac)

  • Merge pull request #2 from blepabyte/06-10-feat_assign_transformed_functions_a_uuid

feat: assign transformed functions a UUID (4d60721)

  • Merge pull request #1 from blepabyte/06-10-fix_descend_logic_and_lru_cache_support

fix: descend logic and lru_cache support (9d0fbde)

v0.2.0

14 May 10:29
Compare
Choose a tag to compare

v0.2.0 (2024-05-14)

Documentation

Feature

  • feat: track return nodes, optionally collecting the local scope on exit (8afe9ad)

  • feat: add counter for n-th function invocation to node context (0d51259)

Fix

  • fix: remove kwonly and return type annotations (f0f66d0)

v0.1.1

04 May 02:53
Compare
Choose a tag to compare

v0.1.1 (2024-05-04)

Fix

  • fix: ctypes module check (883ee4f)

v0.1.0

21 Apr 09:33
Compare
Choose a tag to compare

v0.1.0 (2024-04-21)

Chore

  • chore: add project metadata (7777d01)

Ci

  • ci: fix actions yaml syntax (1a83801)

  • ci: add semantic release (faec1c7)

  • ci: add test workflow (b230176)

Documentation

Feature

  • feat: handle async functions

Also fixes for match handling, functools wrapping, and multiple decorators (71029d0)

  • feat: implement transform, xray, maxray (6427aef)

Fix

  • fix: keep exact original source code locations (2d48e9a)

Refactor

  • refactor: function descend logic (26bd6fe)

Test

  • test: decorators and callable hashing (db4fd51)

  • test: check side effects (9facb09)