inspect.lua/CHANGELOG.md

44 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2021-11-12 12:11:02 +00:00
## v3.1.2
* DEL character is properly escaped in strings (#49, thanks @4mig4 and @LoganDark for the bug report)
2018-01-02 12:15:24 +00:00
## v3.1.1
* Better handling of LuaJIT's `ctype` and `cdata` values (#34, thanks @akopytov)
2016-04-10 18:54:14 +00:00
## 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.
2015-11-28 13:10:17 +00:00
## v3.0.2
* Fixes a bug when a table was garbage-collected while inspect was trying to render it
2015-11-21 16:23:34 +00:00
## v3.0.1
* Fixes a bug when dealing with tables which have a __len metamethod in Lua >= 5.2
2014-09-21 09:39:20 +00:00
## 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
2013-09-15 20:22:34 +00:00
* 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