-
Notifications
You must be signed in to change notification settings - Fork 33
0.9.0 Migration Guide
Paul Cleary edited this page Dec 6, 2018
·
4 revisions
0.9.x is not backward compatible with 0.8.x and prior versions. This document highlights the differences, in particular those changes that upgrades need to take into consideration.
0.8.x had a handy JMoney
java api that simplified tracing for java applications. It is possible to add this back, but as of 0.9.0 it does not exist.
0.8.x code example
import com.comcast.money.japi.JMoney;
...
JMoney.startSpan("long-values")
JMoney.record("the-long", 1)
JMoney.stopSpan()
...
0.9.x code example
import com.comcast.money.core.Money;
...
Money.Environment().tracer().startSpan("long-values");
Money.Environment().tracer().record("the-long", 1L);
Money.Environment().tracer().stopSpan();
...
The configuration syntax has dramatically changed moving from 0.8.x to 0.9.x. We recommend replacing the money configuration with the new configuration
- Overview
- Configuration
- Logging Setup
- Performance Considerations
- Java Users Guide
- Scala Users Guide
- Modules
- Contributing