Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-02-09 Thread Jim Borden
Hey, just wanted to chime in and let you know that the discussion about the builder API ended with the "remove it" side winning. We are back to regular configuration objects with DB022, except that once they are used inside of their various objects they become "frozen" and further attempts to

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-02-02 Thread Jens Alfke
> On Feb 2, 2018, at 3:16 PM, paul.jac...@sadasystems.com wrote: > > I'm growing tired of crashes related to multiple threads accessing the > database at the same time and I can either go through and put everything in > queues (not sure yet if NSOperation or dispatch), or try switching to 2.0

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-02-02 Thread Jens Alfke
> On Jan 30, 2018, at 12:45 PM, Ben Kennedy wrote: > > When retrieved in 2.0, I see the "_attachments" property on the document. > However, I can't figure out how to acquire the blob using the new API. > Neither using the attachment name nor property name as the

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-02-02 Thread paul . jacobs
Congratulations (and hi), I'm excited to start working with Couchbase 2 if the time is right, as the threading issues with Couchbase 1.4 have been.. challenging. I know this is a very subjective question but, roughly how stable is this code now? Would you use it in a production environment? Or

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-02-02 Thread Paul Jacobs
ems.com> > *Date: *Friday, February 2, 2018 at 6:16 PM > *To: *Couchbase Mobile <mobile-couchbase@googlegroups.com> > *Subject: *Re: Announcing Release of Couchbase Lite 2.0 Developer Build > 21 (DB 21) > > > > Congratulations (and hi), I'm excited to start worki

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-02-02 Thread Priya Rajagopal
issues… Regards -Priya From: <paul.jac...@sadasystems.com> Date: Friday, February 2, 2018 at 6:16 PM To: Couchbase Mobile <mobile-couchbase@googlegroups.com> Subject: Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21) Congratulations (and hi), I'm excited to s

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-02-02 Thread James Nocentini
Indeed, that isn't right. Updated that too to match with the statement in the Couchbase Lite API guide. Thanks! On Friday, 2 February 2018 19:14:33 UTC+1, Ben Kennedy wrote: > > > On Feb 2, 2018, at 9:58 AM, James Nocentini > wrote: > > > > (Incidentally, speaking of

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-02-02 Thread Ben Kennedy
> On Feb 2, 2018, at 9:58 AM, James Nocentini wrote: > > (Incidentally, speaking of documentation, there appear to be a couple of > notable errors in the setup guide for SG 1.5 relating to support for CBL 2.0 > replication. I submitted feedback via the page; see >

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-02-02 Thread James Nocentini
> > (Incidentally, speaking of documentation, there appear to be a couple of > notable errors in the setup guide for SG 1.5 relating to support for CBL > 2.0 replication. I submitted feedback via the page; see > https://issues.couchbase.com/browse/DOC-3194.) @Ben Thanks for letting us know!

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-01-30 Thread Ben Kennedy
> On Jan 26, 2018, at 6:49 PM, Jim Borden wrote: > > The spirit of what you described is what you should do, but your replicator > will shut down automatically once the session cookie expires because it will > start getting unauthorized errors (I'm not sure why it was in

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-01-26 Thread Jim Borden
The spirit of what you described is what you should do, but your replicator will shut down automatically once the session cookie expires because it will start getting unauthorized errors (I'm not sure why it was in the client API and so when it was reviewed it was removed, but as far as

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-01-26 Thread Ben Kennedy
> On Jan 24, 2018, at 7:36 PM, Priya Rajagopal > wrote: > > The examples in the documents correspond to Developer Build 21 (DB21) which > is the latest officially released version available from our Downloads page > (https://www.couchbase.com/downloads) . You

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-01-24 Thread Priya Rajagopal
Hey Ben Quick note regarding :- Perhaps it's is a known issue, but the examples currently shown at > https://developer.couchbase.com/documentation/mobile/2.0/couchbase-lite/swift.html > don't > work. The examples in the documents correspond to Developer Build 21 (DB21) which is the latest

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-01-24 Thread Jim Borden
Objective-C also makes use of a builder of sorts (https://github.com/couchbase/couchbase-lite-ios/blob/feature/2.0/Objective-C/CBLReplicatorConfiguration.h#L154-L183) Yes, the builder is the only current way to do it, but debate has arisen again internally as pointed out above. However, we

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-01-24 Thread Ben Kennedy
> On Jan 24, 2018, at 5:36 PM, Pasin Suriyentrakorn wrote: > > Currently when using the Swift API, please do use the CBL-named classes as > those are the objective-c API. Thanks. I infer that you mean to say "do NOT use" the CBL-named classes in Swift? And thus, to

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-01-24 Thread Pasin Suriyentrakorn
On Jan 24, 2018, at 4:17 PM, Ben Kennedy > wrote: On Jan 24, 2018, at 3:54 PM, Jens Alfke > wrote: When there are a lot of optional properties for creating an object, it gets awkward to stuff

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-01-24 Thread Jim Borden
> > > Therefore it is incorrect to expect that modifying a struct -- a copy of > which was previously handed to another object -- should have any future > effect. That doesn't stop people from expecting it...and wasting time with questions about it -- You received this message because you

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-01-24 Thread Ben Kennedy
> On Jan 24, 2018, at 3:54 PM, Jens Alfke wrote: > > When there are a lot of optional properties for creating an object, it gets > awkward to stuff all of them into one constructor/initializer method, so you > create an object to hold the properties and then pass that to

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-01-24 Thread Jens Alfke
On Jan 24, 2018, at 2:59 PM, Ben Kennedy > wrote: This seems like an insanely baroque syntax. Is it the correct way? It’s the Builder design pattern. When there are a lot of optional

Re: Announcing Release of Couchbase Lite 2.0 Developer Build 21 (DB 21)

2018-01-24 Thread Ben Kennedy
Hello, all. In our org we have been using CBL 1.x in our iOS app for a couple of years now. Our work on that area has been more or less in a stasis for some time, but we've recently started work on a greenfield project that finally provides the opportunity to begin working with CBL 2.0 betas.