@thi.ng/fuzzy 2.1.99 → 2.1.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +3 -111
  2. package/package.json +5 -6
package/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-21T15:46:52Z
3
+ - **Last updated**: 2025-01-23T13:39:11Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
7
+ Only versions published since **2022-01-01** are listed here.
8
+ Please consult the Git history for older version information.
7
9
  See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
10
 
9
11
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
@@ -20,113 +22,3 @@ and/or version bumps of transitive dependencies.
20
22
  #### ♻️ Refactoring
21
23
 
22
24
  - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
23
-
24
- ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/fuzzy@2.1.0) (2021-11-17)
25
-
26
- #### 🚀 Features
27
-
28
- - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
29
- Improving the overall build ergonomics
30
- - introduced a tools workspaces
31
- - imported it in all needed packages/examples
32
- - inclusive project root
33
-
34
- #### ♻️ Refactoring
35
-
36
- - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
37
- this commit reverts (partly) changes made in:
38
- ef346d7a8753590dc9094108a3d861a8dbd5dd2c
39
- overall purpose is better testament ergonomics:
40
- instead of having to pass NODE_OPTIONS with every invocation
41
- having a binary to handle this for us.
42
-
43
- ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/fuzzy@2.0.1) (2021-10-13)
44
-
45
- #### ♻️ Refactoring
46
-
47
- - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
48
- - add .js suffix for all relative imports
49
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
50
-
51
- # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/fuzzy@2.0.0) (2021-10-12)
52
-
53
- #### 🛑 Breaking changes
54
-
55
- - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
56
- - BREAKING CHANGE: discontinue CommonJS & UMD versions
57
- - only ESM modules will be published from now on
58
- - CJS obsolete due to ESM support in recent versions of node:
59
- - i.e. launch NodeJS via:
60
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
61
- - in the node REPL use `await import(...)` instead of `require()`
62
- - UMD obsolete due to widespread browser support for ESM
63
- Also:
64
- - normalize/restructure/reorg all package.json files
65
- - cleanup all build scripts, remove obsolete
66
- - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
67
-
68
- #### ♻️ Refactoring
69
-
70
- - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
71
- - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
72
- - update imports ([3d46498](https://github.com/thi-ng/umbrella/commit/3d46498))
73
-
74
- ### [0.1.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/fuzzy@0.1.3) (2021-02-20)
75
-
76
- #### ♻️ Refactoring
77
-
78
- - use clamp0() ([2825130](https://github.com/thi-ng/umbrella/commit/2825130))
79
- - update to use new Range type ([1cc23c6](https://github.com/thi-ng/umbrella/commit/1cc23c6))
80
-
81
- ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/fuzzy@0.1.0) (2020-12-22)
82
-
83
- #### 🚀 Features
84
-
85
- - import as new pkg, refactor ([a578194](https://github.com/thi-ng/umbrella/commit/a578194))
86
- - re-use T-norms migrated to [@thi.ng/maths](https://github.com/thi-ng/umbrella/tree/main/packages/maths)
87
- - add variable() factory
88
- - add classify()
89
- - fix off-by-one error in trapezoid()
90
- - add docstrings
91
- - add evaluate() ([0ffc9d0](https://github.com/thi-ng/umbrella/commit/0ffc9d0))
92
- - add shapes, strongAnd(), update combineTerms() ([5bf8f0c](https://github.com/thi-ng/umbrella/commit/5bf8f0c))
93
- - add strict arg for classify(), update docs ([b39248f](https://github.com/thi-ng/umbrella/commit/b39248f))
94
- - add maxima(), compose(), restructure ([f15d8d7](https://github.com/thi-ng/umbrella/commit/f15d8d7))
95
- - migrate t-norms from [@thi.ng/math](https://github.com/thi-ng/umbrella/tree/main/packages/math) pkg ([f8993e0](https://github.com/thi-ng/umbrella/commit/f8993e0))
96
- - add min true threshold for classify() ([6f49a30](https://github.com/thi-ng/umbrella/commit/6f49a30))
97
- - update docs
98
- - add alphaCut() & implication() fns ([8ec15fa](https://github.com/thi-ng/umbrella/commit/8ec15fa))
99
- - update defuzz() output prep ([81abe8c](https://github.com/thi-ng/umbrella/commit/81abe8c))
100
- - add support for custom implications of rule outputs
101
- - update/optimize rule weight handling
102
- - update defuzz() & strategies ([cf337f3](https://github.com/thi-ng/umbrella/commit/cf337f3))
103
- - simplify DefuzzStrategy to take single FuzzyFn
104
- - add `combine` s-norm arg to defuzz() and compose output sets before
105
- handing them to the strategy impl
106
- - split maximaStrategy() into individual fns
107
- - simplify/rename strategy opts
108
- - update strategy interval iteration to minimize floating point errors
109
- - update tests
110
- - make lvar, rules, defuzz() typesafe ([0b210c3](https://github.com/thi-ng/umbrella/commit/0b210c3))
111
- - add/update types (Rule, LVar, LVar helpers)
112
- - update variable() & rule factories (add generics)
113
- - make defuzz() generic, infer return type
114
- - update tests
115
- - update types, update compose ([566469d](https://github.com/thi-ng/umbrella/commit/566469d))
116
- - add new LVar types
117
- - remove combineTerms(), merge into compose()
118
- - remove implication(), merge into compose()
119
- - update compose() to return optimized fns
120
- - add intersect()/union() syntax sugar
121
- - update defuzz()
122
- - add/update/migrate defuzz strategies ([c1ee15f](https://github.com/thi-ng/umbrella/commit/c1ee15f))
123
- - move to /strategies subdir
124
- - make centroidStrategy() default
125
- - rename & optimize bisectorStrategy()
126
- - add docstrings w/ diagrams for all strats
127
- - update tests
128
-
129
- #### ⏱ Performance improvements
130
-
131
- - update defuzz() ([60030dd](https://github.com/thi-ng/umbrella/commit/60030dd))
132
- - skip preparation of rule outputs which aren't requested
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/fuzzy",
3
- "version": "2.1.99",
3
+ "version": "2.1.100",
4
4
  "description": "Fuzzy logic operators & configurable rule inferencing engine",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -40,14 +40,13 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.11.17",
44
- "@thi.ng/math": "^5.11.17"
43
+ "@thi.ng/api": "^8.11.18",
44
+ "@thi.ng/math": "^5.11.18"
45
45
  },
46
46
  "devDependencies": {
47
- "@microsoft/api-extractor": "^7.48.1",
48
47
  "esbuild": "^0.24.2",
49
48
  "typedoc": "^0.27.6",
50
- "typescript": "^5.7.2"
49
+ "typescript": "^5.7.3"
51
50
  },
52
51
  "keywords": [
53
52
  "agent",
@@ -106,5 +105,5 @@
106
105
  "thi.ng": {
107
106
  "year": 2020
108
107
  },
109
- "gitHead": "22f6d518aed5951bb37b406c8ae85a6c3e6be517\n"
108
+ "gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
110
109
  }