ForceCLI/force

Support for API v40.0

Closed this issue · 6 comments

Working with version v0.22.73, I'm getting two errors when doing a

$ force push -f apexFile
  1. [APEX] Error Method does not exist or incorrect signature: void publish(SObject) from the type EventBus
  2. [OBJECT]Error Property 'enableChangeDataCapture' not valid in version 39.0

Try setting the api version to v40.0

https://github.com/heroku/force/releases/tag/v0.22.73 did update the api version to v40.0, did it not?

where can I check that?

$ force apiversion

returns v40.0

the meta data of the class being put to Org has

<apiVersion>40.0</apiVersion>

I created a new Org, and force pushed those two classes, this time with success.