Deprecated APIs
As part of enhancing developer experience and long-term maintainability, we have renamed and reorganized many of the IguanaX API functions. This update improves:
Readability – clearer names that reflect functionality
Comprehension – easier onboarding for new developers
Consistency – better namespacing (e.g.,
ui
,component
,net.tcpAsync
, etc.)
Most deprecated APIs are specific to IguanaX. A small number exist in Iguana 6. If you're migrating from Iguana 6 to IguanaX, you may need to manually update those affected functions
How to Recognize and Update Deprecated APIs
When reviewing your Lua code:
Deprecated functions are shown with strikethrough formatting
By Clicking on the Deprecated Function, you can view detailed documentation
You can also list ALL deprecated apis using Help Doc → Show Deprecated checkbox
Deprecated APIs Full List
✅ You can use the Search and Replace utility to update multiple APIs across a project.
Here is the Deprecated APIs list with its categories and whether the API exists in Iguana 6
Deprecated Function | Replacement Function | Category | Exists in Iguana6 |
---|---|---|---|
component.call |
| Inter-Component Messaging & Queue Functions | ❌ No |
component.clone |
| Component Lifecycle & Execution Control | ❌ No |
component.retry |
| Component Lifecycle & Execution Control | ❌ No |
component.runAs |
| Component Lifecycle & Execution Control | ❌ No |
component.setBorder |
| UI | ❌ No |
component.setColumn |
| UI | ❌ No |
component.setLight |
| UI | ❌ No |
component.setStatus |
| UI | ❌ No |
component.setTooltip |
| UI | ❌ No |
gcinfo |
| Environment & System Functions | ❌ No |
iguana.logMessage |
| Logging and Debugging | ❌ No |
iguana.projectRoot |
| Environment & System Functions | ✅ Yes |
iguana.setColumn |
| UI | ❌ No |
iguana.setTimeout |
| Component Lifecycle & Execution Control | ❌ No |
iguana.stopOnError |
| Component Lifecycle & Execution Control | ✅ Yes |
iguana.translatorGuid |
| Component Info & Metadata | ❌ No |
net.smtp.send |
| Network Communication | ✅ Yes |
net.tcp.recv |
| Network Communication | ✅ Yes |
os.whichOs |
Note: output changed to ‘macos’, ‘windows’, or ‘linux’ | Environment & System Functions | ❌ No |
socket.close_a |
| Network Communication | ❌ No |
socket.connect_a |
| Network Communication | ❌ No |
socket.listen_a |
| Network Communication | ❌ No |
socket.onAccept |
| Network Communication | ❌ No |
socket.onClose |
| Network Communication | ❌ No |
socket.onConnect |
| Network Communication | ❌ No |
socket.onData |
| Network Communication | ❌ No |
socket.onWrite |
| Network Communication | ❌ No |
socket.send_a |
| Network Communication | ❌ No |
table.foreach |
| General Utilities | ✅ Deprecated |
table.foreachi |
| General Utilities | ✅ Deprecated |
table.getn |
| General Utilities | ✅ Deprecated |
table.setn |
| General Utilities | ✅ Deprecated |
test.search |
| General Utilities | ❌ No |
unwind_protect |
| General Utilities | ❌ No |
util.guid |
| General Utilities | ✅ Yes |
Considerations
IguanaX Version for Deprecated APIs
These changes were introduced in IguanaX v10.1.111.
See the official change log for full details: IguanaX Change Log – Release 10.1.111 Notes
Deprecated APIs Support
Deprecated APIs will continue to function in current IguanaX versions. However:
They are no longer supported for bug fixes or enhancements
Future releases may remove them entirely
We strongly recommend updating deprecated API usage after upgrading