v0.1.14
Release 0.1.14
Namespace every error code as E__
Photon's codes became E_PHOTON_*, and two places still spoke the old spelling.
The cross-realm check tested code.startsWith("PHOTON_"), so a PhotonError
arriving from a duplicated SSR bundle, a worker or a VM context stopped being
recognised as one and was rewrapped as generic — losing its code, context and
cause. Both spellings are accepted now.
The documentation anchor is built from the code, so E_PHOTON_HYDRATION_NO_DATA
pointed at #e-photon-hydration-no-data while the catalog heading is
#photon-hydration-no-data. The prefix belongs to the code, not to the heading,
and is stripped before the slug — in the browser copy of the helper as well as
the server one.
Changes since v0.1.13.