Skip to content
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

Merge 3.2.1 RC2 to master #3338

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open

Merge 3.2.1 RC2 to master #3338

wants to merge 48 commits into from

Commits on Mar 15, 2024

  1. CBL-5524 : Add all keys to the Privacy Manifest file (#3258)

    NSPrivacyAccessedAPITypes and NSPrivacyCollectedDataTypes are required for generating the App’s privacy report even though in the Apple doc, the only required key for 3rd party SDK is NSPrivacyAccessedAPITypes. This commit adds all keys in case the other keys are required in the future by Apple.
    pasin authored Mar 15, 2024
    Configuration menu
    Copy the full SHA
    097c396 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. CBL-5541 : Update vector search test per changes in v1.8 (#3260)

    * Test 5, 6, 10, 11, 12, 13, 14, 16, 17, 18, 20, 22, 23, 24, 25 : Use centroids = 8.
    * Test 5, 6, 7, 8, 9, 10, 11, 12, 14, 17, 18, 20, 22, 24, 25 : Verify that the index is trained.
    * Test16 : Verify that the index is untrained.
    * Test 20 : Add the step to create the query after the index was deleted.
    pasin authored Mar 19, 2024
    Configuration menu
    Copy the full SHA
    cb1f0f2 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Configuration menu
    Copy the full SHA
    f12c86d View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. Set API Doc Version in generate release zip script (#3267)

    * Without explicitly set the version, the tool intelligently picks the version number from the podspec file. This may be OK unless we forgot to update the version in the podspec or we cannot update the version until the release time.
    
    * Explicitly set the version number when generating the doc. If the version is not specified, there will be no version shown in the doc.
    pasin authored Mar 28, 2024
    Configuration menu
    Copy the full SHA
    9b6e07d View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Update LiteCore and VS version (#3269)

    * update VS version
    
    * update LiteCore to 3.2.0-159
    
    * disable check for trained index to pass test
    velicuvlad authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    80fbdf2 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. CBL-5365: Remove CBLErrors.h from Swift Public API (#3271)

    * import private module defined in modulemap
    
    * check for errors using swift definitions instead of obj-c
    velicuvlad authored Apr 18, 2024
    Configuration menu
    Copy the full SHA
    61cbaee View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. CBL-5508: Update Min macOS Support Version to 12.0 (#3272)

    * set project to macos 12 and fix issues
    
    * remove MYAnonymousIdentity from project - not used
    
    * update LiteCore
    
    * change from long to double to handle floating comparison testExpiryNoGreaterThanDate
    velicuvlad authored Apr 24, 2024
    Configuration menu
    Copy the full SHA
    fe22205 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. CBL-5693 : Fix missing exported symbols (#3281)

    * Ported the fix from release/3.1 branch.
    
    * Used the same approach as CBL-C to generate CE and EE exported symbole file. The workflow will be updating CBL.txt or CBL_EE.txt (Contains EE only symbols) at Objective-C/Exports folder and run generate_exports.sh script. The final export symbol files will be in the Objective-C/Exports/Generated folder.
    
    * Ensured to include all symbols by cross checking with the symbols extracted from the header files.
    
    * Removed obsoleted predefined classes which don’t exist anymore.
    pasin authored May 3, 2024
    Configuration menu
    Copy the full SHA
    c574ff7 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. CBL-5222: MutableDocument should be usable before creating a database…

    … instance (#3278)
    
    * init logging for MutableDocument
    
    * fix typo
    velicuvlad authored May 6, 2024
    Configuration menu
    Copy the full SHA
    b78033e View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. CBL-5613: Swift API docs for Scope using Obj-c reference (#3284)

    * fix obj-c ref in swift api
    
    * fix some other mistakes or spacing within Swift API Docs
    velicuvlad authored May 15, 2024
    Configuration menu
    Copy the full SHA
    986803e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec83376 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. CBL-5514: Swift MutableDocument's collection is not set when a new do…

    …cument is saved (#3287)
    
    * change Document.collection API
    
    * add tests
    
    * remove TODO
    velicuvlad authored May 20, 2024
    Configuration menu
    Copy the full SHA
    87d307b View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Update LiteCore to 3.2.0-189 (#3288)

    * Update LiteCore to 3.2.9-189
    * Updated LiteCore to 3.2.9-189.
    * Updated VS extension to 1.0.0-42.
    * I have noticed that recently the macOS agent on Github Action is much slower than before. I have added `expTimeout` variable for the default expectation timeout and increased a timeout to 20 seconds.
    pasin authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    39f749d View commit details
    Browse the repository at this point in the history
  2. CBL-5660 : Fix a released query context may be used in observer callb…

    …ack (#3285)
    
    * Directly ported the fix from release/3.1 branch.
    
    * Implemented CBLContextManager class for retaining and mapping the object with its pointer value which can be used as  the context for LiteCore's callbacks (e.g. use when creating c4queryobserver objects). The implementation simply stores the object in a map by using its memory address as the key and returns the memory address as the pointer value.
    
    * Updated CBLQueryObserver to use CBLContextManager to make sure that the released query context can be detected and not be used. When using the query context, the query context is retained.
    
    * Added a test for CBSE-16662 which is related to this issue and two tests to check that there are no notification received without crash (CBL-5660) after removing the token.
    
    * Added an internal debug build only C4QueryObserverCallbackDelayInterval config for testing the fix.
    pasin authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    12dfb61 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    f5063c6 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Configuration menu
    Copy the full SHA
    e652471 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Configuration menu
    Copy the full SHA
    b1c5ce6 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. CBL-5750 + CBL-5757 Lazy Index - ObjC (#3291)

    - Update to LiteCore 3.2.0-195 and VS-43
    velicuvlad authored Jun 14, 2024
    Configuration menu
    Copy the full SHA
    1e9a1ce View commit details
    Browse the repository at this point in the history
  2. Change PR Validation (#3293)

    * build for test only in Actions
    
    * build and test for both macOS and iOS in Jenkins
    velicuvlad authored Jun 14, 2024
    Configuration menu
    Copy the full SHA
    a38b879 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2024

  1. CBL-5811 : Support Vector Dimension to 4096 and Vector in Base64 Stri…

    …ng (#3294)
    
    * Updated test 3 and added test 27.
    * The implementation update is in the EE repo.
    pasin authored Jun 22, 2024
    Configuration menu
    Copy the full SHA
    affb1b3 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. CBL-5803 : Implement Lazy Vector Index and Test for Swift (#3295)

    * Implemented Lazy Vector Index and Test for Swift
    * Refactored VectorSearchTest in both Swift and Objective-C to reduce duplicate codes.
    * Updated some API docs.
    * The companion change commit is in the EE repo.
    pasin authored Jun 24, 2024
    Configuration menu
    Copy the full SHA
    fbdac56 View commit details
    Browse the repository at this point in the history
  2. CBL-5567 : Implement log replicator heiroglyphics (#3296)

    * Implemented Replicator log heiroglyphics by using symbols to describe replicator.
    
    * Removed ":" that separates log meesage and the replicator heiroglyphics as it seems to be redundant.
    pasin authored Jun 24, 2024
    Configuration menu
    Copy the full SHA
    19d3dbf View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. CBL-5859 : Allow explicitly enable vector search (#3297)

    * Implemented Extension.enableVectorSearch in both Objective-C and Swift.
    
    * Moved the logic from CBLDatabase.mm to CBLExtension in ee repo.
    
    * Used LiteCore 61cfa302d61b8baef2c2cfeeb79c24653e1603a0 temporarily to allow the function to be implemented.
    pasin authored Jun 25, 2024
    Configuration menu
    Copy the full SHA
    58ad341 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. CBL-5886: Add missing numProbes and correct min/maxTrainingSize defau…

    …lt value (#3298)
    
    * add numProbes property and fix tests
    
    * all VS tests enabled now
    
    * LiteCore 3.2.0-210
    
    * update VS to 1.0.0-52
    
    * rename test class names
    velicuvlad authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    c22c095 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. CBL-5932: Update default constants and public symbols (#3299)

    * update Defaults and exported symbols
    
    * fix isLazy
    velicuvlad authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    6cff97b View commit details
    Browse the repository at this point in the history
  2. CBL-5928 : CBLErrors.h is not included in the umbrella header (#3301)

    Made the CBLErrors.h a private header for CBL_Swift and CBL_EE_Swift target.
    pasin authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    6b109de View commit details
    Browse the repository at this point in the history
  3. CBL-5927 : Fix Duplicate CBLQueryIndex Interface Definition (#3300)

    * Fixed the circular reference b/w CBLCollection and CBLQueryIndex.
    * Fixed warning in tests.
    pasin authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    9cf63e0 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. CBL-5893: Throw exception for everything if finish() was successfully…

    … called beforehand (#3302)
    
    * Update test 26/27 per new behaviour
    
    * LiteCore 3.2.0-211
    velicuvlad authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    3de150c View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. CBL-5956: Update DistanceMetric (#3303)

    * update defaults for euclideanSquare
    
    * fix tests
    velicuvlad authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    9b939f3 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. CBL-5690 : Update Distance Metric Enum and VS SQL in Tests (#3304)

    * Used new Vector Search SQL in Tests
    * Separated the base xctest class to have no tests, otherwise the tests in the base class will be included in the sub classes as well.
    * Used forward declaration where possibles in CBLQueryIndex / CBLIndexUpdater implementation.
    * Fixed warning in URLEndpointListenerTests and Replicator Tests.
    * Used LiteCore 3.2.0-215 and VS 1.0.0-56
    pasin authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    670ba90 View commit details
    Browse the repository at this point in the history
  2. CBL-5990 : Fix _kCBLDefaultLogFileUsePlaintext symbol (#3305)

    * Fixed _kCBLDefaultLogFileUsePlaintext symbol.
    * Added missing deprecated kCBLDefaultLogFileUsePlainText.
    pasin authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    000d542 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Update LiteCore 3.2.0-219 (#3306)

    * Used LiteCore RC v3.2.0-219 (554bf8f7)
    * Used VS 1.0.0-57
    * Fixed objective-c API doc generating script.
    * Fixed VectorSearchTest 17 and 26.
    * Removed non-existing file from xcode project.
    pasin authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    42c172d View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Update LiteCore to 3.2.0-220 (#3307)

    * Updated LiteCore to 3.2.0-220.
    * Used VS 1.0.0-58.
    * Fixed an incorrect test name.
    pasin authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    a9390ca View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. CBL-6070: Implement Database Full-Sync Option (#3318)

    * LiteCore 3.2.0-223
    * cherry picked 5c10248 from release/3.1 branch. A couple of small, easy-to-resolve conflicts - nothing important. CBL-6066: Implement Database Full-Sync Option (#3317)
    
    - Implemented FullSync DatabaseConfiguration property.
    - Only Obj-C tests do check for c4db_config2 kC4DB_DiskSyncFull flag
    velicuvlad authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    554a301 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. CBL-6144: Add testConcurrentCreateAndQuery to verify query's lock (#3320

    )
    
    * port CBL-6140  from release/3.1
    
    * enable testDatabaseChange and testDocumentChange
    velicuvlad authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    49b5114 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. CBL-6191 : Fix null URL for proxy CONNECT request (#3324)

    NSURL cannot be created with only host and port anymore starting from iOS 17. Changed to use CFURLCreateWithString directly.
    pasin authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    f0872ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5c5a608 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Configuration menu
    Copy the full SHA
    a49f7db View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. CBL-5180: Implement Array Index API (#3327)

    * ArrayIndex template
    
    * add CBLArrayIndexConfiguration to CouchbaseLite.h and exports
    
    * add header to CE modulemap
    velicuvlad authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    804a927 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. CBL-5181: Array Index API tests and adjustments (#3330)

    * LiteCore 3.2.1-5
    
    * Obj-C tests and api update
    
    * Swift tests and api update
    
    * CBL-5899
    velicuvlad authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    e2c459c View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Configuration menu
    Copy the full SHA
    d05c46b View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. Configuration menu
    Copy the full SHA
    e2ea8b2 View commit details
    Browse the repository at this point in the history
  2. CBL-6307: Database MMap Configuration API and tests (#3333)

    * mmap and tests
    
    * LiteCore 3.2.1-9
    velicuvlad authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    8331d3d View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. CBL-6349: Implement Document's getRevisionHistory() for E2E Test Serv…

    …er (#3335)
    
    * get c4doc using kDocGetAll content lvl for this
    * added docID to CBL c4doc
    * LiteCore 3.2.1-12
    velicuvlad authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    9334e45 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. LiteCore 3.2.1-18 (#3336)

    velicuvlad authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    39b36fb View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    f8609d6 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Merge 3.2.1 RC 2

    velicuvlad committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    e116c7c View commit details
    Browse the repository at this point in the history
  2. LiteCore 3.2.1-19

    velicuvlad committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    80342dc View commit details
    Browse the repository at this point in the history