Skip to content

Commit

Permalink
added release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tporadowski committed Jan 27, 2020
1 parent 86a63b3 commit fdd58d4
Show file tree
Hide file tree
Showing 6 changed files with 145 additions and 7 deletions.
73 changes: 73 additions & 0 deletions RELEASENOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
Redis for Windows - https://github.com/tporadowski/redis
========================================================

This file provides information about Windows-specific changes to Redis.
For release notes related to original Redis project - please see 00-RELEASENOTES.

--------------------------------------------------------

2020-01-26: Redis 4.0.14.2 for Windows
https://github.com/tporadowski/redis/releases/tag/v4.0.14.2

This is a hotfix release of 4.0.14 branch that fixes #50 related to running in
Sentinel mode.

--------------------------------------------------------

2020-01-15: Redis 4.0.14.1 for Windows
https://github.com/tporadowski/redis/releases/tag/v4.0.14.1

This is a hotfix release of 4.0.14 branch that fixes 2 Windows-specific issues:

* #46 - added support for older Windows versions (prior Windows 8 and Windows Server 2012)
* #47 - fixed problem with parsing command-line arguments.

--------------------------------------------------------

2019-08-29: Redis 4.0.14 for Windows
https://github.com/tporadowski/redis/releases/tag/v4.0.14

Redis 4.0.14 for Windows is a merge of Windows-specific changes from latest (unsupported) 3.2.100 release from MSOpenTech and original Redis 4.0.14.

--------------------------------------------------------

2018-10-01: Redis for Windows 4.0.2.3 (alpha)

This 4.0.2.3 release is still an alpha version, but contains enhancements and fixes for:

* #14: decrease logging verbosity of some cluster-related messages
* #23: ZRANK/ZREVRANK bugfix (win-port only)
* failed unit tests (bdcf80e).

--------------------------------------------------------

2018-03-26: Redis for Windows 4.0.2.2 (alpha)
https://github.com/tporadowski/redis/releases/tag/v4.0.2.2-alpha

This 4.0.2.2 release is still an alpha version, but contains a fix to issue #12
(crash when rewriting AOF file - this issue was specific to Windows port only).

--------------------------------------------------------

2018-03-17: Redis for Windows 4.0.2.1 (alpha)
https://github.com/tporadowski/redis/releases/tag/v4.0.2.1-alpha

This 4.0.2.1 release is still an alpha version, but contains a fix to issue #11,
which was related to sending back larger amounts of data to Redis clients
(this issue was specific to Windows port only).

--------------------------------------------------------

2017-11-22: Redis 4.0.2 for Windows (alpha)
https://github.com/tporadowski/redis/releases/tag/v4.0.2-alpha

Alpha version of Redis 4.0.2 for Windows.

Redis 4.0.2 for Windows is a merge of Windows-specific changes from latest (unsupported) 3.2.100 release
from MSOpenTech and Redis 4.0.2 and this alpha release consists of:

* all Redis 4.0.2 features except modules,
* all executables of Redis (redis-server, redis-cli, redis-benchmark, redis-check-aof, redis-check-rdb).

Main difference to official Redis 4.0.2 (except no support for modules at the moment) is old version
of jemalloc-win dependency, which is planned to be updated to the same version in beta release.
9 changes: 7 additions & 2 deletions license.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Copyright (c) 2006-2015, Salvatore Sanfilippo
Copyright (c) 2006-2020, Salvatore Sanfilippo
Modifications copyright (c) Microsoft Open Technologies, Inc.
Modifications copyright (c) Tomasz Poradowski
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand All @@ -8,4 +9,8 @@ Redistribution and use in source and binary forms, with or without modification,
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Redis nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 changes: 29 additions & 1 deletion msvs/ReleasePackagingTool/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.IO;
using System.IO.Compression;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;

namespace ReleasePackagingTool
Expand Down Expand Up @@ -98,9 +99,15 @@ private void BuildReleasePackage(string version, string platform)
string documentsRoot = GetTargetPath(@"msvs\setups\documentation");
List<string> documentNames = new List<string>()
{
"README.txt",
"redis.windows.conf",
"redis.windows-service.conf"
};
List<string> releaseNotes = new List<string>()
{
"RELEASENOTES.txt",
"00-RELEASENOTES"
};

using (ZipArchive archive = ZipFile.Open(releasePackagePath, ZipArchiveMode.Create))
{
Expand All @@ -120,6 +127,10 @@ private void BuildReleasePackage(string version, string platform)
{
archive.CreateEntryFromFile(Path.Combine(documentsRoot, documentName), documentName);
}
foreach (string notes in releaseNotes)
{
archive.CreateEntryFromFile(Path.Combine(rootPath, notes), notes);
}
}
}

Expand Down Expand Up @@ -207,7 +218,24 @@ private void PrepareNewVersion(string prepareNewVersion)
}
}

File.WriteAllLines(rcFilePath, rcLines, System.Text.Encoding.ASCII);
File.WriteAllLines(rcFilePath, rcLines, Encoding.ASCII);

//update Product.wxs
var wxsPath = GetTargetPath(@"msvs\msi\RedisMsi\Product.wxs");
var wxsLines = File.ReadAllLines(wxsPath, Encoding.UTF8);

for (int i = 0, j = wxsLines.Length; i < j; i++)
{
var line = wxsLines[i];

if (line.Contains("Version=\""))
{
wxsLines[i] = Regex.Replace(line, "\"[1-9][0-9.]+\"", $"\"{prepareNewVersion}\"");
break;
}
}

File.WriteAllLines(wxsPath, wxsLines, Encoding.UTF8);
}

#endregion Private Methods
Expand Down
13 changes: 12 additions & 1 deletion msvs/msi/RedisMsi/Components/DocumentationComponents.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,16 @@
</Component>

</ComponentGroup>
</Fragment>

<ComponentGroup Id="ReleaseNotesComponents" Directory="INSTALLFOLDER" Source="!(wix.RootFolder)">

<Component Id="cmp_RELEASENOTES_txt" Guid="*">
<File Name="RELEASENOTES.txt" />
</Component>
<Component Id="cmp_00_RELEASENOTES" Guid="*">
<File Name="00-RELEASENOTES" />
</Component>

</ComponentGroup>
</Fragment>
</Wix>
8 changes: 5 additions & 3 deletions msvs/msi/RedisMsi/Product.wxs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
xmlns:fw="http://schemas.microsoft.com/wix/FirewallExtension">
Expand Down Expand Up @@ -55,8 +55,9 @@
<WixVariable Id="WixUIDialogBmp" Value="Images/redis_background.jpg"/>
<WixVariable Id="WixUIBannerBmp" Value="Images/top_banner.jpg"/>
<WixVariable Id="DocumentationFolder" Value="..\..\setups\documentation"/>
<WixVariable Id="RootFolder" Value="..\..\.."/>

<!--Link in custom actions, referencing one will pull in all-->
<!--Link in custom actions, referencing one will pull in all-->
<CustomActionRef Id="ca_UpdateRedisConfig"/>

<!--Features-->
Expand All @@ -65,6 +66,7 @@
<ComponentGroupRef Id="SymbolsComponents" />
<ComponentGroupRef Id="WindowsServiceComponents" />
<ComponentGroupRef Id="DocumentationComponents" />
<ComponentGroupRef Id="ReleaseNotesComponents"/>
<ComponentGroupRef Id="SetPathComponents" />
</Feature>
</Product>
Expand Down Expand Up @@ -94,4 +96,4 @@
</Directory>
</Directory>
</Fragment>
</Wix>
</Wix>
19 changes: 19 additions & 0 deletions msvs/setups/documentation/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Redis for Windows - https://github.com/tporadowski/redis
========================================================

This version of Redis (https://redis.io/) is an unofficial port to Windows OS
based on work contributed by Microsoft Open Technologies Inc. It is maintained
by Tomasz Poradowski ([email protected], http://www.poradowski.com/en/).

Contents of this package:
- *.exe - various Redis for Windows executables compiled for x64 platfrom,
- *.pdb - accompanying PDB files useful for debugging purposes,
- license.txt - license information (BSD-like),
- RELEASENOTES.txt - Windows-specific release notes,
- 00-RELEASENOTES - changelog of original Redis project, those changes are
ported back to this Windows version.

For more information - please visit https://github.com/tporadowski/redis

If you find this version of Redis useful and would like to support ongoing
development - please consider sponsoring my work at https://github.com/sponsors/tporadowski

0 comments on commit fdd58d4

Please sign in to comment.