Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# **ANGoLS** Changes

## 0.7.0 - 27th August 2025

* 0.7.0


## 0.7.0 (beta 1) - 27th August 2025

* moved private elements into **internal** (so as to hide properly);
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
VersionMajor uint16 = 0
VersionMinor uint16 = 7
VersionPatch uint16 = 0
VersionAB uint16 = 0x8001
VersionAB uint16 = 0xFFFF
Version uint64 = (uint64(VersionMajor) << 48) + (uint64(VersionMinor) << 32) + (uint64(VersionPatch) << 16) + (uint64(VersionAB) << 0)
)

Expand Down
6 changes: 3 additions & 3 deletions version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const (
Expected_VersionMajor uint16 = 0
Expected_VersionMinor uint16 = 7
Expected_VersionPatch uint16 = 0
Expected_VersionAB uint16 = 0x8001
Expected_VersionAB uint16 = 0xFFFF
)

func Test_Version_Elements(t *testing.T) {
Expand All @@ -22,9 +22,9 @@ func Test_Version_Elements(t *testing.T) {
}

func Test_Version(t *testing.T) {
require.Equal(t, uint64(0x0000_0007_0000_8001), angols.Version)
require.Equal(t, uint64(0x0000_0007_0000_FFFF), angols.Version)
}

func Test_Version_String(t *testing.T) {
require.Equal(t, "0.7.0-beta1", angols.VersionString())
require.Equal(t, "0.7.0", angols.VersionString())
}