Repository navigation
Releases
v0.1.2
No change to the gem's code; 0.1.1 code works unchanged.
- The gemspec gives RubyGems a summary and description that say what the gem is, points its homepage at the Rails setup guide on pug.sh, and links the docs and these release notes (#11).
- The README says
trackandidentifynever wait on the network. When a queue overflows,on_errorruns on the caller's thread, so it no longer says "non-blocking" (#11).
Install: gem install pug-sh -v 0.1.2
v0.1.1
Ships the release workflow: pushing a version tag now checks the tagged commit, builds the gem and pushes it to RubyGems with trusted publishing, so releases no longer need a local gem push.
No change to the gem's code; 0.1.0 code works unchanged.
Install: gem install pug-sh -v 0.1.1
v0.1.0
identify now returns at once, like track: identifies are queued on a background sender of their own and sent in batches with BatchIdentify.
A server that predates BatchIdentify gets one Identify call per queued identify. Identifies share the batch settings and retry rules with events, flush and close cover both queues, and an identify over 900 KiB is dropped with an error since the server can't deliver it.
Breaking: on_error is now called with (error, undelivered), where undelivered is a Pug::Undelivered whose events or identifies hold what was lost, instead of (error, events). A 0.0.x handler still passes the arity check but fails once it treats the second argument as an Array. identify failures now reach on_error rather than only the log, and because identify no longer waits for the server, a read straight after it may not see the change yet.
Install: gem install pug-sh -v 0.1.0
v0.0.2
Sends snake_case property and trait keys in camelCase, so order_total: arrives as orderTotal, the spelling well-known event fields use and JavaScript code usually writes.
Only lowercase snake_case at the top level is renamed: nested Hash keys and any other key are sent as written. If two keys come out the same, such as order_total and orderTotal, the last one is sent and the other is dropped with a warning, as with Hash#merge. Pug's Node, Go and Python SDKs keep sending keys as written.
This changes what 0.0.1 sends. Data it stored keeps the snake_case keys, so saved filters need the camelCase names, and profiles will hold both spellings.
Install: gem install pug-sh -v 0.0.2