daml/docs/source/upgrade
Andreas Herrmann c7ee410fa3
Use DA.Map in triggers if available (#9023)
* Use DA.Map in triggers if available

Replaces DA.Next.Map by DA.Map in the trigger library if the DAML-LF
version supports it, i.e. above 1.11.
Selects on `DAML_GENMAP` and `DAML_GENERIC_COMPARISON` using `CPP`.

changelog_begin
- [Triggers] The trigger library now uses `DA.Map` instead of the
  deprecated `DA.Next.Map` if the targeted Daml-LF version supports it.
  This is a breaking change: Code that interfaced with the triggers
  library using `DA.Next.Map`, e.g. with
  `Daml.Trigger.getCommandsInFlight` or `Daml.Trigger.Assert.testRule`,
  will need to be changed to use `DA.Map` instead.
changelog_end

* Deduplicate GMap imports in triggers

* DA.Next.Map --> DA.Map in carbon-upgrade-trigger

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2021-03-04 14:15:01 +01:00
..
example Use DA.Map in triggers if available (#9023) 2021-03-04 14:15:01 +01:00
automation.rst Daml case and logo (#8433) 2021-01-08 12:50:15 +00:00
extend.rst Daml case and logo (#8433) 2021-01-08 12:50:15 +00:00
index.rst Daml case and logo (#8433) 2021-01-08 12:50:15 +00:00
upgrade.rst Daml case and logo (#8433) 2021-01-08 12:50:15 +00:00