Skip to content
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

2.0.0 #124

Merged
merged 136 commits into from Nov 11, 2019
Merged

2.0.0 #124

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
91b2d24
docs(readme): Change "Your First Game" tutorial to use the CLI for bu…
jcowman2 Mar 10, 2019
01a6f14
docs(readme): Change part 4 of first game guide to use CLI
jcowman2 Mar 11, 2019
12b5ecf
docs(readme): Refactor Bundling docs to describe using the CLI as an …
jcowman2 Mar 13, 2019
0a2e7ed
docs(readme): Add "Playing a Bundled Game" section with references to…
jcowman2 Mar 13, 2019
847b63d
Merge pull request #102 from regal/docs-101/mention-cli
jcowman2 Mar 14, 2019
21f9d82
feat(config): Add gameVersion property to GameMetadata
jcowman2 Mar 15, 2019
442b68a
feat(config): Update GameMetadata documentation and add gameVersion t…
jcowman2 Mar 16, 2019
f058df9
feat(config): Remove readonly modifier on GameMetadata properties
jcowman2 Mar 16, 2019
a128572
feat(config): Ensure gameVersion property copied into internal GameMe…
jcowman2 Mar 16, 2019
2ff57d5
docs(readme): Update API reference to reflect changes to GameMetadata
jcowman2 Mar 16, 2019
9e3ae4b
Merge pull request #103 from regal/feat-97/gameversion
jcowman2 Mar 16, 2019
021d16e
test(mocha): Fix deprecated mocha option
jcowman2 Mar 18, 2019
7522cda
test(agents): Add failing test for verifying prototype registry behav…
jcowman2 Jun 21, 2019
3c921d6
feat(common): Add interfaces and stub implementations of keys system
jcowman2 Jun 21, 2019
5064328
feat(common): Implement entire primary key system except PKProvider.f…
jcowman2 Jun 22, 2019
5a953bc
feat(common): Implement PKProvider.fork
jcowman2 Jun 23, 2019
9d3a9cc
docs(common): In-code docs for PK system
jcowman2 Jun 23, 2019
e3e7e09
Merge pull request #106 from regal/feat-104/prototype-registry
jcowman2 Jun 23, 2019
57ff430
feat(agents): Replace numeric id with PK<Agent>
jcowman2 Jun 26, 2019
b2f8719
fix(agents): Fix some error messages to use id.value() instead of id
jcowman2 Jun 27, 2019
dfa918a
test(agents): Fix some evergreen tests
jcowman2 Jun 28, 2019
bba1ea0
refactor(agents): Refactor agent-utils and fix all agent unit tests
jcowman2 Jun 28, 2019
5c00d18
feat(common): Adds the peek() method to PKProvider
jcowman2 Jun 28, 2019
41cac6e
refactor(agents): Move propertyIsAgentId to agents/impl/agent-utils a…
jcowman2 Jun 28, 2019
3b51f9e
style(agents): Fix lint
jcowman2 Jun 28, 2019
0e3a42a
Merge pull request #108 from regal/feat-104/prototype-registry
jcowman2 Jun 28, 2019
2d05ab7
feat(output): Replace numeric OutputLine.id with PK<OutputLine>
jcowman2 Jun 29, 2019
3528c82
refactor: Add foreign keys to EventRecord, PropertyChange, and AgentM…
jcowman2 Jun 29, 2019
4fa1fe3
docs(events): Fix typo
jcowman2 Jun 29, 2019
ec756e0
refactor(events): Replace numeric EventRecord.id with PK<EventRecord>
jcowman2 Jul 4, 2019
e47dc34
test(events): Fix some unit tests related to events PK
jcowman2 Jul 5, 2019
5ef5aae
test(events): Fix some unit tests related to event PK
jcowman2 Jul 7, 2019
aa4358c
test(events): Fix more unit tests for events PK
jcowman2 Jul 9, 2019
ca1b68a
test(events): Fix additional unit test
jcowman2 Jul 10, 2019
5fcb41e
test(events): Investigation needed on why this test is breaking
jcowman2 Jul 11, 2019
334853c
test(events): Fix additional unit test related to events PK change
jcowman2 Jul 12, 2019
94fa536
test(events): Fix yet another unit test
jcowman2 Jul 13, 2019
af75407
test(events): Fix unit test
jcowman2 Jul 19, 2019
22f9eae
test(events): Fix another unit test
jcowman2 Jul 20, 2019
1d312da
fix(events): Fix bug with logging property changes related to the Eve…
jcowman2 Jul 21, 2019
625e7d7
docs(keys): Docs and unit test for PKProvider.countGenerated
jcowman2 Jul 21, 2019
26c42aa
refactor: Minor fixes
jcowman2 Jul 22, 2019
2000ece
docs(events): Fix typo
jcowman2 Jul 22, 2019
fc2b122
Merge pull request #110 from regal/feat-104/prototype-registry
jcowman2 Jul 22, 2019
7f005a7
refactor(random): Replace numeric RandomRecord.id with PK<RandomRecord>
jcowman2 Jul 23, 2019
84bac49
docs: Minor fix
jcowman2 Jul 23, 2019
fa3f6e3
Merge pull request #111 from regal/feat-104/prototype-registry
jcowman2 Jul 23, 2019
0d7a572
refactor(agents): Replace agent.id with agent.meta
jcowman2 Jul 25, 2019
160e9b2
fix(agents): Fix storing meta property in AgentManager
jcowman2 Jul 26, 2019
d0a406c
fix(agents): Fixes related to AgentMeta
jcowman2 Jul 27, 2019
dc1e805
test(agent): Progress on fixing an agent unit test
jcowman2 Jul 27, 2019
d07f552
fix(agents): Fix bug in StaticAgentRegistry related to AgentMeta refa…
jcowman2 Jul 28, 2019
b6a43a9
test(agents): More simple unit test fixes related to AgentMeta refactor
jcowman2 Jul 28, 2019
83c10cd
fix(agents): Fix agent reverting bug related to AgentMeta refactor
jcowman2 Jul 30, 2019
52c39ee
refactor(agents): Rename agent meta transformers
jcowman2 Jul 30, 2019
c7c7412
docs(agents): tsDocs for agent meta transformers
jcowman2 Jul 30, 2019
1ca7d8c
docs(agents): AgentMeta update for AgentManager
jcowman2 Jul 31, 2019
64e3040
refactor(agents): Make AgentManager.id readonly since removing it alt…
jcowman2 Aug 1, 2019
01678ef
test(agents): Unit tests for AgentMeta refactor
jcowman2 Aug 1, 2019
ed8418e
refactor(agents): Add ts docs and AgentMeta exports
jcowman2 Aug 1, 2019
cbcf3c4
Merge pull request #113 from regal/feat-104/agent-metadata-refactor
jcowman2 Aug 1, 2019
2cda2f7
refactor(agents): Simplify PK<Agent> with type alias
jcowman2 Aug 1, 2019
bb80e15
refactor(keys): Make FK parameterized to a PK, rather than a random c…
jcowman2 Aug 1, 2019
4b19737
refactor(events): Type alias for PK<EventRecord>
jcowman2 Aug 1, 2019
9169cbf
refactor(output): Add type alias OutputLineId for PK<OutputLine>
jcowman2 Aug 2, 2019
ab1afe0
refactor(random): Add type alias RandomRecordId for PK<RandomRecord>
jcowman2 Aug 3, 2019
96b8cd5
feat(agents): Add prototype registries
jcowman2 Aug 3, 2019
d6fd74c
test(agents): Fix some tests related to PrototypeRegistry addition
jcowman2 Aug 5, 2019
06694a0
test(agents): Fix unit test related to prototype registry
jcowman2 Aug 6, 2019
46ff8dd
test(agents): Fix unit tests related to prototype registry
jcowman2 Aug 7, 2019
1e95b2b
test(agents): Fix another unit test
jcowman2 Aug 8, 2019
fd24d02
test(agents): unit test
jcowman2 Aug 9, 2019
e9027b8
test(agents): Fix unit test
jcowman2 Aug 10, 2019
2a9f1a7
test(agents): Fix 2 unit tests
jcowman2 Aug 10, 2019
963e56d
test(agents): Fix another test
jcowman2 Aug 12, 2019
f25ea92
fix(agents): Fix static agents not being registeredf with the StaticP…
jcowman2 Aug 12, 2019
50da5ca
fix(agents): Continue working on PrototypeRegistry refactor
jcowman2 Aug 14, 2019
4259031
fix(agents): WIP bugfix -- reserved PK for game state
jcowman2 Aug 16, 2019
c256912
fix(agents): Final bugfixes to finish PrototypeRegistry :D
jcowman2 Aug 16, 2019
89a173f
refactor(agents): Remove unnecessary check and add method/inheritance…
jcowman2 Aug 16, 2019
2ca078d
test(agents): Intentionally failing unit test to flag an underlying i…
jcowman2 Aug 16, 2019
186039f
fix(agents): Deep copy PrototypeRegistry on InstanceAgents.recycle
jcowman2 Aug 17, 2019
a780f83
fix(agents): Fork Agent PK provider on recycle
jcowman2 Aug 17, 2019
525048e
fix(events): InstanceEvents.recycle breaks the connection between Eve…
jcowman2 Aug 17, 2019
4833329
fix(output): Fork OutputLine PK provider on InstanceOutput.recycle
jcowman2 Aug 18, 2019
eadc6f2
fix(random): Fork RandomRecord PK provider on InstanceRandom.recycle
jcowman2 Aug 18, 2019
1b007d5
test(agents): Unit tests for PrototypeRegistry improvements
jcowman2 Aug 20, 2019
b9683bc
fix(agents): Check StaticPrototypeRegistry when registering a new pro…
jcowman2 Aug 20, 2019
85810d3
refactor(agents): Add getPrototypeRegistry method to InstanceAgentsIn…
jcowman2 Aug 22, 2019
04de285
docs(agents): Add tsdocs for new methods to InstanceAgentsInternal
jcowman2 Aug 23, 2019
372709b
docs(agents): Top-level tsdocs for agent-proto-keys.ts
jcowman2 Aug 24, 2019
1a727cc
docs(agents): Add TS docs to members of agent-proto-keys.ts
jcowman2 Aug 25, 2019
29a7684
docs(agents): tsdocs at the top of static-prototype-registry-impl.ts
jcowman2 Aug 26, 2019
29a0024
docs(agents): Add remaining docs for prototype registry refactor
jcowman2 Aug 26, 2019
dd43e60
docs(agents): Add some missing tsdocs
jcowman2 Aug 29, 2019
beae458
refactor(agents): Move defaultAgentMeta export to impl/index and add …
jcowman2 Aug 30, 2019
ac5fb10
docs(agents): tsdocs in active-agent-proxy.ts
jcowman2 Aug 31, 2019
43e35dc
docs(agents): Add missing tsdocs to agent-meta-transformers.ts
jcowman2 Aug 31, 2019
59ce4ed
refactor(agents): Replace "refId" with ReservedAgentProperty.REF_ID
jcowman2 Sep 2, 2019
09554ce
refactor(agents): Add defaultAgentMeta and tsdocs to InstanceAgentsImpl
jcowman2 Sep 3, 2019
43273af
refactor(agents): Rename method in InstanceAgentsInternal
jcowman2 Sep 4, 2019
8ca4741
refactor(agents): Clarify helper method in InstanceAgentsImpl
jcowman2 Sep 5, 2019
ca02198
test(keys): Unit tests for PKProvider.keyFromValue
jcowman2 Sep 6, 2019
e0a98f1
test(agents): Test coverage back at 100%
jcowman2 Sep 7, 2019
0516dba
docs(agents): Add missing tsdocs
jcowman2 Sep 9, 2019
c07d9b5
refactor(agents): Abstract impl imports in static-agent-registry
jcowman2 Sep 10, 2019
7257f80
refactor(keys): Simplified method signatures
jcowman2 Sep 11, 2019
7d1f3e0
refactor(keys): Remove FK and PK.ref()
jcowman2 Sep 14, 2019
c8e1c9f
refactor: Fix imports
jcowman2 Sep 14, 2019
88cae2b
refactor(agents): Add error check to InstanceAgentsImpl.registerAgent…
jcowman2 Oct 4, 2019
139235c
Merge pull request #115 from regal/feat-104/prototype-registry
jcowman2 Oct 4, 2019
a6da2f7
feat(agents): Block setting arrow functions as Agent properties
jcowman2 Oct 4, 2019
55619c0
Merge pull request #117 from regal/feat/104/deprecate-arrow-function
jcowman2 Oct 6, 2019
544d507
docs(readme): Update OutputLine API doc
jcowman2 Oct 7, 2019
28694d8
docs(readme): Update Agent API doc
jcowman2 Oct 8, 2019
9989298
docs: API docs and tsDocs for AgentMeta
jcowman2 Oct 9, 2019
bb64af7
docs(keys): Update PK tsdocs and begin API reference for PK
jcowman2 Oct 10, 2019
29f9d06
docs(readme): Add PK.minus to API docs
jcowman2 Oct 10, 2019
82a3089
docs(readme): API docs for PK.equals()
jcowman2 Oct 11, 2019
d0c1046
docs(readme): Partial API spec for PK.value()
jcowman2 Oct 12, 2019
27cdbf1
docs(readme): Complete API reference for PK.value()
jcowman2 Oct 13, 2019
ea3b05f
docs(readme): API docs for PK.index()
jcowman2 Oct 15, 2019
0e9ed7b
Merge pull request #118 from regal/docs/105/prototype-registry-api
jcowman2 Oct 18, 2019
e1130ee
fix(events): Allow `on` to take a TrackedEvent or EventQueue as argum…
jcowman2 Oct 19, 2019
ac70a8a
feat(agent): Remove error if Agent property is arrow function
jcowman2 Oct 26, 2019
cc445d8
Merge pull request #121 from regal/feat/119/remove-arrow-func-error
jcowman2 Oct 26, 2019
98eceed
Merge branch 'stage' into fix/83/tracked-event-infinite-loop
jcowman2 Oct 26, 2019
b86e1f8
test(agent): Add broken unit test to repro bug
jcowman2 Oct 29, 2019
ed05fd3
refactor(events): Remove target property from TrackedEvent
jcowman2 Nov 2, 2019
0efd79f
docs(events): Add docs to TrackedEvent.isTrackedEvent
jcowman2 Nov 2, 2019
d0414d5
revert(events): Target property is necessary to prevent infinite loop
jcowman2 Nov 2, 2019
6c0f2b8
test(events): Add TrackedEvent.then unit test
jcowman2 Nov 4, 2019
83b9608
fix(events): Properly execute nested TrackedEvents (finally)
jcowman2 Nov 7, 2019
c6a939f
Merge pull request #120 from regal/fix/83/tracked-event-infinite-loop
jcowman2 Nov 8, 2019
166076a
Merge branch 'master' into stage
jcowman2 Nov 11, 2019
5c8739c
chore(changelog): Entry for v2.0.0
jcowman2 Nov 11, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -2,4 +2,5 @@ dist*
coverage
.nyc_output
node_modules
.rpt2_cache
.rpt2_cache
.DS_Store
16 changes: 14 additions & 2 deletions .vscode/launch.json
Expand Up @@ -6,14 +6,26 @@
"type": "node",
"request": "launch",
"name": "Mocha All",
"program": "${workspaceFolder}\\node_modules\\mocha\\bin\\_mocha",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}\\**\\test\\**\\*.test.ts"
"${workspaceFolder}/**/test/**/*.test.ts"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"protocol": "inspector"
},
{
"type": "node",
"request": "launch",
"name": "TS Node Playground",
"program": "${workspaceFolder}/node_modules/.bin/ts-node",
"args": [
"${workspaceFolder}/_playground/pg.ts"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,13 @@
# Regal Changelog

## v2.0.0 - "Dakota" (2019-11-11)

* Fix Agents' ability to have methods by building a prototype registry ([#104](https://github.com/regal/regal/pull/104)), ([#82](https://github.com/regal/regal/pull/82)), ([#119](https://github.com/regal/regal/pull/119))
* Update API reference to reflect prototype registry changes ([#105](https://github.com/regal/regal/pull/105))
* Update documentation to use Regal CLI ([#101](https://github.com/regal/regal/pull/101))
* Metadata property for gameVersion ([#97](https://github.com/regal/regal/pull/97))
* Fix infinite loop when an event queue is created ([#83](https://github.com/regal/regal/pull/83))

## v1.0.0 - "Beacon" (2019-02-01)

*First Stable Release* :tada:
Expand Down