2022-03-27 08:04:08 +00:00
|
|
|
(deprecation-timeline)=
|
|
|
|
|
|
|
|
# Pyodide Deprecation Timeline
|
|
|
|
|
2022-03-28 05:40:31 +00:00
|
|
|
Each Pyodide release may deprecate certain features from previous releases in a
|
|
|
|
backward incompatible way. If a feature is deprecated, it will continue to work
|
|
|
|
until its removal, but raise warnings. We try to ensure deprecations are done
|
|
|
|
over at least two minor(feature) releases, however, as Pyodide is still in beta
|
|
|
|
state, this list is subject to change and some features can be removed without
|
|
|
|
deprecation warnings. More details about each item can often be found in the
|
|
|
|
{ref}`changelog`.
|
2022-03-27 08:04:08 +00:00
|
|
|
|
2023-02-06 03:35:08 +00:00
|
|
|
## 0.25.0
|
|
|
|
|
|
|
|
- Typescript type imports for `PyProxy` subtypes from `pyodide` will be removed.
|
|
|
|
|
|
|
|
- The methods `PyProxy.supportsHas`, `PyProxy.isCallable`, etc will be removed.
|
|
|
|
|
2022-10-04 23:32:11 +00:00
|
|
|
## 0.24.0
|
|
|
|
|
2022-12-23 00:24:58 +00:00
|
|
|
- The `messageCallback` and `errorCallback` argument to `loadPackage` and
|
|
|
|
`loadPackagesFromImports` will be passed as a named argument only.
|
2022-10-04 23:32:11 +00:00
|
|
|
|
2023-02-06 03:35:08 +00:00
|
|
|
- `Py2JsResult` will be removed.
|
|
|
|
|
2022-06-28 13:31:58 +00:00
|
|
|
## 0.23.0
|
|
|
|
|
2022-12-23 00:24:58 +00:00
|
|
|
- Names that used to be in the root `pyodide` module and were moved to submodules
|
|
|
|
will no longer be available in the root module.
|
|
|
|
- The "message" argument to `PyProxy.destroy` method will no longer be accepted
|
|
|
|
as a positional argument.
|
2022-06-28 13:31:58 +00:00
|
|
|
|
2022-03-27 08:04:08 +00:00
|
|
|
## 0.21.0
|
|
|
|
|
2022-03-28 05:40:31 +00:00
|
|
|
- The `globals` argument to `runPython` and `runPythonAsync` will be passed as a
|
|
|
|
named argument only.
|
2022-04-01 01:26:29 +00:00
|
|
|
- The `extractDir` argument to `unpackArchive` will be passed as a named
|
2022-03-28 05:40:31 +00:00
|
|
|
argument only.
|
2022-03-27 08:04:08 +00:00
|
|
|
|
|
|
|
## 0.20.0
|
|
|
|
|
2022-03-28 05:40:31 +00:00
|
|
|
- The skip-host key will be removed from the meta.yaml format. If needed,
|
|
|
|
install a host copy of the package with pip instead.
|
|
|
|
- `pyodide-interrupts` module will be removed. If you were using this for some
|
2023-02-01 19:00:58 +00:00
|
|
|
reason, use {js:func}`~pyodide.setInterruptBuffer` instead.
|
2022-03-27 08:04:08 +00:00
|
|
|
|
|
|
|
## 0.19.0
|
|
|
|
|
2022-03-28 05:40:31 +00:00
|
|
|
- The default working directory (home directory) inside the Pyodide virtual file
|
|
|
|
system has been changed from `/` to `/home/pyodide`. To get the previous
|
|
|
|
behavior, you can
|
2022-03-27 08:04:08 +00:00
|
|
|
|
|
|
|
- call `os.chdir("/")` in Python to change working directory or
|
2023-02-01 19:00:58 +00:00
|
|
|
- call {js:func}`~globalThis.loadPyodide` with the `homedir="/"`
|
2022-03-27 08:04:08 +00:00
|
|
|
argument
|
|
|
|
|
2022-03-28 05:40:31 +00:00
|
|
|
- When a JavaScript function is called from Python, PyProxy arguments and return
|
|
|
|
values will be automatically destroyed when the function is finished.
|