Skip to content

Releases: trafi/mammoth-kt

2.2

31 Aug 09:17
0f76634
Compare
Choose a tag to compare
  • #5 Support customization of output class name and schema metadata inclusion
    • new CLI parameter --output-class-name specifies generated class name
    • new CLI parameter --no-schema-metadata specifies not to include schema metadata in generated event parameters
    • support Mammoth event schemas without an event_type parameter — no publish events will be generated in such cases
    • code is generated with trailing commas
  • #7 Update dependencies

2.1

31 Aug 09:09
2de78a6
Compare
Choose a tag to compare
2.1
  • #4 Generate explicitConsumerTags for Analytics.Event
  • #3 Update dependencies

2.0

30 Jun 11:59
699e557
Compare
Choose a tag to compare
2.0
  • #2 Generate both business and publish names
  • d3a02b5 Hint to use Trafi VPN to connect to the mammoth service

1.1

10 Mar 22:41
Compare
Choose a tag to compare
1.1
  • dc09dc0 Publish Mammoth event id as achievement_id for each event
  • 3ae4383 Remove superfluous published event_name parameter value for each event
  • e5c1a9d Use less strict JSON parsing to avoid breaking the script as the JSON schema evolves

1.0

27 Feb 11:56
8b42acf
Compare
Choose a tag to compare
1.0
  • generate object AnalyticsEvent with a RawEvent generating function for each event in the schema
  • default screen_name and previous_screen_name parameters to Analytics.screenName
  • default modal_name parameters to Analytics.modalName
  • support the following arguments
    • --project mammoth project id (e.g. whitelabel)
    • --version mammoth schema version
    • --output-path generated code output path
    • --output-filename generated code output filename