-
Notifications
You must be signed in to change notification settings - Fork 6
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
CT designed API changes detected #386
Comments
The only content difference between the states is expected: |
Removed in the commits, and I regenerated the API files. Reassigning to @zepumph for a spot check review when convenient. |
Well, https://github.com/phetsims/studio/blob/1c4ebb8386ad66bd8f78d24eed499bca6a4aa62b/js/customizeWrapperTemplateForAction.js#L272-L276 uses the version from simInfo, so I've added it back in. Not sure the best way to proceed, some options:
@zepumph what do you recommend? |
In #390 (comment) @pixelzoom raised some questions which are pertinent to this issue. @pixelzoom said:
|
The version under discussion in this issue is the sim version. For instance, master has this line for natural selection:
That refers to the version of the entire API file, and is not under discussion in this issue except for clarification.
It is the sim version at the time of the API file generation, and is determined by SimInfo.js
As described in #386 (comment), we are trying to see if we can omit this from the API file. For now, I believe we should update it eagerly when the sim version changes in package.json.
For now it is manual. Let's determine whether we can eliminate it before we add tooling around it.
Creating the release branch bumped the version number in master from 1.5.0-dev.8 to 1.6.0-dev.0. Since this is in the initial state, which is tracked, CT identified it as a state change that wasn't in the API file.
We don't have tooling support for this at the moment, let's confer with @zepumph to see if we actually want this data in the state object or if it should be done another way before adding tooling.
Gravity and Orbits specifies |
Over in #387 it seemed like we suppressed a bunch of information, returning |
Great idea, I applied the same strategy and tested that it worked well in studio. @zepumph can you please review? Close this issue is all is well. |
It is considered "API_GENERATION" when during build we create the API json file. Is that important to have? Does studio need this? Or is it only important in the state of the living sim? |
The
This seems useful in data streams and #386 (comment) |
I'm happy you feel that way. It sure is easier. Since you are the studio-customization-state expert, I'm glad to have gotten your opinion. I mentioned it because this looked weird to me at first, and no longer does Ready to close for me, please reopen if you disagree. |
The text was updated successfully, but these errors were encountered: