Search
Varnish Controller

Deprecation

This page announces which endpoints and features will be breaking in the upcoming major release. Users of the Varnish Controller are advised to implement the alternatives. Are you only using the UI? Then no action is needed, these changes are mostly regarding configuration, API endpoints and CLI commands.

Upcoming deprecations

In one of the upcoming major releases there will be some breaking changes, it is advised to move away from the following logic:

CLI

  • All vcli vcl * commands will be removed, use the vcli files * commands instead.

API-GW

  • All /api/v1/vcls/* endpoints will be removed, use the /api/v1/files/* endpoints instead.
  • The /api/v1/agents/1/vclgroups endpoint will be removed, use /api/v1/vclgroups?agents.id=1&vg_states.deployed=true instead.
  • The /api/v1/tags/1/agents endpoint will be removed, use /api/v1/agents?tags.id=1 instead.
  • The /api/v1/vclgroups/1/agents endpoint will be removed, use /api/v1/agents?vcl_groups.id=1&vg_states.deployed=true instead.
  • The operator=and will be removed from the filters, instead of ?tags.id=1,2&operator=and use ?tags.id[all]=1,2.

You can replace the above commands and API endpoints as of version 4.1.0.