Skip to content

Commit

Permalink
Prepare for 0.3.0+beta (#646)
Browse files Browse the repository at this point in the history
* Prepare for 0.3.0+alpha

* bump to 0.3.0+beta

* fix changelog

* Configuration constructor fixed

Co-authored-by: blagoev <[email protected]>
Co-authored-by: blagoev <[email protected]>
Co-authored-by: Desislava Stefanova <[email protected]>
  • Loading branch information
4 people authored Jun 2, 2022
1 parent b6e32cc commit 840f881
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 0.3.0-beta (2022-06-02)
## 0.3.0+beta (2022-06-02)

**This project is in the Alpha stage. All API's might change without warning and no guarantees are given about stability. Do not use it in production.**
**This project is in the Beta stage. The API should be quite stable, but occasional breaking changes may be made.**

### Breaking Changes
* Made all `Configuration` fields final so they can only be initialized in the constructor. This better conveys the immutability of the configuration class. ([#455](https://github.com/realm/realm-dart/pull/455))
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ This repository holds the source code for the Realm SDK for Flutter™ and Dart
* Open a Realm and add some objects.

```dart
var config = Configuration([Car.schema]);
var config = Configuration.local([Car.schema]);
var realm = Realm(config);
var car = Car("Tesla", "Model Y", kilometers: 5);
Expand Down Expand Up @@ -156,7 +156,7 @@ The Realm Flutter package name is `realm`

```dart
// Create a Configuration object
var config = Configuration([Item.schema]);
var config = Configuration.local([Item.schema]);
// Opean a Realm
var realm = Realm(config);
Expand Down Expand Up @@ -219,7 +219,7 @@ class _Item {
}
// Create a Configuration object
var config = Configuration([Item.schema]);
var config = Configuration.local([Item.schema]);
// Opean a Realm
var realm = Realm(config);
Expand Down
2 changes: 1 addition & 1 deletion 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: 0.3.0-beta
version: 0.3.0+beta

homepage: https://www.realm.io
repository: https://github.com/realm/realm-dart
Expand Down
2 changes: 1 addition & 1 deletion flutter/realm_flutter/example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: realm_example
description: Demonstrates how to use the Realm SDK for Flutter.
version: 0.3.0-beta
version: 0.3.0+beta

# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
Expand Down
2 changes: 1 addition & 1 deletion flutter/realm_flutter/ios/realm.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ project_dir = File.expand_path("../../../../", realmPackageDir)
# //TODO read the version from pubspec.yaml
Pod::Spec.new do |s|
s.name = 'realm'
s.version = '0.3.0-beta'
s.version = '0.3.0+beta'
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 flutter/realm_flutter/macos/realm.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ realmPackageDir = File.expand_path(__dir__)

Pod::Spec.new do |s|
s.name = 'realm'
s.version = '0.3.0-beta'
s.version = '0.3.0+beta'
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 flutter/realm_flutter/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: 0.3.0-beta
version: 0.3.0+beta

homepage: https://www.realm.io
repository: https://github.com/realm/realm-dart
Expand Down
2 changes: 1 addition & 1 deletion flutter/realm_flutter/tests/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A new Flutter project.

publish_to: "none"

version: 0.3.0-beta
version: 0.3.0+beta

environment:
sdk: ">=2.17.0 <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion 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: 0.3.0-beta
version: 0.3.0+beta

homepage: https://www.realm.io
repository: https://github.com/realm/realm-dart
Expand Down
2 changes: 1 addition & 1 deletion lib/src/native/realm_core.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class _RealmCore {
return _instance ??= _RealmCore._();
}

String get libraryVersion => '0.3.0-beta';
String get libraryVersion => '0.3.0+beta';

LastError? getLastError(Allocator allocator) {
final error = allocator<realm_error_t>();
Expand Down
2 changes: 1 addition & 1 deletion 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: 0.3.0-beta
version: 0.3.0+beta

homepage: https://www.realm.io
repository: https://github.com/realm/realm-dart
Expand Down

0 comments on commit 840f881

Please sign in to comment.