Document since when a particular API / module / config is available ( date and release version)
pm-harshad-mane opened this issue · 3 comments
Our documentation is pretty neat but does not mention when a new config-param is supported by Prebid core / module.
Having this information will help publishers to understand whether the config is supported in their live version...
Without this information, developers need to dive into code to find respective config supporting code.
That's a very good point. In #4541 I'll collect requirements if we would switch to another static site generator that solves issues that emerged in the past years.
Thanks @muuki88
As a bit of cautionary defense - as useful as it might be, curating this information is not trivial. This task falls into the "easier-said-than-done" category. Doc reviewers are going to have to have to have a place to put the info and will need to remember to enforce it. The hard part is that any version placed into the document draft is provisional, and will need to be updated when it's actually released.
If Muki doesn't come up with a better one, here's a suggested approach:
- when there's a new param for core or an existing component, an expected version should be added to the appropriate table in the description field with an inline note: "DRAFT_VERSION"
- when there's a DRAFT_VERSION mentioned in a document, a new "needs version" label should be applied to remind the docs team to scan the document and update the version as needed.
- For Prebid Server and SDK, this will be more difficult because there are two platforms for each which can receive different versions at different times.
- for every type of file (pbjs bid adapter, analytics adapter, user id module, rtd module) a new "pbjs_version" metadata field. This should hold the PBJS version it was released with. Again, the "needs version" label should be applied because delays can happen in actual review and merge
- similar for Prebid Server bid adapters except the metadata fields should be "pbs_go_version" and "pbs_java_version". So yes, many adapters could have 3 versions.