Skip to content

Commit 04acff8

Browse files
committed
Merge branch 'master' of github.com:realm/realm-core into next-major
2 parents 7fd6ca8 + 1f78955 commit 04acff8

File tree

125 files changed

+2879
-7705
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+2879
-7705
lines changed

.github/workflows/make-release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 #! 1.14.0
3232
with:
3333
bodyFile: extracted_changelog.md
34-
name: ${{ steps.get-version.outputs.version }}
34+
name: Realm Core v${{ steps.get-version.outputs.version }}
3535
commit: ${{ github.base_ref }}
36-
tag: ${{ steps.get-version.outputs.version }}
36+
tag: v${{ steps.get-version.outputs.version }}
3737
token: ${{ secrets.GITHUB_TOKEN }}
3838
draft: false
3939
- name: Update Changelog
@@ -53,16 +53,16 @@ jobs:
5353
labels: no-jira-ticket
5454
add-paths: CHANGELOG.md
5555
commit-message: New changelog section to prepare for vNext
56-
- name: Merge Pull Request
57-
uses: juliangruber/merge-pull-request-action@9234b8714dda9a08f3d1df5b2a6a3abd7b695353 #! 1.3.1
58-
with:
59-
github-token: ${{ secrets.GITHUB_TOKEN }}
60-
number: ${{ steps.vnext-pr.outputs.pull-request-number }}
61-
method: squash
6256
- name: 'Post to #appx-releases'
6357
uses: realm/ci-actions/release-to-slack@fa20eb972b9f018654fdb4e2c7afb52b0532f907
6458
with:
6559
changelog: extracted_changelog.md
6660
sdk: Core
6761
webhook-url: ${{ secrets.SLACK_RELEASE_WEBHOOK }}
6862
version: ${{ steps.get-version.outputs.version }}
63+
- name: Output PR URL
64+
run: |
65+
echo "Prepare vNext PR created: $VNEXT_PR_URL" >> $GITHUB_STEP_SUMMARY
66+
shell: bash
67+
env:
68+
VNEXT_PR_URL: ${{ steps.vnext-pr.outputs.pull-request-url }}

.github/workflows/prepare-release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
run: tools/release-init.sh ${{ inputs.version }}
2525
shell: bash
2626
- name: Create Release PR
27+
id: prepare-pr
2728
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e #! 6.0.5
2829
with:
2930
branch: release/automated_v${{ inputs.version }}
@@ -32,8 +33,14 @@ jobs:
3233
body-path: changes-since-last-tag.txt
3334
labels: no-jira-ticket
3435
commit-message: Prepare for release ${{ inputs.version }}
35-
token: ${{ secrets.REALM_CI_PAT }}
36+
token: ${{ secrets.GITHUB_TOKEN }}
3637
add-paths: |
3738
dependencies.yml
3839
Package.swift
3940
CHANGELOG.md
41+
- name: Output PR URL
42+
run: |
43+
echo "Prepare release PR created: $PREPARE_PR_URL" >> $GITHUB_STEP_SUMMARY
44+
shell: bash
45+
env:
46+
PREPARE_PR_URL: ${{ steps.prepare-pr.outputs.pull-request-url }}

Android.bp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ cc_defaults {
156156
"-DREALM_ENABLE_ENCRYPTION=1",
157157
"-DREALM_ENABLE_SYNC=1",
158158
"-DREALM_ENABLE_GEOSPATIAL=1",
159+
"-DREALM_APP_SERVICES=1",
159160
"-DREALM_HAVE_EPOLL=1",
160161
"-DREALM_AOSP_VENDOR=1",
161162
"-Wno-non-virtual-dtor",

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,31 @@
1919

2020
----------------------------------------------
2121

22+
# 14.9.0 Release notes
23+
24+
### Enhancements
25+
* Report the originating error that caused a client reset to occur. ([#6154](https://github.com/realm/realm-core/issues/6154))
26+
27+
### Fixed
28+
* After compacting, a file upgrade would be triggered. This could cause loss of data if schema mode is SoftResetFile ([#7747](https://github.com/realm/realm-core/issues/7747), since 14.0.0)
29+
* Add missing `REALM_APP_SERVICES` flag to the android blueprint. (PR [#7755](https://github.com/realm/realm-core/pull/7755))
30+
31+
### Breaking changes
32+
* None.
33+
34+
### Compatibility
35+
* Fileformat: Generates files with format v24. Reads and automatically upgrade from fileformat v10. If you want to upgrade from an earlier file format version you will have to use RealmCore v13.x.y or earlier.
36+
37+
-----------
38+
39+
### Internals
40+
* Work around a bug in VC++ that resulted in runtime errors when running the tests in a debug build (#[7741](https://github.com/realm/realm-core/issues/7741)).
41+
* Refactor `sync::Session` to eliminate the bind() step of session creation ([#7609](https://github.com/realm/realm-core/pull/7609)).
42+
* Add ScopeExitFail which only calls the handler if exiting the scope via an uncaught exception ([#7609](https://github.com/realm/realm-core/pull/7609)).
43+
* Add the originating error and server requests action that caused a client reset to occur to the client reset tracking metadata storage. ([PR #7649](https://github.com/realm/realm-core/pull/7649))
44+
45+
----------------------------------------------
46+
2247
# 14.8.0 Release notes
2348

2449
### Enhancements

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import PackageDescription
44
import Foundation
55

6-
let versionStr = "14.8.0"
6+
let versionStr = "14.9.0"
77
let versionPieces = versionStr.split(separator: "-")
88
let versionCompontents = versionPieces[0].split(separator: ".")
99
let versionExtra = versionPieces.count > 1 ? versionPieces[1] : ""
@@ -121,6 +121,7 @@ let notSyncServerSources: [String] = [
121121
"realm/sync/noinst/compact_changesets.cpp",
122122
"realm/sync/noinst/migration_store.cpp",
123123
"realm/sync/noinst/pending_bootstrap_store.cpp",
124+
"realm/sync/noinst/pending_reset_store.cpp",
124125
"realm/sync/noinst/protocol_codec.cpp",
125126
"realm/sync/noinst/sync_metadata_schema.cpp",
126127
"realm/sync/noinst/sync_schema_migration.cpp",
@@ -545,7 +546,6 @@ let package = Package(
545546
"benchmarks",
546547
"c_api",
547548
"geospatial.cpp",
548-
"notifications-fuzzer",
549549
"query.json",
550550
"sync-metadata-v4.realm",
551551
"sync-metadata-v5.realm",

dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PACKAGE_NAME: realm-core
2-
VERSION: 14.8.0
2+
VERSION: 14.9.0
33
OPENSSL_VERSION: 3.2.0
44
ZLIB_VERSION: 1.2.13
55
# https://github.com/10gen/baas/commits

doc/development/how-to-release.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
The core release process is automated with github [actions](https://github.com/realm/realm-core/actions)
22

3-
1. Run the prepare-release action.
4-
- input the base branch that you would like to make a release from (usually this will be "master").
5-
- input the release version (eg. "10.14.7")
3+
1. Go to the prepare-release [action](https://github.com/realm/realm-core/actions/workflows/prepare-release.yml) and click the "Run workflow" dropdown.
4+
- Select the base branch that you would like to make a release from (usually this will be "master") in the drop down.
5+
- Enter the version of the new release (eg. "10.123.1" or "4.5.0-CustDemo")
66

77
2. This will create a PR, which you should look over and get someone else on the team to review. Verify the changelog by checking the PR description which has a list of commits since the last tag was made. If any changes are required, commit them to this PR's branch.
88

9-
3. When ready, merge the PR. You can squash if there are only "prepare release" changes, but use a "merge-commit" strategy if there are functional changes added manually to the PR. On merge, the "make-release" action will run. This takes care of:
10-
- Making a tag
11-
- Publishing the release on Github
12-
- Updating the Changelog
13-
- Announcing the release in the #appx-releases slack channel
9+
3. When ready, merge the PR. You can squash if there are only "prepare release" changes, but use a "merge-commit" strategy if there are functional changes added manually to the PR (note that if using a merge strategy, the last commit after merge will be the one tagged, so you may want to reorder the commits so that the 'prepare' commit comes last). On merge, the "make-release" action will run. This will:
10+
- Make a tag
11+
- Publish the release on Github
12+
- Open a PR to update the Changelog with the new template section
13+
- Announce the release in the #appx-releases slack channel
14+
15+
4. Find the newly generated PR that adds the new changelog section. Approve it and merge it.
1416

1517
## Previous process
1618

0 commit comments

Comments
 (0)