File: CHANGELOG.md

package info (click to toggle)
lua-inspect 3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 140 kB
  • sloc: makefile: 2
file content (39 lines) | stat: -rw-r--r-- 1,446 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
## v3.1.1

* Better handling of LuaJIT's `ctype` and `cdata` values (#34, thanks @akopytov)

## v3.1.0

* Fixes bug: all control codes are escaped correctly (instead of only the named ones such as \n).
  Example: \1 becomes \\1 (or \\001 when followed by a digit)
* Fixes bug when using the `process` option in recursive tables
* Overriding global `tostring` with inspect no longer results in an error.
* Simplifies id generation, using less tables and metatables.

## v3.0.3
* Fixes a bug which sometimes displayed struct-like parts of tables as sequence-like due
  to the way rawlen/the # operator are implemented.

## v3.0.2
* Fixes a bug when a table was garbage-collected while inspect was trying to render it

## v3.0.1
* Fixes a bug when dealing with tables which have a __len metamethod in Lua >= 5.2

## v3.0.0

The basic functionality remains as before, but there's one backwards-incompatible change if you used `options.filter`.

* **Removed** `options.filter`
* **Added** `options.process`, which can be used to do the same as `options.filter`, and more.
* **Added** two new constants, `inspect.METATABLE` and `inspect.KEY`
* **Added** `options.indent` & `options.newline`.


## v2.0.0

* Ability to deal with LuaJit's custom types
* License change from BSD to MIT
* Moved second parameter (depth) to options (options.depth)
* Added a new parameter, options.filter.
* Reimplemented some parts of the system without object orientation