Skip to main content

NQE Updates for 24.7.0

Related products:NQE
  • July 22, 2024
  • 0 replies
  • 17 views

kevinbrasher
Employee

Breaking Change Announcements

  • Change: The OS value DELL has been updated to DELL_OS6.

Breaking Change Preannouncements

  • Change: The Vendor value OPENFLOW_GENERIC is deprecated and will be removed in release 24.9.
  • Change: The OS value NETRONOME_OVS_OFCTL and Vendor value NETRONOME are deprecated and will be removed in release 24.9.

What's New

  • New Feature: Declarations can now include return type annotations.
  • New OS and Vendor Values: DELL_OS9 is now a value for both OS and Vendor.
  • New OS and Vendor Values: DELL_OS10 is now a value for both OS and Vendor.

Improvements

  • Type Annotations: Any function can now have parameter type annotations. Previously, this was only possible with an exported declaration or a parameterized query.
  • Optional Record Fields: Improved handling of optional record fields when considering record subtyping. One record type can now be a subtype of another even if it omits optional fields of the other. For example, { iface: String } is now a subtype of { iface: String, vlan?: Number }.
  • Command Modification for PAN_OS: The command with CommandType value VIRTUAL_CONTEXTS for the OS value PAN_OS now uses the command set system setting target-vsys ? in some cases.
  • Command Modification for FORTINET, CHECKPOINT, and F5: The command with CommandType value VERSION for the OS value FORTINET no longer uses get sys per status | grep Uptime. Instead, UPTIME is now a possible CommandType value using get sys per status. The OS values CHECKPOINT and F5 also use this CommandType with the commands show uptime for CHECKPOINT and either bash -c uptime or uptime for F5.

Deprecations

  • VpcData Field: The field cloudType on the record VpcData is deprecated and will be removed in a major release. Use the cloudType field on the record CloudAccount instead.
  • Deprecated Functions: The built-in functions blockDiff_alpha1, blockMatches_alpha1, and hasBlockMatch_alpha1 are deprecated and will be removed in a major release. Use the versions of these functions without the _alpha1 suffix.