Skip to content

Commit 30eeb80

Browse files
committed
Updated the release notes
1 parent deb2409 commit 30eeb80

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ members = sundayDay.GetMembers(exceptionShift);
267267
```
268268

269269
## NuGet
270-
To download the nuget package, the command is: "dotnet add package ShiftSharp --version 2.1.0".
270+
To download the nuget package, the command is: "dotnet add package ShiftSharp --version 2.1.1".
271271

272272
## Project Structure
273273
ShiftSharp depends upon .NET 8+ due to use of the NodaTime date and time classes.

Release Notes.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,13 @@ v2.0.0: January 20, 2024
88

99
v2.1.0: December 17, 2024
1010
- Added members for a team and exceptions for assigned personnel
11-
- Published to NuGet
11+
- Published to NuGet
12+
13+
v2.1.1: June 9, 2025
14+
- NonWorkingPeriod: added getter and setter for Duration
15+
- Rotation: invalidated periods cache on AddSegment()
16+
- Team: renamed removeMember() to RemoveMember()
17+
- TimePeriod: fixed GetEnd()
18+
- WorkSchedule: fixed DeleteShift()
19+
- removed unused imports
20+
- Published to NuGet

TestShiftSharp/TestShiftSharp.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
1515
<PackageReference Include="MSTest.TestAdapter" Version="3.6.4" />
1616
<PackageReference Include="MSTest.TestFramework" Version="3.6.4" />
17-
<PackageReference Include="NodaTime" Version="3.2.0" />
1817
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.1.0" />
1918
</ItemGroup>
2019
<ItemGroup>

TestShiftSharp/TestWorkSchedule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ public void TestTeamMembers()
11051105

11061106
Assert.IsTrue(sundayDay.HasMember(two));
11071107

1108-
sundayDay.removeMember(two);
1108+
sundayDay.RemoveMember(two);
11091109
Assert.IsTrue(!sundayDay.HasMember(two));
11101110

11111111
// member exceptions

0 commit comments

Comments
 (0)