Skip to content

cta4j-java-sdk v3.0.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 18:03
· 284 commits to main since this release
836358d

Added

  • A new type UpcomingBusArrival representing upcoming bus arrival information.
  • A new type BusCoordinates representing bus coordinates (latitude, longitude, heading).
  • An arrivals field of type List<UpcomingBusArrival> has been added to the Bus class to provide information about upcoming bus arrivals.

Changed

  • BREAKING CHANGE: Organized classes into packages by functionality:
    • com.cta4j.bus for bus-related classes
    • com.cta4j.train for train-related classes
    • com.cta4j.common for shared/common classes
  • BREAKING CHANGE: Public concrete client classes replaced by interfaces with a fluent Builder API (e.g. BusClient, TrainClient)
    • Create clients via XxxClient.builder()...build() instead of instantiating implementation classes.
  • BREAKING CHANGE: The Bus class has moved latitude, longitude, and heading fields into a field of type BusCoordinates.
  • Implementation classes are now internal and may be excluded from source/javadoc artifacts.