|
|
|
@ -1,5 +1,94 @@
|
|
|
|
|
# CHANGELOG |
|
|
|
|
|
|
|
|
|
# [# 0.9.0 (2020-06-25) - Move to Organisation, 65% faster execution time](https://github.com/boa-dev/boa/compare/v0.8.0...v0.9.0) |
|
|
|
|
|
|
|
|
|
Feature Enhancements: |
|
|
|
|
|
|
|
|
|
- [FEATURE #414](https://github.com/boa-dev/boa/issues/414): |
|
|
|
|
Implement `Number` object constants (@Lan2u) (@HalidOdat) |
|
|
|
|
- [FEATURE #345](https://github.com/boa-dev/boa/issues/345): |
|
|
|
|
Implement the optional `replacer` parameter in `JSON.stringify( value[, replacer [, space] ] )` (@n14little) |
|
|
|
|
- [FEATURE #480](https://github.com/boa-dev/boa/issues/480): |
|
|
|
|
Implement global `Infinity` property (@AnirudhKonduru) |
|
|
|
|
- [FEATURE #410](https://github.com/boa-dev/boa/pull/410): |
|
|
|
|
Add support for the reviver function to JSON.parse (@abhijeetbhagat) |
|
|
|
|
- [FEATURE #425](https://github.com/boa-dev/boa/pull/425): |
|
|
|
|
Specification compliant `ToString` (`to_string`) (@HalidOdat) |
|
|
|
|
- [FEATURE #442](https://github.com/boa-dev/boa/pull/442): |
|
|
|
|
Added `TypeError` implementation (@HalidOdat) |
|
|
|
|
- [FEATURE #450](https://github.com/boa-dev/boa/pull/450): |
|
|
|
|
Specification compliant `ToBigInt` (`to_bigint`) (@HalidOdat) |
|
|
|
|
- [FEATURE #455](https://github.com/boa-dev/boa/pull/455): |
|
|
|
|
TemplateLiteral Basic lexer implementation (@croraf) |
|
|
|
|
- [FEATURE #447](https://github.com/boa-dev/boa/issues/447): |
|
|
|
|
parseInt, parseFloat implementation (@Lan2u) |
|
|
|
|
- [FEATURE #468](https://github.com/boa-dev/boa/pull/468): |
|
|
|
|
Add BigInt.asIntN() and BigInt.asUintN() functions (@Tropid) |
|
|
|
|
- [FEATURE #428](https://github.com/boa-dev/boa/issues/428): |
|
|
|
|
[Feature Request] - Create benchmark for Array manipulation (@abhijeetbhagat) |
|
|
|
|
- [FEATURE #439](https://github.com/boa-dev/boa/issues/439): |
|
|
|
|
Implement break handling in switch statements (@Lan2u) |
|
|
|
|
- [FEATURE #301](https://github.com/boa-dev/boa/issues/301): |
|
|
|
|
Implementing the switch statement in the new parser (@Lan2u) |
|
|
|
|
- [FEATURE #120](https://github.com/boa-dev/boa/issues/120): |
|
|
|
|
Implement `globalThis` (@zanayr) |
|
|
|
|
- [FEATURE #513](https://github.com/boa-dev/boa/issues/513): |
|
|
|
|
Implement `Object.is()` method (@tylermorten) |
|
|
|
|
- [FEATURE #481](https://github.com/boa-dev/boa/issues/481): |
|
|
|
|
Implement global `undefined` property (@croraf) |
|
|
|
|
|
|
|
|
|
Bug Fixes: |
|
|
|
|
|
|
|
|
|
- [BUG #412](https://github.com/boa-dev/boa/pull/412): |
|
|
|
|
Fixed parsing if statement without else block preceded by a newline (@HalidOdat) |
|
|
|
|
- [BUG #409](https://github.com/boa-dev/boa/pull/409): |
|
|
|
|
Fix function object constructable/callable (@HalidOdat) |
|
|
|
|
- [BUG #403](https://github.com/boa-dev/boa/issues/403) |
|
|
|
|
`Value::to_json()` does not handle `undefined` correctly (@n14little) |
|
|
|
|
- [BUG #443](https://github.com/boa-dev/boa/issues/443): |
|
|
|
|
HasOwnProperty should call GetOwnProperty and not GetProperty (@n14little) |
|
|
|
|
- [BUG #210](https://github.com/boa-dev/boa/issues/210): |
|
|
|
|
builtinfun.length undefined (@Croraf) |
|
|
|
|
- [BUG #466](https://github.com/boa-dev/boa/issues/466): |
|
|
|
|
Change `ToPrimitive()` (`to_primitive()`) hint to be an enum, instead of string (@HalidOdat) |
|
|
|
|
- [BUG #421](https://github.com/boa-dev/boa/issues/421): |
|
|
|
|
`NaN` is lexed as a number, not as an identifier (@croraf) |
|
|
|
|
- [BUG #454](https://github.com/boa-dev/boa/issues/454): |
|
|
|
|
Function declaration returns the function, it should return `undefined` (@croraf) |
|
|
|
|
- [BUG #482](https://github.com/boa-dev/boa/issues/482): |
|
|
|
|
Field access should propagate the exception (`Err(_)`) (@neeldug) |
|
|
|
|
- [BUG #463](https://github.com/boa-dev/boa/issues/463): |
|
|
|
|
Use of undefined variable should throw an error (@croraf) |
|
|
|
|
- [BUG #502](https://github.com/boa-dev/boa/pull/502): |
|
|
|
|
Fixed global objects initialization order (@HalidOdat) |
|
|
|
|
- [BUG #509](https://github.com/boa-dev/boa/issues/509): |
|
|
|
|
JSON.stringify(undefined) panics (@n14little) |
|
|
|
|
- [BUG #514](https://github.com/boa-dev/boa/issues/514): |
|
|
|
|
Clean up `Math` Methods (@n14little) |
|
|
|
|
- [BUG #511](https://github.com/boa-dev/boa/issues/511): |
|
|
|
|
[Call] Usage of "this" in methods is not supported (@jasonwilliams) |
|
|
|
|
|
|
|
|
|
Internal Improvements |
|
|
|
|
|
|
|
|
|
- [INTERNAL #435](https://github.com/boa-dev/boa/issues/435): |
|
|
|
|
Optimize type comparisons (@Lan2u) |
|
|
|
|
- [INTERNAL #296](https://github.com/boa-dev/boa/issues/296): |
|
|
|
|
using measureme for profiling the interpreter (@jasonwilliams) |
|
|
|
|
- [INTERNAL #419](https://github.com/boa-dev/boa/pull/419): |
|
|
|
|
Object specialization (fast paths for many objects) (@HalidOdat) |
|
|
|
|
- [INTERNAL #392](https://github.com/boa-dev/boa/pull/392): |
|
|
|
|
Execution and Node modulization (@Razican) |
|
|
|
|
- [INTERNAL #465](https://github.com/boa-dev/boa/issues/465): |
|
|
|
|
Refactoring Value (decouple `Gc` from `Value`) (@HalidOdat) |
|
|
|
|
- [INTERNAL #416](https://github.com/boa-dev/boa/pull/416) & [INTERNAL #423](https://github.com/boa-dev/boa/commit/c8218dd91ef3181e048e7a2659a4fbf8d53c7174): |
|
|
|
|
Update links to boa-dev (@pedropaulosuzuki) |
|
|
|
|
- [INTERNAL #378](https://github.com/boa-dev/boa/issues/378): |
|
|
|
|
Code Coverage! (@Lan2u) |
|
|
|
|
- [INTERNAL #431](https://github.com/boa-dev/boa/pull/431): |
|
|
|
|
Updates to PR Benchmarks (@Razican) |
|
|
|
|
- [INTERNAL #427 #429 #430](https://github.com/boa-dev/boa/commit/64dbf13afd15f12f958daa87a3d236dc9af1a9aa): |
|
|
|
|
Added new benchmarks (@Razican) |
|
|
|
|
|
|
|
|
|
# [# 0.8.0 (2020-05-23) - BigInt, Modularized Parser, Faster Hashing](https://github.com/boa-dev/boa/compare/v0.7.0...v0.8.0) |
|
|
|
|
|
|
|
|
|
`v0.8.0` brings more language implementations, such as do..while, function objects and also more recent EcmaScript additions, like BigInt. |
|
|
|
|