Skip to content

Commit

Permalink
Update to latest core (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
rorbech authored Aug 1, 2023
1 parent 311a6ae commit 80313b9
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 1 deletion.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
## 1.10.3-SNAPSHOT (YYYY-MM-DD)

### Breaking Changes
* None.

### Enhancements
* None.

### Fixed
* Rare corruption causing 'Invalid streaming format cookie'-exception. Typically following compact, convert or copying to a new file. (Issue [#1440](https://github.com/realm/realm-kotlin/issues/1440))

### Compatibility
* File format: Generates Realms with file format v23.
* Realm Studio 13.0.0 or above is required to open Realms created by this version.
* This release is compatible with the following Kotlin releases:
* Kotlin 1.8.0 and above. The K2 compiler is not supported yet.
* Ktor 2.1.2 and above.
* Coroutines 1.7.0 and above.
* AtomicFu 0.18.3 and above.
* The new memory model only. See https://github.com/realm/realm-kotlin#kotlin-memory-model-and-coroutine-compatibility
* Minimum Kbson 0.3.0.
* Minimum Gradle version: 6.8.3.
* Minimum Android Gradle Plugin version: 4.1.3.
* Minimum Android SDK: 16.

### Internal
* Updated to Realm Core 13.17.1, commit fb5bdccba1daad0bd6e65757a6a1596dc98cebf4.


## 1.10.2 (2023-07-21)

### Breaking Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ expect enum class ErrorCode : CodeDescription {
RLM_ERR_MAINTENANCE_IN_PROGRESS,
RLM_ERR_USERPASS_TOKEN_INVALID,
RLM_ERR_INVALID_SERVER_RESPONSE,
RLM_ERR_APP_SERVER_ERROR,
RLM_ERR_WEBSOCKET_RESOLVE_FAILED_ERROR,
RLM_ERR_WEBSOCKET_CONNECTION_CLOSED_CLIENT_ERROR,
RLM_ERR_WEBSOCKET_CONNECTION_CLOSED_SERVER_ERROR,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ actual enum class ErrorCode(override val description: String, override val nativ
RLM_ERR_MAINTENANCE_IN_PROGRESS("MaintenanceInProgress", realm_errno_e.RLM_ERR_MAINTENANCE_IN_PROGRESS),
RLM_ERR_USERPASS_TOKEN_INVALID("UserpassTokenInvalid", realm_errno_e.RLM_ERR_USERPASS_TOKEN_INVALID),
RLM_ERR_INVALID_SERVER_RESPONSE("InvalidServerResponse", realm_errno_e.RLM_ERR_INVALID_SERVER_RESPONSE),
RLM_ERR_APP_SERVER_ERROR("AppServerError", realm_errno_e.RLM_ERR_APP_SERVER_ERROR),
RLM_ERR_WEBSOCKET_RESOLVE_FAILED_ERROR("ResolveFailedError", realm_errno_e.RLM_ERR_WEBSOCKET_RESOLVE_FAILED_ERROR),
RLM_ERR_WEBSOCKET_CONNECTION_CLOSED_CLIENT_ERROR("ConnectionClosedClientError", realm_errno_e.RLM_ERR_WEBSOCKET_CONNECTION_CLOSED_CLIENT_ERROR),
RLM_ERR_WEBSOCKET_CONNECTION_CLOSED_SERVER_ERROR("ConnectionClosedServerError", realm_errno_e.RLM_ERR_WEBSOCKET_CONNECTION_CLOSED_SERVER_ERROR),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ actual enum class ErrorCode(
RLM_ERR_MAINTENANCE_IN_PROGRESS("MaintenanceInProgress", realm_errno.RLM_ERR_MAINTENANCE_IN_PROGRESS),
RLM_ERR_USERPASS_TOKEN_INVALID("UserpassTokenInvalid", realm_errno.RLM_ERR_USERPASS_TOKEN_INVALID),
RLM_ERR_INVALID_SERVER_RESPONSE("InvalidServerResponse", realm_errno.RLM_ERR_INVALID_SERVER_RESPONSE),
RLM_ERR_APP_SERVER_ERROR("AppServerError", realm_errno.RLM_ERR_APP_SERVER_ERROR),
RLM_ERR_WEBSOCKET_RESOLVE_FAILED_ERROR("ResolveFailedError", realm_errno.RLM_ERR_WEBSOCKET_RESOLVE_FAILED_ERROR),
RLM_ERR_WEBSOCKET_CONNECTION_CLOSED_CLIENT_ERROR("ConnectionClosedClientError", realm_errno.RLM_ERR_WEBSOCKET_CONNECTION_CLOSED_CLIENT_ERROR),
RLM_ERR_WEBSOCKET_CONNECTION_CLOSED_SERVER_ERROR("ConnectionClosedServerError", realm_errno.RLM_ERR_WEBSOCKET_CONNECTION_CLOSED_SERVER_ERROR),
Expand Down
2 changes: 1 addition & 1 deletion packages/external/core
Submodule core updated 74 files
+48 −0 CHANGELOG.md
+1 −1 Package.swift
+1 −1 dependencies.list
+65 −116 evergreen/config.yml
+8 −2 evergreen/install_baas.sh
+7 −4 evergreen/setup_baas_host.sh
+7 −4 evergreen/setup_baas_host_local.sh
+79 −59 src/realm/alloc_slab.cpp
+13 −3 src/realm/alloc_slab.hpp
+12 −1 src/realm/db.cpp
+11 −0 src/realm/error_codes.cpp
+1 −0 src/realm/error_codes.h
+2 −0 src/realm/error_codes.hpp
+2 −0 src/realm/group.cpp
+14 −2 src/realm/object-store/object_store.cpp
+15 −7 src/realm/object-store/schema.cpp
+17 −4 src/realm/object-store/sync/app_utils.cpp
+7 −6 src/realm/object-store/sync/generic_network_transport.cpp
+6 −4 src/realm/object-store/sync/generic_network_transport.hpp
+3 −45 src/realm/object-store/sync/impl/sync_metadata.cpp
+4 −20 src/realm/object-store/sync/impl/sync_metadata.hpp
+9 −10 src/realm/object-store/sync/sync_session.cpp
+12 −15 src/realm/sync/client.cpp
+4 −4 src/realm/sync/client.hpp
+4 −1 src/realm/sync/noinst/client_history_impl.cpp
+2 −0 src/realm/sync/noinst/client_impl_base.cpp
+1 −1 src/realm/sync/noinst/client_impl_base.hpp
+5 −5 src/realm/sync/noinst/pending_bootstrap_store.cpp
+9 −0 src/realm/util/file_mapper.hpp
+34 −7 test/object-store/CMakeLists.txt
+13 −14 test/object-store/audit.cpp
+1 −1 test/object-store/backup.cpp
+3 −3 test/object-store/benchmarks/CMakeLists.txt
+5 −5 test/object-store/benchmarks/client_reset.cpp
+11 −11 test/object-store/benchmarks/object.cpp
+9 −9 test/object-store/benchmarks/results.cpp
+40 −15 test/object-store/c_api/c_api.cpp
+8 −8 test/object-store/collection_change_indices.cpp
+2 −2 test/object-store/dictionary.cpp
+7 −7 test/object-store/frozen_objects.cpp
+10 −10 test/object-store/geospatial.cpp
+14 −14 test/object-store/index_set.cpp
+4 −4 test/object-store/list.cpp
+43 −4 test/object-store/main.cpp
+14 −14 test/object-store/migrations.cpp
+12 −0 test/object-store/objstore-tests.do-not-commit
+23 −19 test/object-store/realm.cpp
+22 −22 test/object-store/results.cpp
+3 −3 test/object-store/sectioned_results.cpp
+311 −56 test/object-store/sync/app.cpp
+22 −21 test/object-store/sync/client_reset.cpp
+7 −6 test/object-store/sync/file.cpp
+14 −10 test/object-store/sync/flx_migration.cpp
+64 −56 test/object-store/sync/flx_sync.cpp
+11 −11 test/object-store/sync/metadata.cpp
+20 −1 test/object-store/sync/migration_store_test.cpp
+7 −13 test/object-store/sync/remote_mongo_tests.cpp
+6 −7 test/object-store/sync/session/connection_change_notifications.cpp
+3 −3 test/object-store/sync/session/progress_notifications.cpp
+15 −16 test/object-store/sync/session/session.cpp
+8 −6 test/object-store/sync/session/wait_for_completion.cpp
+13 −12 test/object-store/sync/sync_manager.cpp
+8 −9 test/object-store/sync/user.cpp
+10 −8 test/object-store/util/sync/baas_admin_api.cpp
+13 −9 test/object-store/util/sync/baas_admin_api.hpp
+6 −5 test/object-store/util/sync/flx_sync_harness.hpp
+6 −5 test/object-store/util/sync/session_util.hpp
+7 −3 test/object-store/util/sync/sync_test_utils.cpp
+8 −8 test/object-store/util/sync/sync_test_utils.hpp
+12 −11 test/object-store/util/test_file.cpp
+4 −3 test/object-store/util/test_utils.cpp
+10 −3 test/test_alloc.cpp
+82 −29 test/test_sync.cpp
+41 −0 tools/cmake/Utilities.cmake

0 comments on commit 80313b9

Please sign in to comment.