Removed or Deprecated Components
================================
Components Moved to IDF Component Registry
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Following components are removed from ESP-IDF and moved to `IDF Component Registry `_:
* `libsodium `_
* `cbor `_
* `jsmn `_
* `esp_modem `_
* `nghttp `_
* `mdns `_
* `esp_websocket_client `_
* `asio `_
* `freemodbus `_
* `sh2lib `_
* `expat `_
* `coap `_
.. note::
Please note that http parser functionality which was previously part of ``nghttp`` component is now part of :component:`http_parser ` component.
These components can be installed using ``idf.py add-dependency`` command.
For example, to install libsodium component with the exact version X.Y, run ``idf.py add-dependency libsodium==X.Y``.
To install libsodium component with the latest version compatible to X.Y according to `semver `_ rules, run ``idf.py add-dependency libsodium~X.Y``.
To find out which versions of each component are available, open https://components.espressif.com, search for the component by its name and check the versions listed on the component page.
Deprecated Components
^^^^^^^^^^^^^^^^^^^^^
The following components are removed since they were deprecated in IDF v4.x:
* ``tcpip_adapter``. Please use the :doc:`ESP-NETIF ` component instead; you can follow the :ref:`tcpip-adapter`.
.. note::
OpenSSL-API component is no longer supported. It is not available in the IDF Component Registry, either. Please use :doc:`ESP-TLS ` or :component:`mbedtls` API directly.
The targets components are no longer necessary after refactoring and have been removed:
* ``esp32``
* ``esp32s2``
* ``esp32s3``
* ``esp32c2``
* ``esp32c3``
* ``esp32h2``