-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Release a new version #11495
Comments
… dependency: ...` warnings from Webpack Since bundlers, such as Webpack, cannot be told to leave `require` statements alone we are thus forced to jump through hoops in order to prevent these warnings in third-party deployments of the PDF.js library; please see [Webpack issue 8826](https://github.com/webpack/webpack) and libraries such as [require-fool-webpack](https://github.com/sindresorhus/require-fool-webpack). *Please note:* This is based on the assumption that code running in Node.js won't ever be affected by e.g. Content Security Policies that prevent use of `eval`. If that ever occurs, we should revert to a normal `require` statement and simply document the Webpack warnings instead.
Hello, Thanks. |
I would say that only the third point really needs fixing to avoid manual work in the release process. If that is fixed, we can make the release. |
Once the above point is the only thing remaining, and depending on the complexity/time needed to actually address it (since it probably requires Brendan's help), should/could we consider doing the required clean-up manually (for this release too) such that the new release isn't unnecessarily delayed? |
Yes, I'm fine with that if @brendandahl can do the fixup afterwards like last time. |
After this release[1], the following diff ought to fix the https://mozilla.github.io/pdf.js/getting_started/ page: diff --git a/docs/contents/getting_started/index.md b/docs/contents/getting_started/index.md
index 02618e82..eb49e4c8 100644
--- a/docs/contents/getting_started/index.md
+++ b/docs/contents/getting_started/index.md
@@ -49,6 +49,9 @@ Before downloading PDF.js please take a moment to understand the different layer
<a type="button" class="btn btn-warning HIDDEN_CLASS" href="https://github.com/mozilla/pdf.js/releases/download/vBETA_VERSION/pdfjs-BETA_VERSION-dist.zip">Beta (vBETA_VERSION)</a>
</span>
-->
+ <span class="GROUP_CLASS">
+ <a type="button" class="btn btn-warning HIDDEN_CLASS" href="https://github.com/mozilla/pdf.js/releases/download/vBETA_VERSION/pdfjs-BETA_VERSION-dist.zip">Beta (vBETA_VERSION)</a>
+ </span>
</div>
<div class="col-md-4">
<h3>Prebuilt (ES5-compatible)</h3>
@@ -63,7 +66,7 @@ Before downloading PDF.js please take a moment to understand the different layer
-->
<span class="GROUP_CLASS">
<a type="button" class="btn btn-primary" href="https://github.com/mozilla/pdf.js/releases/download/vSTABLE_VERSION/pdfjs-STABLE_VERSION-dist.zip">Stable (vSTABLE_VERSION)</a>
- <a type="button" class="btn btn-warning HIDDEN_CLASS" href="https://github.com/mozilla/pdf.js/releases/download/vBETA_VERSION/pdfjs-BETA_VERSION-dist.zip">Beta (vBETA_VERSION)</a>
+ <a type="button" class="btn btn-warning HIDDEN_CLASS" href="https://github.com/mozilla/pdf.js/releases/download/vBETA_VERSION/pdfjs-BETA_VERSION-es5-dist.zip">Beta (vBETA_VERSION)</a>
</span>
</div>
<div class="col-md-4"> [1] Eventually, these hacks can be removed and the code reduced to only the commented-out sections. |
Hi @timvandermeij,
|
The new release is made. |
@timvandermeij Thanks a lot for pushing this over the line! |
You're welcome! It's a nice release and I'm glad that the release process worked better this time; |
any updates on when the latest version will be available on NPM (I still see 2.3.200) |
2.3.200 is the latest version. The 2.4 release is a beta. You can use the |
thanks for clarifying! |
The following blockers are identified for this:
The text was updated successfully, but these errors were encountered: