ifURI docs

Upgrade guide: urirun 0.3 → 0.4

urirun 0.4 is backward compatible: the public API is unchanged and old import paths still work through shims. For most downstreams the upgrade is a one-line pin bump; the rest of this page is optional new capability.

1. Bump the pin

- pip install "git+https://github.com/if-uri/urirun.git@v0.3.14#subdirectory=adapters/python"
+ pip install "git+https://github.com/if-uri/urirun.git@v0.4.0#subdirectory=adapters/python"

The same @v0.3.14 → @v0.4.0 change applies to connector pyproject.toml pins, get.urirun.com (URIRUN_REF) and the ifURI app. Across this repo set it is one command — apply-release-pins.sh v0.4.0 (see the release checklist).

2. What stays the same

3. What moved (IFURI-007)

The runtime was split into urirun.runtime.* with host and connector subpackages. New code should import from the canonical location:

- from urirun import errors
+ from urirun.runtime import errors

Shims keep the old paths working, but they are the migration target, not the destination. Check what your project still imports from the legacy layout:

urirun compat check        # which modules moved to runtime/host/connector or to a connector package

4. New capabilities (opt in)

See the 0.4 work summary for the full surface.