Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Conversation

@pinepain
Copy link
Member

@pinepain pinepain commented Apr 22, 2017

This PR improves exceptions API and add new. It breaks few userland API, however, changes are trivial. For more details see change list below.

  • Add V8\Value::InstanceOf() method;
  • Add V8\ObjectValue::SetNativeDataProperty() method;
  • Add V8\PropertyFilter, V8\KeyCollectionMode and V8\IndexFilter enums;
  • Add property filtering support to V8\ObjectValue::Get{Property,OwnProperty}Names();
  • Consistently expose all well-known symbols on V8\SymbolValue;
  • Setting boolean props on StackFrame with valid type;
  • Remove non-working and non-supporting $attributes argument from V8\StringValue constructor in stubs;
  • * Add V8\ConstructorBehavior and support for it in V8\FunctionTemplate constructor;
  • * Add signature support in V8\FunctionTemplate constructor via $receiver;
  • * Add signature support to Template:SetNativeDataProperty() and ObjectTemplate::SetAccessor() via $receiver;
  • * Remove require $isolate parameter from V8\Value::TypeOf();
  • * Remove deprecated V8\Context::EstimatedSize() method;
  • * Remove deprecated V8\StackTrace\StackTraceOptions;
  • * Remove deprecated V8\StackTrace::AsArray();

* - BC-breaking or potentially BC-breaking changes

pinepain added 21 commits April 18, 2017 00:00
Only isolate that value belongs to can be used, so this parameter is redundant.
@pinepain pinepain merged commit d194ecf into master Apr 22, 2017
@pinepain pinepain deleted the improve-api branch April 22, 2017 18:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants