Skip to content

Commit

Permalink
Merge pull request #459 from realm/ad/release/0.74.0
Browse files Browse the repository at this point in the history
v0.74.0 Version Numbers updated and NuGet updated to build targets
  • Loading branch information
AndyDentFree committed Apr 1, 2016
2 parents 33ae147 + 7f24def commit bd33a61
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 32 deletions.
17 changes: 9 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
0.74.0 Private Beta IN PROGRESS
0.74.0 Private Beta (2016-04-02)
-------------------
Still requires installation from private copy of NuGet download.

### Major Fixes
* The Realm assembly weaver now submits anonymous usage data during each build (issue #182)
* Realm.RemoveRange<>() and Realm.RemoveAll<>() methods added to allow you to delete objects from a realm.
* Realm.Write() method added for executing code within an implicitly committed transaction
### Major Changes
* The Realm assembly weaver now submits anonymous usage data during each build, so we can track statistics for unique builders, as done with the Java, Swift and Objective-C products (issue #182)
* `Realm.RemoveRange<>()` and `Realm.RemoveAll<>()` methods added to allow you to delete objects from a realm.
* `Realm.Write()` method added for executing code within an implicitly committed transaction
* You can now restrict the classes allowed in a given Realm using `RealmConfiguration.ObjectClasses`.
* LINQ improvements:
* Simple bool searches work without having to use `== true` (issue #362)
Expand All @@ -16,12 +16,13 @@ Still requires installation from private copy of NuGet download.
* Sorting is now provided using the `OrderBy`, `OrderByDescending`, `ThenBy` and `ThenByDescending` clauses. Sorts can be applied to results of a query from a `Where` clause or sorting the entire class by applying after `All<>`.
* The `String.Contains(String)`, `String.StartsWith(String)`, and `String.EndsWith(String)` methods can now be used in Where clauses.
* DateTimeOffset properties can be compared in queries.
* Support for `armeabi` builds on old ARM V5 and V6 devices has been removed.

### Minor Fixes
### Minor Changes
* Finish `RealmList.CopyTo` so you can apply `ToList` to related lists (issue #299)
* NuGet now inserts `libwrappers.so` for Android targets using `$(SolutionDir)packages` so it copes with the different relative paths in cross-platform (Xamarin Forms) app templates vs pure Android templates.
* Realm.RealmChanged event notifies you of changes made to the realm
* Realm.Refresh() makes sure the realm is updated with changes from other threads.
* `Realm.RealmChanged` event notifies you of changes made to the realm
* `Realm.Refresh()` makes sure the realm is updated with changes from other threads.


0.73.0 Private Beta (2016-02-26)
Expand Down
3 changes: 1 addition & 2 deletions NuGet/NuGet.Library/Realm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<language>en-US</language>
<tags>Realm</tags>
<dependencies>
<dependency id="RealmWeaver.Fody" version="0.72.0"/>
<dependency id="RealmWeaver.Fody" version="0.74.0"/>
</dependencies>
</metadata>
<files>
Expand All @@ -27,7 +27,6 @@
<!-- Android files -->
<file src="Realm.targets" target="build\MonoAndroid44" />
<file src="../../Realm.XamarinAndroid/bin/Release/Realm.dll" target="lib\MonoAndroid44" />
<file src="../../wrappers/build/Release-android/armeabi/libwrappers.so" target="lib\MonoAndroid44\armeabi" />
<file src="../../wrappers/build/Release-android/armeabi-v7a/libwrappers.so" target="lib\MonoAndroid44\armeabi-v7a" />
<file src="../../wrappers/build/Release-android/arm64-v8a/libwrappers.so" target="lib\MonoAndroid44\arm64-v8a" />
<file src="../../wrappers/build/Release-android/x86/libwrappers.so" target="lib\MonoAndroid44\x86" />
Expand Down
16 changes: 8 additions & 8 deletions NuGet/NuGet.Library/Realm.targets
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<AndroidNativeLibrary Include="$(SolutionDir)packages/Realm.0.73.1/lib/MonoAndroid44/armeabi-v7a/libwrappers.so">
<Link>$(SolutionDir)packages/Realm.0.73.1/lib/MonoAndroid44/armeabi-v7a/libwrappers.so</Link>
<AndroidNativeLibrary Include="$(SolutionDir)packages/Realm.0.74.0/lib/MonoAndroid44/armeabi-v7a/libwrappers.so">
<Link>$(SolutionDir)packages/Realm.0.74.0/lib/MonoAndroid44/armeabi-v7a/libwrappers.so</Link>
</AndroidNativeLibrary>
<AndroidNativeLibrary Include="$(SolutionDir)packages/Realm.0.73.1/lib/MonoAndroid44/x86/libwrappers.so">
<Link>$(SolutionDir)packages/Realm.0.73.1/lib/MonoAndroid44/x86/libwrappers.so</Link>
<AndroidNativeLibrary Include="$(SolutionDir)packages/Realm.0.74.0/lib/MonoAndroid44/x86/libwrappers.so">
<Link>$(SolutionDir)packages/Realm.0.74.0/lib/MonoAndroid44/x86/libwrappers.so</Link>
</AndroidNativeLibrary>
<!-- 64bit -->
<AndroidNativeLibrary Include="$(SolutionDir)packages/Realm.0.73.1/lib/MonoAndroid44/arm64-v8a/libwrappers.so">
<Link>$(SolutionDir)packages/Realm.0.73.1/lib/MonoAndroid44/arm64-v8a/libwrappers.so</Link>
<AndroidNativeLibrary Include="$(SolutionDir)packages/Realm.0.74.0/lib/MonoAndroid44/arm64-v8a/libwrappers.so">
<Link>$(SolutionDir)packages/Realm.0.74.0/lib/MonoAndroid44/arm64-v8a/libwrappers.so</Link>
</AndroidNativeLibrary>
<AndroidNativeLibrary Include="$(SolutionDir)packages/Realm.0.73.1/lib/MonoAndroid44/x86_64/libwrappers.so">
<Link>$(SolutionDir)packages/Realm.0.73.1/lib/MonoAndroid44/x86_64/libwrappers.so</Link>
<AndroidNativeLibrary Include="$(SolutionDir)packages/Realm.0.74.0/lib/MonoAndroid44/x86_64/libwrappers.so">
<Link>$(SolutionDir)packages/Realm.0.74.0/lib/MonoAndroid44/x86_64/libwrappers.so</Link>
</AndroidNativeLibrary>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion NuGet/NuGet.Weaver/RealmWeaver.Fody.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="2.8">
<id>RealmWeaver.Fody</id>
<version>0.72.0</version>
<version>0.74.0</version>
<title>RealmWeaver.Fody</title>
<authors>Realm</authors>
<owners>Realm</owners>
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ Prerequisites:

We support the current Xamarin _Stable_ and _Beta_ update channels, at the time of release this corresponded to:

* Xamarin iOS version 9.2.1.51
* Xamarin Android version 6.0.0.34
* Xamarin Studio version 5.10
* Xamarin iOS version 9.6.1.9
* Xamarin Android version 6.0.3.5
* Xamarin Studio version 5.10.3

Building Realm dotnet is not yet automated.

Expand Down
21 changes: 11 additions & 10 deletions internals/RealmDotnetNugetBuild.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,39 @@ We currently produce two NuGet packages. You will usually build them and test us

Paths below assume you're starting in the root dir `realm-dotnet` checked out from GitHub.

Building the DLLS
-----------------

Follow the _Building Realm Steps_ section in `README.md` if you haven't built them already.

Once you have your DLLS, follow these next steps to set version numbers and build NuGet.


Setting Version Numbers
-----------------------
The Fody Weaver version number **must** follow the main Realm.dll even if there were no changes to Fody code.

**Note** You need to change version numbers below before building DLLs!

* Update the `AssemblyVersion` and `AssemblyFileVersion` version in `AssemblyInfo.cs` in five locations (platforms + PCL + RealmWeaver):
* `RealmWeaver/AssemblyInfo.cs`
* `Realm.PCL/Properties/AssemblyInfo.cs`
* `Realm.Win32/Properties/AssemblyInfo.cs`
* `Realm.XamarinAndroid/Properties/AssemblyInfo.cs`
* `Realm.XamarinIOS/Properties/AssemblyInfo.cs`
* Update `NuGet/NuGet.Weaver/RealmWeaver.Fody.nuspec`
* Edit `NuGet/NuGet.Library/Realm.nuspec` and update the `RealmWeaver.Fody` version number (as noted above these are now kept in synch)
* Edit `NuGet/NuGet.Library/Realm.targets` and update version numbers in **all** the paths.

**At NuGet build time,** you will also have to change the version number you use in the `nuget` command line.


Building Fody NuGet
-------------------
You often will **not** be building a new Fody in which case you can copy a previous version. Ensure that the version number being copied matches the dependency in `NuGet/NuGet.Library/Realm.nuspec`. Otherwise, follow these instructions:

You **have** to build this using Visual Studio. Open the normal Realm solution and force a rebuild of the `Nuget.Weaver` project. The `NuGetBuild` folder is created by this build.

Copy the `RealmWeaver.Fody.0.72.0.nupkg` generated in `NuGetBuild` to your **local test folder**.


Building the DLLS
-----------------

Follow the _Building Realm Steps_ section in `README.md` if you haven't built them already.



Building Realm NuGet
--------------------
This step is performed from a Windows commandline using the NuGet tool.
Expand Down

0 comments on commit bd33a61

Please sign in to comment.