Comments (10)
Greetings @robgleeson - I believe one of our engineers pulled it yesterday due to a change in the Thread
logic.
See: #12 (comment)
@percyhanna will have an update available soon.
from km.
okay. how "soon" is soon? doing something like this blocks a whole deploy & build process for anything that depends on kmts
.
from km.
I had to fork the kmts gem & host it privately until a new release happens & we can update to the new API.
it looks like the new version is not backwards compatible. So, the old gem is gone, the existing API people are using won't work anymore when they can upgrade, and there's nothing to upgrade to right now.
Why not keep the old version and bump a new release(a MAJOR bump if it is not backwards compatible) ? Or at least some transparency on the issue. There's nothing but a pull request comment and a (unreleased) branch that doesn't have a compatible API with earlier versions of the same gem. A normal release process that saw a new release which addressed the bug would have avoided this mess.
from km.
it looks like kmts
v1.0.2 is the (not thread-safe) km
gem. o_O
source code is the same. KM.identify
looks like it could end up mis-identifying people because it re-assigns @id
on something that's globally reference-able(KM
module) and could be called from 2+ threads. I don't know if this has an impact on my code, need to investigate and upgrade to the new code (a release would be appreciated).
from km.
Hi Rob, my apologies for causing these issues for you. I jumped the gun on yanking the gem when I probably shouldn't have.
The main reason that I did that is, as you pointed out, that version 1.0.2 of kmts
had somehow lost the thread-safe commit, and basically became the same as the km
gem. I made the (wrong) decision to yank the gem until we had a proper fix for it.
We're working on getting a 2.x kmts
gem out ASAP. Sorry again for the trouble.
from km.
@percyhanna thanks. it turns out this does not impact my code. I'm using the thread-safe version on the branch you created for now though.
from km.
We've release version 2.0.0 of the kmts
gem, available here: https://github.com/kissmetrics/kmts and on RubyGems.
from km.
thanks, I'll upgrade now.
from km.
that repository doesn't exist right now. it'd be great if it did to avoid confusion. +1 for the KMTS namespace change too.
from km.
Sorry, forgot to make it public. Should be good now.
from km.
Related Issues (15)
- KM Isn't Threadsafe HOT 1
- Connection times out when get request too large HOT 2
- License HOT 1
- Need a rubygems.org release for development testing HOT 3
- Don't rescue Exception
- uninitialized constant ApplicationController::KM for kmts gem (kmts gem doesn't work) HOT 4
- README for kmts is wrong HOT 2
- Why rename? HOT 1
- Requiring the kmts gem doesn't work HOT 3
- Simpler alternative HOT 3
- KM Gem replacing spaces with "+" HOT 4
- kissmetrics_production_sent.log is never pruned
- log file is opened for each event
- Sending events not related to the browsing user is not possible HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from km.