-
Notifications
You must be signed in to change notification settings - Fork 671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JerryScript 2.0 #2213
Comments
Which ones are those? Quick search for "deprecated" through the code base revealed:
Anything else (other than the "old"/current error flag APIs)? |
Mostly these. Maybe the parse variant where the source is not provided, but that is not necessary. We should emphasize that pass source info if available, and pass NULL if not. It will be a much smaller scope API rework that JerryScript 1.0. |
I've got a few suggestions for extra API functions/improvements:
please note I'm not sure how widely they would be used or needed. |
(IMHO) If we want to remove functions we should mark them as obsolete as a first step. This way we can (hopefully) notify the users that there will be a bigger change. Related to this I think we should consider writing a migration guide or at least a change list between v1 and v2. |
Snapshot generation API rework #2259 Lets just collect the API rework patches here, and later we can write a changelog using these references. |
Snapshot executing API rework #2270 |
Jerry parse rework: #2282 |
Rename the |
Rename the |
Replace the jerry_value_set_error_flag function with jerry_create_error_from_value #2367 |
Add operational mode for jerry_gc API call. #2385 |
Replace jerry_value_set_abort_flag with jerry_create_abort_from_value #2411 |
would 2.0 be a LTS version? |
Remove jerry_get_arg_value auto-conversion function: #2425 |
We only do backward incompatible changes before releases. So yes, after these are landed, there will be no large change for a long time. |
Simplify source evaluation options. #2431 |
Remove character pointer typedefs. #2492 |
Remove deprecated native handle support. #2496 |
Merge instance into context #2501 |
Snapshot API change: #2507 |
We use JerryScript in our products, and we need to rely on an officially released version. But version 1.0 is too old to meet the demand, and we expect the community to release version 2.0 as soon as possible. Do you have a release plan in the near future? |
@wangzhikang123 Admittedly, the releasing process of the project has room for improvement. But still, "expect" is a somewhat strong word. Moreover, if you are using the project in products (which is great!), don't hesitate to take part in the public development of the project by contributing back improvements or outstanding bug fixes. Please, also refer to the governance wiki page ("expect" vs meritocracy). |
JerryScript 2.0 is out. You can find the release here: https://github.com/jerryscript-project/jerryscript/releases/tag/v2.0 |
It would be good to release JerryScript 2.0 this year. No specific deadline so far.
What we should do before that is reworking the API. Some ideas:
The text was updated successfully, but these errors were encountered: