Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How updatable is PDF.js using a custom viewer? #7248

Closed
MickL opened this issue Apr 25, 2016 · 3 comments
Closed

How updatable is PDF.js using a custom viewer? #7248

MickL opened this issue Apr 25, 2016 · 3 comments

Comments

@MickL
Copy link

MickL commented Apr 25, 2016

Using a totally customized Viewer, how updatable is the Core and Display Layer over the next years?

Will it still work in the future when replacing all files, except for viewer.js? Or may function names and logic change?

(This may also a good FAQ)

@yurydelendik
Copy link
Contributor

yurydelendik commented Apr 25, 2016

Using a totally customized Viewer, how updatable is the Core and Display Layer over the next years?

We are trying to keep every API we create compatible with 1.0, or at least we are not trying to break or remove on purpose. We will be trying to fix regression if needed. (With 2.0 we are planning to remove global PDFJS support -- no timeline on this.) See also http://semver.org/ -- we did not explicitly say we are doing it, but that's what we do.

Will it still work in the future when replacing all files, except for viewer.js?

We had reports that people replaced pdf.js/pdf.worker.js files for older viewer with success. But we always recommend to update core library and viewer.

Or may function names and logic change?

For 1.x we are not planning to remove/change names. Logic is can be altered if some global variable dependency is used (trying to remove dependency on global state).

Closing as answered.

@yurydelendik
Copy link
Contributor

@yurydelendik
Copy link
Contributor

We had reports that people replaced pdf.js/pdf.worker.js files for older viewer with success.

https://bugzilla.mozilla.org/show_bug.cgi?id=1247266

But we always recommend to update core library and viewer.

Here is the case why #6916

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants