-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cherry pick 3.2.1-3.2.2 to master #3363
base: master
Are you sure you want to change the base?
Conversation
velicuvlad
commented
Feb 13, 2025
- New LogSink API
- New Partial Index API
- LiteCore 4.0.0-39
* CBL-6456 : Implement Swift LogSink API * Implemented Swift LogSink API. * Fixed using out-of-scope CBLStringBytes when setting directory and header to C4 API for CBLFileLogSink ; Added an option to CBLStringBytes to disable inline storage. * Ran the script to generate public symbol for the logging API. * Renamed domain property to domains in CBLConsoleLogSink and CBLCustomLogSink. * Changed maxKepthFiles to NSInteger and maxFileSize to long long in CBLFileLogSink. * Updated and completed missing API docs in Objective-C LogSink API. * Used @testable import so that the tests can use the internal function.
* Partial index impl and tests * LiteCore 3.2.2-8 * update testVectorMatchLimitBoundary
The class initialize method is + initialize instead of + init.
* Add missing headers in Swift Private Module Map files. * Fix build and deprecation error.
I believe Partial Index is only defined and not implemented in LiteCore for 4.0.0-39. Hence the tests failing... |
I think it's better to wait for a new LiteCore with partial index otherwise the PR validation will continue to be failed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a pretty big port. If there were any merge conflicts, I'd like to have them highlighted. If not, I guess it is good to go
} | ||
} | ||
|
||
- (CBLLogLevel) level { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this SOP? You need the lock on the set, but not on the get?
@@ -2,7 +2,7 @@ | |||
// CBLFullTextIndexConfiguration.h | |||
// CouchbaseLite | |||
// | |||
// Copyright (c) 2024 Couchbase, Inc All rights reserved. | |||
// Copyright (c) 2025 Couchbase, Inc All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that standard practice is to include them all: 2024, 2025