Skip to content

3.0 "Judicious Pedant", 2016-05-19

Latest
Compare
Choose a tag to compare
@dimonomid dimonomid released this 19 May 09:46
· 160 commits to master since this release
  • Error reporting improved significantly:
    • Added complete stack traces, with filenames and line numbers
    • When non-callable value is called, v7 gives some context instead of plain "value is not a function"
  • All build flags are documented
  • C API changed:
    • Getting C entities from JS values (v7_val_t):
    • v7_to_number() -> v7_get_double()
    • v7_to_boolean() -> v7_get_bool()
    • v7_to_cstring() -> v7_get_cstring()
    • v7_get_string_data() -> v7_get_string()
    • v7_to_foreign() -> v7_get_ptr()
    • These functions now take the v7 argument:
      • v7_mk_number()
      • v7_get_double()
      • v7_mk_boolean()
      • v7_get_bool()
      • v7_mk_foreign()
      • v7_get_ptr()
    • Added v7_get_int()
    • v7_mk_undefined() is deprecated, use the macro V7_UNDEFINED instead
    • v7_mk_null() is deprecated, use the macro V7_NULL instead
  • Added MSP432 CCS projects for v7 examples
  • Implemented v7 user data and destructors
  • Implemented Object.isFrozen() and Object.isSealed()
  • Bug fixes and refactoring