Skip to content

Release 0.6.4 #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 13, 2024
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
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@ All notable changes to this package will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.6.4] - 2024-11-13

**Fix**:
- Fixed the unit tests for *ObservableDictionary* that was preventing some builds to run

## [0.6.3] - 2024-11-02

**Fix**:
- Fixed the compilation issues of *ObservableDictionary*

## [0.6.2] - 2024-11-02

**New**:
- Added the *ObservableUpdateFlag* to help performance when updating subscribers to the *ObservableDictionary*. By default is set *ObservableUpdateFlag.KeyUpdateOnly*

**Fix**:
Expand All @@ -23,31 +29,37 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [0.6.0] - 2023-08-05

**Changed**:
- Improved the *ObservableResolverList* and *ObservableResolverDictionary* data types to properly resolve lists and dictionaries with different data types from the original collection.

## [0.5.1] - 2023-09-04

**New**:
- Added StructPair data type to support both object and struct type containers, improving memory usage performance.

**Fix**:
- Fixed the dispose extension methods for GameObject and Object, removing pragma directives and adding null reference check in GetValid method to avoid unwanted exceptions

## [0.5.0] - 2023-08-05

**New**:
- Added **floatP**, a deterministic floating-point number type, enhancing precision and predictability in mathematical operations. Including arithmetic and comparison operators for floatP to support complex calculations and conversion methods between floatP and float types.

## [0.4.0] - 2023-07-30

**New**:
- Added utility methods and extensions for Unity's Object and GameObject types, enhancing the codebase's functionality.
- Introduced a SerializableType struct for viewing, modifying, and saving types from the inspector, with serialization support and compatibility with filter attributes.

## [0.3.0] - 2023-07-28

**New**:
- Added support for observing field updates with previous and current values in the ObservableField class.
- Introduced a UnitySerializedDictionary class that allows serialization of dictionaries in Unity.

## [0.2.0] - 2020-09-28

**New**:
- Added new *ObservableResolverList*, *ObservableResolverDictionary* & *ObservableResolverField* to allow to create observable types without referencing the collection directly
- Added Unit tests to all data types in the project

Expand All @@ -58,6 +70,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [0.1.1] - 2020-08-31

**Changed**:
- Renamed Assembly Definitions to match this package
- Removed unnecessary files

Expand Down
2 changes: 1 addition & 1 deletion Tests/Editor/ObservableDictionaryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public void InvokeUpdateCheck()
_dictionary.InvokeUpdate(_key);

_caller.DidNotReceive().Call(Arg.Any<int>(), Arg.Any<int>(), Arg.Any<int>(), ObservableUpdateType.Added);
_caller.Received(2).Call(_key, 0, 0, ObservableUpdateType.Updated);
_caller.Received().Call(_key, 0, 0, ObservableUpdateType.Updated);
_caller.DidNotReceive().Call(Arg.Any<int>(), Arg.Any<int>(), Arg.Any<int>(), ObservableUpdateType.Removed);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "com.gamelovers.dataextensions",
"displayName": "Unity Data Type Extensions",
"author": "Miguel Tomas",
"version": "0.6.3",
"version": "0.6.4",
"unity": "2022.3",
"license": "MIT",
"description": "This package extends various sets of data types to be used in any type of data containers or persistent serializable data",
Expand Down
Loading