@thi.ng/gp 1.0.4 → 1.0.5

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 -109
  2. package/package.json +9 -10
package/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-21T15:46:53Z
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
@@ -26,111 +28,3 @@ and/or version bumps of transitive dependencies.
26
28
  #### ♻️ Refactoring
27
29
 
28
30
  - update .probability() call sites in various pkgs ([c8c8141](https://github.com/thi-ng/umbrella/commit/c8c8141))
29
-
30
- ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/gp@0.4.0) (2021-11-17)
31
-
32
- #### 🚀 Features
33
-
34
- - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
35
- Improving the overall build ergonomics
36
- - introduced a tools workspaces
37
- - imported it in all needed packages/examples
38
- - inclusive project root
39
-
40
- #### ♻️ Refactoring
41
-
42
- - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
43
- this commit reverts (partly) changes made in:
44
- ef346d7a8753590dc9094108a3d861a8dbd5dd2c
45
- overall purpose is better testament ergonomics:
46
- instead of having to pass NODE_OPTIONS with every invocation
47
- having a binary to handle this for us.
48
-
49
- ### [0.3.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/gp@0.3.9) (2021-11-10)
50
-
51
- #### ♻️ Refactoring
52
-
53
- - update all countdown loops ([a5f374b](https://github.com/thi-ng/umbrella/commit/a5f374b))
54
-
55
- ### [0.3.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/gp@0.3.5) (2021-10-27)
56
-
57
- #### 🩹 Bug fixes
58
-
59
- - limit AST.mutate() to max tree depth ([afcdda0](https://github.com/thi-ng/umbrella/commit/afcdda0))
60
- - always respect max tree depth to avoid overly complex trees
61
- due to repeated mutation
62
- - update docs
63
-
64
- ### [0.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/gp@0.3.1) (2021-10-13)
65
-
66
- #### ♻️ Refactoring
67
-
68
- - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
69
- - add .js suffix for all relative imports
70
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
71
-
72
- ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/gp@0.3.0) (2021-10-12)
73
-
74
- #### 🛑 Breaking changes
75
-
76
- - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
77
- - BREAKING CHANGE: discontinue CommonJS & UMD versions
78
- - only ESM modules will be published from now on
79
- - CJS obsolete due to ESM support in recent versions of node:
80
- - i.e. launch NodeJS via:
81
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
82
- - in the node REPL use `await import(...)` instead of `require()`
83
- - UMD obsolete due to widespread browser support for ESM
84
- Also:
85
- - normalize/restructure/reorg all package.json files
86
- - cleanup all build scripts, remove obsolete
87
- - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
88
-
89
- #### ♻️ Refactoring
90
-
91
- - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
92
- - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
93
- - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
94
- - update imports (transducers) ([d2c6ead](https://github.com/thi-ng/umbrella/commit/d2c6ead))
95
- - update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
96
- - largely related to recent updates/restructuring of these packages:
97
- - api
98
- - defmulti
99
- - errors
100
- - logger
101
- - minor pkg restructure (various) ([47f88d2](https://github.com/thi-ng/umbrella/commit/47f88d2))
102
-
103
- ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/gp@0.2.0) (2020-12-22)
104
-
105
- #### 🛑 Breaking changes
106
-
107
- - fix [#256](https://github.com/thi-ng/umbrella/issues/256) replace enum w/ type alias ([6fd4291](https://github.com/thi-ng/umbrella/commit/6fd4291))
108
- - BREAKING CHANGE: replace GeneType w/ type alias
109
-
110
- ### [0.1.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/gp@0.1.9) (2020-04-05)
111
-
112
- #### ♻️ Refactoring
113
-
114
- - switch to non-const enums ([5bc8a4e](https://github.com/thi-ng/umbrella/commit/5bc8a4e))
115
-
116
- ### [0.1.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/gp@0.1.3) (2020-02-25)
117
-
118
- #### ♻️ Refactoring
119
-
120
- - update imports ([8d1698c](https://github.com/thi-ng/umbrella/commit/8d1698c))
121
-
122
- ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/gp@0.1.0) (2019-11-30)
123
-
124
- #### 🚀 Features
125
-
126
- - import as new package ([dcfee15](https://github.com/thi-ng/umbrella/commit/dcfee15))
127
- - add support for arbitrary op arities, simplify ([8e71a88](https://github.com/thi-ng/umbrella/commit/8e71a88))
128
- - update ASTOpts
129
- - add MEP, refactor all as classes, add/update types, tests ([d9061b1](https://github.com/thi-ng/umbrella/commit/d9061b1))
130
- - add opt min depth filter for MEP.decodeChromosome() ([921fcdd](https://github.com/thi-ng/umbrella/commit/921fcdd))
131
- - update crossover/mutation for both AST/MEP, add tests ([9852631](https://github.com/thi-ng/umbrella/commit/9852631))
132
- - update MEP.decodeChromosome, tests, add docs ([e339925](https://github.com/thi-ng/umbrella/commit/e339925))
133
-
134
- #### 🩹 Bug fixes
135
-
136
- - update ASTNode as recursive type (TS3.7) ([33fbd7f](https://github.com/thi-ng/umbrella/commit/33fbd7f))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/gp",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Genetic programming helpers & strategies (tree based & multi-expression programming)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -40,18 +40,17 @@
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/errors": "^2.5.23",
45
- "@thi.ng/math": "^5.11.17",
46
- "@thi.ng/random": "^4.1.8",
47
- "@thi.ng/transducers": "^9.2.15",
48
- "@thi.ng/zipper": "^2.1.122"
43
+ "@thi.ng/api": "^8.11.18",
44
+ "@thi.ng/errors": "^2.5.24",
45
+ "@thi.ng/math": "^5.11.18",
46
+ "@thi.ng/random": "^4.1.9",
47
+ "@thi.ng/transducers": "^9.2.16",
48
+ "@thi.ng/zipper": "^2.1.123"
49
49
  },
50
50
  "devDependencies": {
51
- "@microsoft/api-extractor": "^7.48.1",
52
51
  "esbuild": "^0.24.2",
53
52
  "typedoc": "^0.27.6",
54
- "typescript": "^5.7.2"
53
+ "typescript": "^5.7.3"
55
54
  },
56
55
  "keywords": [
57
56
  "agent",
@@ -112,5 +111,5 @@
112
111
  "status": "alpha",
113
112
  "year": 2019
114
113
  },
115
- "gitHead": "22f6d518aed5951bb37b406c8ae85a6c3e6be517\n"
114
+ "gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
116
115
  }