Skip to content

Commit

Permalink
Merge pull request #3 from sator-imaging/active/v3
Browse files Browse the repository at this point in the history
docs: CHANGELOG
  • Loading branch information
sator-imaging authored Jan 8, 2024
2 parents a6b81c2 + 8ea31b3 commit 94b5b92
Showing 1 changed file with 22 additions and 28 deletions.
50 changes: 22 additions & 28 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,52 +8,46 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased](https://github.com/sator-imaging/Unity-AltSourceGenerator)

### TODO

- nothing yet



## [3.0.0](https://github.com/sator-imaging/Unity-AltSourceGenerator/releases/tag/v3.0.0)


### API Changes 😉

#### Features works only on Unity Editor

classes moved to `Editor` namespace.
- Features works only on Unity Editor
- classes moved to `Editor` namespace.

#### `USGEngine.ProcessFile()` will be removed
- `USGEngine.ProcessFile()` will be removed
- methods still exist but obsolete.
- use `USGUtility.ForceGenerateByType(typeof(...))` instead.

use `USGUtility.ForceGenerateByType(typeof(...))` instead.

#### `USGUtility.**ByName()` will be removed

methods still exist but obsolete. use `USGUtility.**ByType()` instead.
- `USGUtility.**ByName()` will be removed
- methods still exist but obsolete.
- use `USGUtility.**ByType()` instead.



## [2.0.0](https://github.com/sator-imaging/Unity-AltSourceGenerator/releases/tag/v2.0.0)


### Breaking Changes ;-)

#### USGEngine.ProcessFile(string assetsRelPath)

signature changed:
- `ProcessFile(string assetsRelPath, bool ignoreOverwriteSettingOnAttribute, bool autoRunReferencingEmittersNow = false)`

#### ~~public~~ static bool USGEngine.IgnoreOverwriteSettingByAttribute

now private. use `ProcessFile(path, *true*)` instead.

#### USGUtility.ForceGenerateByName(string clsName, bool showInProjectPanel = *false*)

`showInProjectPanel` now false by default.
- USGEngine.ProcessFile(string assetsRelPath)
- signature changed
- `ProcessFile(string assetsRelPath, bool ignoreOverwriteSettingOnAttribute, bool autoRunReferencingEmittersNow = false)`

#### usg\<T>(params string[] memberNames)
- ~~public~~ static bool USGEngine.IgnoreOverwriteSettingByAttribute
- now private. use `ProcessFile(path, *true*)` instead.

`global::` namespace will be added.
- USGUtility.ForceGenerateByName(string clsName, bool showInProjectPanel = *false*)
- `showInProjectPanel` now false by default.

#### usg(Type cls, params string[] memberNames)
- usg\<T>(params string[] memberNames)
- `global::` namespace will be added.

signature changed:
- `usg(object valueOrType, bool isFullName = true)`
- usg(Type cls, params string[] memberNames)
- signature changed
- `usg(object valueOrType, bool isFullName = true)`

0 comments on commit 94b5b92

Please sign in to comment.