Skip to content
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

Missing api history #135

Open
DCzajkowski opened this issue Oct 28, 2021 · 6 comments
Open

Missing api history #135

DCzajkowski opened this issue Oct 28, 2021 · 6 comments
Labels
area:docs Related to rendering the documentation ✨ enhancement New feature or request

Comments

@DCzajkowski
Copy link

Old version of the docs supported API history by appending /history to the URL.

For example, from /api/desktop-capturer you could do /api/desktop-capturer/history to get the history of changes of that module.

Are there any plans to implement these pages in the new docs?

@molant
Copy link
Contributor

molant commented Oct 28, 2021

For reference this is what the history looks like for app in the old site:

image

@DCzajkowski, what information are you searching when accessing this page?
I want to know if we should reimplement it as it was or if there is more work we should do.

Thanks!

@DCzajkowski
Copy link
Author

@molant thank you for the screenshot and a quick reply!

Recently, I used it to see at which version a "net" module was introduced.

If I had to point a general use-case I'd say being able to look up documentation for previous versions without the need to go through git.

We are using Electron on an older version due to some incompatibilites with some packages we are using. We may migrate/upgrade soon, but it's still beneficiary to be able to read documentation at the point of our version and see what the changes in particular modules were introduced.

As you know some APIs have been deprecated in newest versions and documentation for these functionalities is pretty hard to find. Maybe there is a way I am not aware of?

Anyway, thanks for taking it into consideration ☺️

@molant
Copy link
Contributor

molant commented Oct 29, 2021

If I had to point a general use-case I'd say being able to look up documentation for previous versions without the need to go through git.

We are working on adding versioned docs:

image

There are still a couple things to polish but they should start showing up soon-ish. Would that be OK?

Recently, I used it to see at which version a "net" module was introduced.

We could add a field in each API that tells you when it was added. Would that solve your use case?
Personally, we could also add when there have been changes (especially breaking). Need to figure out if electron-api-historian can provide that information though.

Happy to chat 1:1 more about this! We know the upgrade process is not always smooth and we want to make it easier!

@DCzajkowski
Copy link
Author

DCzajkowski commented Oct 30, 2021

We are working on adding versioned docs: […] Would that be OK?

I think so, yes 🙂

We could add a field in each API that tells you when it was added.

I think that would be enough, yes, but there may be specific functions added in versions later than the module itself. Something to bare in mind.

I remember Vue docs have this. https://v2.vuejs.org/v2/api/#warnHandler
Here a specific function is marked as "added in x".

Happy to chat 1:1 more about this!

Sure! But I am not sure if I can provide a lot of information. But if you feel like you could benefit from such chat then let's do this!

@dsanders11 dsanders11 added ✨ enhancement New feature or request area:docs Related to rendering the documentation labels Feb 3, 2023
@trulysinclair
Copy link

My software is using Electron v29.x and I would really benefit from seeing something other than just the latest docs. Is there any progress on this?

@bdurrer
Copy link

bdurrer commented Nov 6, 2024

A client forces us to keep an old v22 environment, all I can do is read the blog history and pure guesswork. Having access to old docs, even if only as exported archive, would be really helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:docs Related to rendering the documentation ✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants