@thi.ng/matrices 2.0.9 → 2.1.3

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.
package/CHANGELOG.md CHANGED
@@ -1,141 +1,169 @@
1
1
  # Change Log
2
2
 
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
+
3
6
  All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
5
8
 
6
- ## [2.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@2.0.8...@thi.ng/matrices@2.0.9) (2021-11-10)
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
7
11
 
8
- **Note:** Version bump only for package @thi.ng/matrices
12
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@2.1.0) (2021-11-17)
9
13
 
14
+ #### 🚀 Features
10
15
 
16
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
17
+ Improving the overall build ergonomics
18
+ - introduced a tools workspaces
19
+ - imported it in all needed packages/examples
20
+ - inclusive project root
11
21
 
22
+ #### ♻️ Refactoring
12
23
 
24
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
25
+ this commit reverts (partly) changes made in:
26
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
27
+ overall purpose is better testament ergonomics:
28
+ instead of having to pass NODE_OPTIONS with every invocation
29
+ having a binary to handle this for us.
13
30
 
14
- ## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@2.0.7...@thi.ng/matrices@2.0.8) (2021-11-04)
31
+ ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@2.0.1) (2021-10-13)
15
32
 
16
- **Note:** Version bump only for package @thi.ng/matrices
33
+ #### ♻️ Refactoring
17
34
 
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
36
+ - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
37
+ - add .js suffix for all relative imports
18
38
 
39
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@2.0.0) (2021-10-12)
19
40
 
41
+ #### 🛑 Breaking changes
20
42
 
43
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
44
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
45
+ - only ESM modules will be published from now on
46
+ - CJS obsolete due to ESM support in recent versions of node:
47
+ - i.e. launch NodeJS via:
48
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
49
+ - in the node REPL use `await import(...)` instead of `require()`
50
+ - UMD obsolete due to widespread browser support for ESM
51
+ Also:
52
+ - normalize/restructure/reorg all package.json files
53
+ - cleanup all build scripts, remove obsolete
54
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
21
55
 
22
- ## [2.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@2.0.6...@thi.ng/matrices@2.0.7) (2021-11-03)
56
+ #### ♻️ Refactoring
23
57
 
24
- **Note:** Version bump only for package @thi.ng/matrices
58
+ - internal restructure/imports ([766afe9](https://github.com/thi-ng/umbrella/commit/766afe9))
59
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
60
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
61
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
25
62
 
63
+ ### [0.6.58](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.6.58) (2021-04-24)
26
64
 
65
+ #### ♻️ Refactoring
27
66
 
67
+ - simplify mat44n() ([60b9e7e](https://github.com/thi-ng/umbrella/commit/60b9e7e))
28
68
 
69
+ ### [0.6.37](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.6.37) (2020-12-07)
29
70
 
30
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@1.0.5...@thi.ng/matrices@2.0.0) (2021-10-12)
71
+ #### ♻️ Refactoring
31
72
 
73
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
32
74
 
33
- ### Build System
75
+ ### [0.6.33](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.6.33) (2020-09-22)
34
76
 
35
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
77
+ #### ♻️ Refactoring
36
78
 
79
+ - add/update types, minor refactor ([096b7c7](https://github.com/thi-ng/umbrella/commit/096b7c7))
37
80
 
38
- ### BREAKING CHANGES
81
+ ### [0.6.32](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.6.32) (2020-09-13)
39
82
 
40
- * discontinue CommonJS & UMD versions
83
+ #### ♻️ Refactoring
41
84
 
42
- - only ESM modules will be published from now on
43
- - CJS obsolete due to ESM support in recent versions of node:
44
- - i.e. launch NodeJS via:
45
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
46
- - in the node REPL use `await import(...)` instead of `require()`
47
- - UMD obsolete due to widespread browser support for ESM
85
+ - update imports ([4bc3c6d](https://github.com/thi-ng/umbrella/commit/4bc3c6d))
48
86
 
49
- Also:
50
- - normalize/restructure/reorg all package.json files
51
- - cleanup all build scripts, remove obsolete
52
- - switch from mocha to @thi.ng/testament for all tests
87
+ ## [0.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.6.0) (2020-02-25)
53
88
 
89
+ #### 🚀 Features
54
90
 
91
+ - add project3(), refactor unproject(), mulV344() ([61c36fc](https://github.com/thi-ng/umbrella/commit/61c36fc))
55
92
 
93
+ #### 🩹 Bug fixes
56
94
 
95
+ - ([#205](https://github.com/thi-ng/umbrella/issues/205)) fix `w` calc in mulV344() ([46c1061](https://github.com/thi-ng/umbrella/commit/46c1061))
57
96
 
97
+ #### ♻️ Refactoring
58
98
 
59
- ## [1.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@1.0.4...@thi.ng/matrices@1.0.5) (2021-09-03)
99
+ - update imports, internal restruct ([5a8fba7](https://github.com/thi-ng/umbrella/commit/5a8fba7))
60
100
 
61
- **Note:** Version bump only for package @thi.ng/matrices
101
+ ### [0.5.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.5.3) (2019-07-31)
62
102
 
63
- # [0.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.5.12...@thi.ng/matrices@0.6.0) (2020-02-25)
103
+ #### ♻️ Refactoring
64
104
 
65
- ### Bug Fixes
105
+ - update mat23to44, mat33to44 ([7dac1e6](https://github.com/thi-ng/umbrella/commit/7dac1e6))
66
106
 
67
- - **matrices:** ([#205](https://github.com/thi-ng/umbrella/issues/205)) fix `w` calc in mulV344() ([46c1061](https://github.com/thi-ng/umbrella/commit/46c1061078d394d5b6ec2885f1025741893fe452))
107
+ ### [0.5.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.5.1) (2019-07-08)
68
108
 
69
- ### Features
109
+ #### 🩹 Bug fixes
70
110
 
71
- - **matrices:** add project3(), refactor unproject(), mulV344() ([61c36fc](https://github.com/thi-ng/umbrella/commit/61c36fcc532d78b21d78dddeee5523155b0798b2))
111
+ - mixQ result handling ([cc9ab35](https://github.com/thi-ng/umbrella/commit/cc9ab35))
72
112
 
73
- ## [0.5.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.5.0...@thi.ng/matrices@0.5.1) (2019-07-08)
113
+ ## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.5.0) (2019-07-07)
74
114
 
75
- ### Bug Fixes
115
+ #### 🚀 Features
76
116
 
77
- - **matrices:** mixQ result handling ([cc9ab35](https://github.com/thi-ng/umbrella/commit/cc9ab35))
117
+ - add matXXn, matXXv, mulXXvm fns ([9359bbc](https://github.com/thi-ng/umbrella/commit/9359bbc))
118
+ - add matXXn & matXXv fns ([7a2ef82](https://github.com/thi-ng/umbrella/commit/7a2ef82))
119
+ - enable TS strict compiler flags (refactor) ([7b1c81a](https://github.com/thi-ng/umbrella/commit/7b1c81a))
78
120
 
79
- # [0.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.4.0...@thi.ng/matrices@0.5.0) (2019-07-07)
121
+ #### 🩹 Bug fixes
80
122
 
81
- ### Bug Fixes
123
+ - update maddN call sites ([#95](https://github.com/thi-ng/umbrella/issues/95)) ([4a985c5](https://github.com/thi-ng/umbrella/commit/4a985c5))
82
124
 
83
- - **matrices:** update maddN call sites ([#95](https://github.com/thi-ng/umbrella/issues/95)) ([4a985c5](https://github.com/thi-ng/umbrella/commit/4a985c5))
125
+ #### ♻️ Refactoring
84
126
 
85
- ### Features
127
+ - add explicit types to workaround typedoc bug ([099a651](https://github.com/thi-ng/umbrella/commit/099a651))
128
+ - address TS strictNullChecks flag ([7ee8361](https://github.com/thi-ng/umbrella/commit/7ee8361))
129
+ - update various fns to unify api (1st arg can be null)
86
130
 
87
- - **matrices:** add isOrthagonal() ([d75305b](https://github.com/thi-ng/umbrella/commit/d75305b))
88
- - **matrices:** add matXXn & matXXv fns ([7a2ef82](https://github.com/thi-ng/umbrella/commit/7a2ef82))
89
- - **matrices:** add matXXn, matXXv, mulXXvm fns ([9359bbc](https://github.com/thi-ng/umbrella/commit/9359bbc))
90
- - **matrices:** enable TS strict compiler flags (refactor) ([7b1c81a](https://github.com/thi-ng/umbrella/commit/7b1c81a))
91
- - **matrices:** rename normal44 => normal33, add new normal44 (w/ M44 result) ([d54f746](https://github.com/thi-ng/umbrella/commit/d54f746))
131
+ ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.4.0) (2019-05-22)
92
132
 
93
- # [0.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.3.4...@thi.ng/matrices@0.4.0) (2019-05-22)
133
+ #### 🚀 Features
94
134
 
95
- ### Features
135
+ - add outerProduct for vec 2/3/4 ([2a9d076](https://github.com/thi-ng/umbrella/commit/2a9d076))
96
136
 
97
- - **matrices:** add outerProduct for vec 2/3/4 ([2a9d076](https://github.com/thi-ng/umbrella/commit/2a9d076))
137
+ ### [0.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.3.1) (2019-04-09)
98
138
 
99
- # [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.2.2...@thi.ng/matrices@0.3.0) (2019-04-07)
139
+ #### 🚀 Features
100
140
 
101
- ### Features
141
+ - rename normal44 => normal33, add new normal44 (w/ M44 result) ([d54f746](https://github.com/thi-ng/umbrella/commit/d54f746))
102
142
 
103
- - **matrices:** add transform23/44 fns ([dab6839](https://github.com/thi-ng/umbrella/commit/dab6839))
143
+ ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.3.0) (2019-04-07)
104
144
 
105
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.1.14...@thi.ng/matrices@0.2.0) (2019-04-02)
145
+ #### 🚀 Features
106
146
 
107
- ### Features
147
+ - add transform23/44 fns ([dab6839](https://github.com/thi-ng/umbrella/commit/dab6839))
108
148
 
109
- - **matrices:** add MatXXLike type aliases ([a2ace9f](https://github.com/thi-ng/umbrella/commit/a2ace9f))
149
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.2.0) (2019-04-02)
110
150
 
111
- ## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.1.5...@thi.ng/matrices@0.1.6) (2019-02-19)
151
+ #### 🚀 Features
112
152
 
113
- ### Bug Fixes
153
+ - add MatXXLike type aliases ([a2ace9f](https://github.com/thi-ng/umbrella/commit/a2ace9f))
114
154
 
115
- - **matrices:** Fix identity44 dispatch ([6812b2b](https://github.com/thi-ng/umbrella/commit/6812b2b))
155
+ ### [0.1.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.1.6) (2019-02-19)
116
156
 
117
- # 0.1.0 (2019-01-21)
157
+ #### 🩹 Bug fixes
118
158
 
119
- ### Bug Fixes
159
+ - Fix identity44 dispatch ([6812b2b](https://github.com/thi-ng/umbrella/commit/6812b2b))
120
160
 
121
- - **matrices:** inject default output handling code ([0b07ac8](https://github.com/thi-ng/umbrella/commit/0b07ac8))
122
- - **matrices:** re-add persp divide in mulV344() ([4c6fe06](https://github.com/thi-ng/umbrella/commit/4c6fe06))
123
- - **matrices:** scaleWithCenter* (add missing concat() arg) ([4f02491](https://github.com/thi-ng/umbrella/commit/4f02491))
161
+ #### ♻️ Refactoring
124
162
 
125
- ### Features
163
+ - freeze IDENT* consts ([3591899](https://github.com/thi-ng/umbrella/commit/3591899))
126
164
 
127
- - **matrices:** add cwise matrix multiply, rename mul* => mulM*, move mulQ ([ae7a039](https://github.com/thi-ng/umbrella/commit/ae7a039))
128
- - **matrices:** add m22 & m23 matrix converters ([2aceab9](https://github.com/thi-ng/umbrella/commit/2aceab9))
129
- - **matrices:** add M44 factories ([f1a5cf1](https://github.com/thi-ng/umbrella/commit/f1a5cf1))
130
- - **matrices:** add more matrix ops ([35babfc](https://github.com/thi-ng/umbrella/commit/35babfc))
131
- - **matrices:** add more matrix ops, optimize & simplify ([f04e79e](https://github.com/thi-ng/umbrella/commit/f04e79e))
132
- - **matrices:** add quaternion fns ([b03b919](https://github.com/thi-ng/umbrella/commit/b03b919))
133
- - **matrices:** add quatToMat33, update readme ([52fb939](https://github.com/thi-ng/umbrella/commit/52fb939))
134
- - **matrices:** add rotationAroundAxis33/44() ([27f65f9](https://github.com/thi-ng/umbrella/commit/27f65f9))
135
- - **matrices:** add trace() ([16d56a3](https://github.com/thi-ng/umbrella/commit/16d56a3))
136
- - **matrices:** add viewport(), project/unproject(), update invert() ([d9e1b2e](https://github.com/thi-ng/umbrella/commit/d9e1b2e))
137
- - **matrices:** extract matrix ops to own package ([f940672](https://github.com/thi-ng/umbrella/commit/f940672))
165
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.1.0) (2019-01-21)
138
166
 
139
- ### Performance Improvements
167
+ #### 🚀 Features
140
168
 
141
- - **matrices:** use setC6() for M23 ops ([d462ae0](https://github.com/thi-ng/umbrella/commit/d462ae0))
169
+ - add m22 & m23 matrix converters ([2aceab9](https://github.com/thi-ng/umbrella/commit/2aceab9))