Skip to content

Commit 535e677

Browse files
committed
0.0.3
1 parent 48e3c99 commit 535e677

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.3
2+
* Make CreateVersion7 and CreateVersion8MsSql monotonic (in same process), so remove CreateVersion7Sequence and CreateVersion8MsSqlSequence.
3+
* Change ms sql scripts to be monotonic for uuid_v7 and uuid_v8mssql (in same session).
4+
15
## 0.0.2
26
* Bitswapping was not correct for v7<->v8MsSql. bytes[6] and bytes[7] were swapped (endianess).
37
* CreateVersion8MsSql: forgot to preserve 2 random bits in bytes[9].

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
<Company>osexpert</Company>
2222
<PackageReleaseNotes>See https://github.com/osexpert/GuidPhantom/blob/master/CHANGELOG.md for details</PackageReleaseNotes>
2323

24-
<VersionPrefix>0.0.2</VersionPrefix>
24+
<VersionPrefix>0.0.3</VersionPrefix>
2525
<PackageTags>guid uuid</PackageTags>
26-
<Description>Yet another Guid library:-) Create Guid v1,v3,v5,v6,v7,v8MsSql,v8SHA256,v8SHA512,NEWSEQUENTIALID,XorGuid,NumericGuid,IncrementedGuid. Convert between v1 and v6. Convert between v7 and v8MsSql. Create monotonic sequence of v7 and v8MsSql Guid's. Get Guid info.</Description>
26+
<Description>Yet another Guid library:-) Create Guid v1,v3,v5,v6,v7,v8MsSql,v8SHA256,v8SHA512,NEWSEQUENTIALID,XorGuid,NumericGuid,IncrementedGuid. Convert between v1 and v6. Convert between v7 and v8MsSql. Get Guid info.</Description>
2727

2828
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2929

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# GuidPhantom
2-
Yet another Guid library:-) Create Uuid v1, v3, v5, v6, v7, v8MsSql, v8SHA256, v8SHA512, convert between v1 and v6, convert between v7 and v8MsSql, get info about a Guid (dissect), create monotonic sequence of v7 and v8MsSql Guid's, create NEWSEQUENTIALID (ms sql), create/reverse Xor Guid, create/reverse numeric Guid, create/reverse incremented Guid.
2+
Yet another Guid library:-) Create Uuid v1, v3, v5, v6, v7, v8MsSql, v8SHA256, v8SHA512, convert between v1 and v6, convert between v7 and v8MsSql, get info about a Guid (dissect), create NEWSEQUENTIALID (ms sql), create/reverse Xor Guid, create/reverse numeric Guid, create/reverse incremented Guid.
33

44
var v1 = GuidKit.CreateVersion1();
55
var v3 = GuidKit.CreateVersion3(new Guid("d2f2f0fe-cbf8-4dc8-9ecb-eedd066dc105"), "Test42");
@@ -13,9 +13,6 @@ Yet another Guid library:-) Create Uuid v1, v3, v5, v6, v7, v8MsSql, v8SHA256, v
1313
var v1_converted = v6.ConvertVersion6To1();
1414
var nsi = GuidKit.CreateNEWSEQUENTIALID();
1515

16-
var v7_1000 = GuidKit.CreateVersion7Sequence().Take(1000);
17-
var v8MsSql7_1000 = GuidKit.CreateVersion8MsSqlSequence().Take(1000);
18-
1916
var vv = nsi.GetVariantAndVersion();
2017
var info = nsi.GetGuidInfo();
2118

@@ -28,4 +25,4 @@ Yet another Guid library:-) Create Uuid v1, v3, v5, v6, v7, v8MsSql, v8SHA256, v
2825
var inc = GuidKit.CreateIncrementedGuid(new Guid("d2f2f0fe-cbf8-4dc8-9ecb-eedd066dc105"), 42);
2926
int inc42 = inc.ReverseIncrementedGuid(new Guid("d2f2f0fe-cbf8-4dc8-9ecb-eedd066dc105"));
3027

31-
Also has sql scripts for ms sql server to create Guid v3,v5,v7(no sequence),v8mssql(no sequence) and convert v7<->v8mssql.
28+
Also has sql scripts for ms sql server to create Guid v3,v5,v7,v8mssql and convert v7<->v8mssql.

nuget push.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
REM set myKey=
2-
set ver=0.0.2
2+
set ver=0.0.3
33

44
nuget push bin\Packages\Release\NuGet\GuidPhantom.%ver%.nupkg -src https://api.nuget.org/v3/index.json -ApiKey %myKey%

0 commit comments

Comments
 (0)