# `Session.history`

> Contract 2.0.0 · package sha256 `a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e` · generated from `configurator-runtime.d.ts` by `services/onsite-scripter/scripts/build-contract-docs.mjs`; edit the source, not this file.

Property of [`Session`](Session.md) · inherited by [`testing.FakeSession`](testing.FakeSession.md) · stable · since 2.0.0 · called as `session.history`

```ts
readonly history: History;
```

Undo state, undo groups and the history floor.

## Generic-API test (spec 3.1)

| Rule | Result |
| --- | --- |
| 1. Neutral name | pass: `history` names no product |
| 2. A precedent | pass: [ProseMirror history (addToHistory)](https://prosemirror.net/docs/ref/#history) (row `K62`); [Unity Undo](https://docs.unity3d.com/ScriptReference/Undo.html) (row `K62`) |
| 3. Two apps, or labs | pass: 22 apps (ledger: app-04c2774145, app-4762caacdc, app-f9a32142f1; fleet cross-check: app-04c2774145, app-37356bf09f, app-4762caacdc, app-4f16d2f6da, app-510d750508, app-59c5b5751e, app-b362a81c85, app-b4ae2fce25 and 14 more) |
| 4. The cheaper fix first | decided per need in Appendix B: rows `K62` at tier stable (a member only where no rule, data, asset or app code serves the need) |
