Skip to content

Commit

Permalink
[Release 3.1.0] (#1732)
Browse files Browse the repository at this point in the history
* [Release 3.1.0]

* Bump ejson version to 0.3.1

---------

Co-authored-by: nielsenko <[email protected]>
Co-authored-by: Kasper Overgård Nielsen <[email protected]>
  • Loading branch information
3 people committed Jun 25, 2024
1 parent 52e3470 commit 52ec31c
Show file tree
Hide file tree
Showing 17 changed files with 33 additions and 29 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## vNext (TBD)
## 3.1.0 (2024-06-25)

### Enhancements
* The download progress estimate reported by `Session.getProgressStream` will now return meaningful estimated values, while previously it always returned 1. (Issue [#1564](https://github.com/realm/realm-dart/issues/1564))
Expand Down
4 changes: 4 additions & 0 deletions packages/CHANGELOG.ejson.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.3.1

- Update sane_uuid dependency to ^1.0.0 (compensate for breaking change)

## 0.3.0

- Rename `Key` class to `BsonKey` to avoid common conflict with flutter
Expand Down
6 changes: 3 additions & 3 deletions packages/ejson/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ topics:
- build-runner
- codegen

version: 0.3.0
version: 0.3.1
repository: https://github.com/realm/realm-dart/ejson/packages/ejson

environment:
sdk: ^3.3.0

dependencies:
collection: ^1.17.0
ejson_annotation: ^0.3.0
ejson_annotation: ^0.3.1
objectid: ^3.0.0
sane_uuid: ^1.0.0
type_plus: ^2.0.0

dev_dependencies:
build_runner: ^2.0.0
ejson_generator: ^0.3.0
ejson_generator: ^0.3.1
lints: ^3.0.0
test: ^1.21.0
4 changes: 2 additions & 2 deletions packages/ejson_analyzer/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ description: >-
BSON is a binary format used to store JSON-like documents efficiently.
EJSON extends JSON defining how all BSON types should be represented in JSON.
version: 0.3.0
version: 0.3.1
repository: https://github.com/realm/realm-dart/ejson/packages/ejson_analyzer

environment:
sdk: ^3.3.0

dependencies:
analyzer: ^6.0.0
ejson_annotation: ^0.3.0
ejson_annotation: ^0.3.1
source_gen: ^1.3.2

dev_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion packages/ejson_annotation/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: >-
BSON is a binary format used to store JSON-like documents efficiently.
EJSON extends JSON defining how all BSON types should be represented in JSON.
version: 0.3.0
version: 0.3.1
repository: https://github.com/realm/realm-dart/ejson/packages/ejson_annotation

environment:
Expand Down
8 changes: 4 additions & 4 deletions packages/ejson_generator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ topics:
- build-runner
- codegen

version: 0.3.0
version: 0.3.1
repository: https://github.com/realm/realm-dart/ejson/packages/ejson_generator

environment:
Expand All @@ -21,15 +21,15 @@ environment:
dependencies:
analyzer: ^6.0.0
build: ^2.4.0
ejson_analyzer: ^0.3.0
ejson_analyzer: ^0.3.1
source_gen: ^1.3.2

dev_dependencies:
build_runner: ^2.4.4
build_test: ^2.1.7
dart_style: ^2.3.1
ejson: ^0.3.0
ejson_annotation: ^0.3.0
ejson: ^0.3.1
ejson_annotation: ^0.3.1
lints: ^3.0.0
meta: ^1.9.1
test: ^1.21.0
4 changes: 2 additions & 2 deletions packages/ejson_lint/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ environment:
sdk: ^3.3.0

dependencies:
ejson_annotation: ^0.3.0
ejson_annotation: ^0.3.1

dev_dependencies:
custom_lint: ^0.6.2
ejson_lint: ^0.3.0
ejson_lint: ^0.3.1
lints: ^3.0.0


4 changes: 2 additions & 2 deletions packages/ejson_lint/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: >-
BSON is a binary format used to store JSON-like documents efficiently.
EJSON extends JSON defining how all BSON types should be represented in JSON.
version: 0.3.0
version: 0.3.1
repository: https://github.com/realm/realm-dart/ejson/packages/ejson_lint

environment:
Expand All @@ -14,7 +14,7 @@ environment:
dependencies:
analyzer: ^6.0.0
custom_lint_builder: ^0.6.2
ejson_analyzer: ^0.3.0
ejson_analyzer: ^0.3.1

dev_dependencies:
lints: ^3.0.0
Expand Down
2 changes: 1 addition & 1 deletion packages/realm/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ environment:
dependencies:
flutter:
sdk: flutter
realm: ^3.0.0
realm: ^3.1.0
characters: ^1.1.0

dev_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion packages/realm/ios/realm.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ puts "bundleId is #{bundleId}"

Pod::Spec.new do |s|
s.name = 'realm'
s.version = '3.0.0'
s.version = '3.1.0'
s.summary = 'The official Realm SDK for Flutter'
s.description = <<-DESC
Realm is a mobile database - an alternative to SQLite and key-value stores.
Expand Down
2 changes: 1 addition & 1 deletion packages/realm/macos/realm.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ puts "bundleId is #{bundleId}"

Pod::Spec.new do |s|
s.name = 'realm'
s.version = '3.0.0'
s.version = '3.1.0'
s.summary = 'The official Realm SDK for Flutter'
s.description = <<-DESC
Realm is a mobile database - an alternative to SQLite and key-value stores.
Expand Down
4 changes: 2 additions & 2 deletions packages/realm/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: realm
description: The official Realm SDK for Flutter. Realm is a mobile database - an alternative to SQLite and key-value stores.
version: 3.0.0
version: 3.1.0

homepage: https://www.realm.io
repository: https://github.com/realm/realm-dart
Expand All @@ -13,7 +13,7 @@ environment:
dependencies:
flutter:
sdk: flutter
realm_dart: ^3.0.0
realm_dart: ^3.1.0

flutter:
plugin:
Expand Down
2 changes: 1 addition & 1 deletion packages/realm_common/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: >-
Hosts the common code shared between realm, realm_dart and realm_generator packages.
This package is part of the official Realm Flutter and Realm Dart SDKs.
version: 3.0.0
version: 3.1.0

homepage: https://www.realm.io
repository: https://github.com/realm/realm-dart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'realm_bindings.dart';
const bugInTheSdkMessage = "This is likely a bug in the Realm SDK - please file an issue at https://github.com/realm/realm-dart/issues";

// stamped into the library by the build system (see prepare-release.yml)
const libraryVersion = '3.0.0';
const libraryVersion = '3.1.0';

final realmLib = () {
final result = RealmLibrary(initRealm());
Expand Down
8 changes: 4 additions & 4 deletions packages/realm_dart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: realm_dart
description: The official Realm SDK for Dart. Realm is a mobile database - an alternative to SQLite and key-value stores.
version: 3.0.0
version: 3.1.0

homepage: https://www.realm.io
repository: https://github.com/realm/realm-dart
Expand All @@ -14,7 +14,7 @@ dependencies:
build_cli_annotations: ^2.0.0
collection: ^1.16.0
crypto: ^3.0.0
ejson: ^0.3.0
ejson: ^0.3.1
ffi: ^2.0.1
json_annotation: ^4.7.0
logging: ^1.2.0
Expand All @@ -23,8 +23,8 @@ dependencies:
path: ^1.0.0
pubspec_parse: ^1.0.0
pub_semver: ^2.1.0
realm_common: ^3.0.0
realm_generator: ^3.0.0
realm_common: ^3.1.0
realm_generator: ^3.1.0
tar: ^1.0.1
build_runner: ^2.1.0
http: ^1.0.0
Expand Down
2 changes: 1 addition & 1 deletion packages/realm_dart/src/realm_dart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ RLM_API void realm_dart_invoke_unlock_callback(realm_userdata_t error, void* unl
// Stamped into the library by the build system (see prepare-release.yml)
// Keep this method as it is written and do not format it.
// We have a github workflow that looks for and replaces this string as it is written here.
RLM_API const char* realm_dart_library_version() { return "3.0.0"; }
RLM_API const char* realm_dart_library_version() { return "3.1.0"; }

//for debugging only
// RLM_API void realm_dart_gc() {
Expand Down
4 changes: 2 additions & 2 deletions packages/realm_generator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: >-
Generates RealmObject classes from Realm data model classes.
This package is part of the official Realm Flutter and Realm Dart SDKs.
version: 3.0.0
version: 3.1.0

homepage: https://www.realm.io
repository: https://github.com/realm/realm-dart
Expand All @@ -17,7 +17,7 @@ dependencies:
build_resolvers: ^2.0.9
build: ^2.0.0
dart_style: ^2.2.0
realm_common: ^3.0.0
realm_common: ^3.1.0
source_gen: ^1.1.0
source_span: ^1.8.0
collection: ^1.18.0
Expand Down

0 comments on commit 52ec31c

Please sign in to comment.