- Bug fixes in browser bundles;
- More info in error messages from http client;
- UDP client;
- Host election for multiple servers;
- Little possible bugfixes with
max_batch
and other passed in call options;
- Renamed
influent.createClient()
toinfluent.createHttpClient()
; - Renamed
client.writeOne
andclient.writeMany
toclient.write(m, opts)
, where type ofm
isArray
, and type ofopts
isObject
. When usingDecoratorClient
, returned fromcreateHttpClient
orcreateUdpClient
–write
method could accept array or single measurement object; - Removed
influent.type.{INT64, FLOAT64, BOOLEAN, STRING}
and added constructors instead:influent.{I64, F64, Bool, Str}
; - All of inner
influent.Client
implementations now receiveinfluent.Batch
object inwrite
method andinfluent.Query
inquery
method; influent.DecoratorClient
now is not inheritor ofinfluent.Client
– it is separate wrapper object.
- If you used
influent.createClient
method, just rename it withinfluent.createHttpClient
; - All of your
client.writeOne(m, o)
should be renamed as:
client.write(m, o)
if you using defaultcreateHttpClient
or manually instantiated some ofDecoratorClient
;client.write([m])
if you are usingHttpClient
orUdpClient
directly;
- All of your
client.writeMany(m, o)
should be renamed toclient.write(m, o)
; - All of your
new Value(x)
orwrite({key:"a", value: { data: 10, type: influent.type.STRING }})
will fail now. Users should use OOP version of types if they want to be explicit:new influent.Str("hello"), new influent.I64(1), new influent.F64(1.1), new influent.Bool(true)
; for implicit version with decorator client (which is used by default) – type will automatically inherited (all numbers toF64
) –.write({key:"a", value: 10})
will write 10 asfloat64
to InfluxDB.
- Fixed
ping
behaviour in browser - it now do not requiresX-Influxdb-Version
strictly; - Fixed
auth
behaviour in browser - it now works; - Added CI tests with
karma
.
- Add
ping
method.
- Support for InfluxDB@0.9.3 changes
- Bug fixes
epoch
andprecision
options
- Sort keys for tags and fields for better performance
- Bug fixes
- Initial functionality.
- n/a