Skip to content

Releases: website-local/mdn-local

0.4.5

06 Oct 06:31
Compare
Choose a tag to compare

Changes

Processing

Misc

  • Many other npm deps updated

Full Changelog: 0.4.4...0.4.5

sha256sum

7583ceedf3fcc5a1d8012caaafe156ca477521a672c38a6d0f9d8e4c35f18797  developer.mozilla.org_20241005_en-US.7z
317df02f57c81264f046e419708a63b63acaa10fbd6326026b85a30bb5050278  developer.mozilla.org_20241005_zh-CN.7z

sha1sum

1aa73b53dd45e9ba15df3ad7ccd53cdd0e4c5e4d  developer.mozilla.org_20241005_en-US.7z
0ed94195140abf2aeb86a68e96678f401684ea5d  developer.mozilla.org_20241005_zh-CN.7z

Note

  • Do not expect this to be very complete, many old docs got removed after upgrading to yari.
  • A video was replaced into smaller alternative, get it back from the original link or here if needed.
  • Fully made on CI

Known issues

0.4.4

04 May 13:18
Compare
Choose a tag to compare

Changes

Summary

  • Initial support on changed ui
  • Better styling

Downloader

Processing

Misc

Full Changelog: 0.4.3...0.4.4

sha256sum

5d04a11c60440b836a1ff36f5c3eda2b2a7bf478bb2242a6b515759adfb917fe  developer.mozilla.org_20240503_en-US.7z
78d546033141de9caf280718b55288db771fc7e3fcf0d9fec1accf1825598adb  developer.mozilla.org_20240503_zh-CN.7z

sha1sum

ca8a6f5fa448cbce406a7138a0a5bcc821f67783  developer.mozilla.org_20240503_en-US.7z
daf67048566c399c462fdd89cd2031f23570fbba  developer.mozilla.org_20240503_zh-CN.7z

Note

  • Do not expect this to be very complete, many old docs got removed after upgrading to yari.
  • A video was replaced into smaller alternative, get it back from the original link or here if needed.
  • Fully made on CI

0.4.3

03 Mar 12:23
ed6baa3
Compare
Choose a tag to compare

Changes

Summary

  • Initial content for MDN Curriculum
  • Better browser compatibility
  • Better styling

Processing

Misc

Full Changelog: 0.4.2...0.4.3

sha256sum

dc75eea9c69b1e00cb84352852832a5511a283398db324d0ff5b3727837f9ee7  developer.mozilla.org_20240303_en-US.7z
a68b3c42e8eef884f4dc331f91b38811ddd9449dafa910cbc08e469e2c3b5822  developer.mozilla.org_20240303_zh-CN.7z

sha1sum

9d33d7d09253fc5a29cd371d9f1596cdadb2be0b  developer.mozilla.org_20240303_en-US.7z
06cd8fb39b63c75c7c61edd2d5ff461a103fa9eb  developer.mozilla.org_20240303_zh-CN.7z

Note

  • Do not expect this to be very complete, many old docs got removed after upgrading to yari.
  • A video was replaced into smaller alternative, get it back from the original link or here if needed.
  • Fully made on CI

0.4.2

03 Oct 12:24
Compare
Choose a tag to compare

Changes

Summary

  • Scroll to highlight on sidebar
  • Better browser compatibility
  • More resource included

Downloader

Processing

Misc

Full Changelog: 0.4.1...0.4.2

sha256sum

fa29a2e3a9b01fa1cca76113f8a8ce1a32de91592013493f599b85e96dc436fe  developer.mozilla.org_20231003_en-US.7z
ca1c383f8b5a0939e2791e650a832359d7adc2a1d0044585fdefd8590f6a8541  developer.mozilla.org_20231003_zh-CN.7z

sha1sum

f777e4dba655f9a38ae91d0539ebe386333a66be  developer.mozilla.org_20231003_en-US.7z
96ce86b310f1d1088c00d87a431e1f81802baa79  developer.mozilla.org_20231003_zh-CN.7z

Note

  • Do not expect this to be very complete, many old docs got removed after upgrading to yari.
  • A video was replaced into smaller alternative, get it back from the original link or here if needed.

0.4.1

29 Jul 07:52
ba5ca41
Compare
Choose a tag to compare

Changes

Summary

  • First build packaged and created on ci
  • Initial playground support for inline examples
  • Style fix for icons for file: protocol

Downloader

Processing

Misc

Full Changelog: 0.4.0...0.4.1

sha256sum

451fa9d418b5ea7f8ab750cb813ef97ae1ec940416840391334dcbcbfae268be  developer.mozilla.org_20230729_en-US.7z
55e83dc944f2b58c6326dc0b39c0a5a5f2bf4737993bbe0ee14584c567231590  developer.mozilla.org_20230729_zh-CN.7z

sha1sum

abc340bfc10380801922188986613cb033972e2b  developer.mozilla.org_20230729_en-US.7z
83e0636bc97d17670cdeff3a595a6fc0995caccb  developer.mozilla.org_20230729_zh-CN.7z

Note

Do not expect this to be very complete, many old docs got removed after upgrading to yari.

0.4.0

09 Apr 08:27
Compare
Choose a tag to compare

Changes

BREAKING CHANGES

Downloader

Processing

Misc

Full Changelog: 0.3.1...0.4.0

sha256sum

e2a14fc36dce2c4947f8c1b1e784e62dbf4412570f729fe680c8c71bc5fce1e2  developer.mozilla.org_20230409_en-US.7z
c3b80e1bb249b342b9473067620a79ff892c947e3f216c9636d711f44145fb2f  developer.mozilla.org_20230409_zh-CN.7z

sha1sum

76d8e36d8980cbb2b7f09a853224dfd4fa435d08  developer.mozilla.org_20230409_en-US.7z
77e002a6136648274ebcbb2f66d379c851aeb718  developer.mozilla.org_20230409_zh-CN.7z

Note

Do not expect this to be very complete, many old docs got removed after upgrading to yari.

0.3.1

26 Feb 13:07
Compare
Choose a tag to compare
0.3.1 Pre-release
Pre-release

Changes

Downloader

  • detect-link-type: add some special cases
  • mdn: use a dummy placeholder for index page

Processing

  • mdn: remove elements from ui (#628)
  • mdn: remove recent contributions
  • mdn: update the compatibility table (#629)
  • mdn: render the compatibility table
  • mdn: hide some stuff in the compatibility table
  • mdn: update the ui scripts of the compatibility table (#630)
  • mdn: fix icon of the compatibility table
  • mdn: better error handling of compatibility tablemdn: fix compatibility table rendering
  • inject: initial support for theme-switcher (#782)
  • inject: implement menu for small-width device
  • inject: hide Article actions button
  • inject: implement left sidebar (#784)
  • inject: always scroll left sidebar into view

Misc

  • redirect-url: remove constant condition
  • npm: drop @types/mkdirp
  • test: import urijs
  • npm: bump version
  • mdn: better log of compatibility table

Full Changelog: 0.3.0...0.3.1

sha256sum

3eec963a12341cb65100f8137e593323396936780c87b35b6f925b1f24ad8b8f  developer.mozilla.org_20230226_en-US.7z
7289084bbf60318447ebac306c36ce7737e9a4830688c299bce752051514aaa4  developer.mozilla.org_20230226_zh-CN.7z

sha1sum

fce85d106466b314496d41e47d67ee2d8bc1be9a  developer.mozilla.org_20230226_en-US.7z
3803e099e50927246d0c71270ec7882f7661ad27  developer.mozilla.org_20230226_zh-CN.7z

Note

Do not expect this to be very complete.

Known issue

Icon would lost when double-click html files to open them in file protocol, serve it with any http server and visit it over http protocol and icons would be displayed correctly. (#785)

0.3.0

17 Jan 12:01
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release

Changes

BREAKING CHANGES

  • mdn: reimplementing mdn ui #193
  • infra: split scraper of non-mdn websites #310
  • build(deps): bump website-scrap-engine from 0.2.0 to 0.3.0
  • build(deps): bump website-scrap-engine from 0.3.2 to 0.4.0
  • build(deps): bump website-scrap-engine from 0.4.0 to 0.5.0

Downloader

  • mdn: manually fallback 404 to en-US #196
  • mdn: download search-index.json #372
  • options: update the default user agent #363
  • default-initial-url: remove docs/Mozilla/Tech
  • mdn: update name of the cookie #447
  • download: remove duplicate code
  • download: optional prefer ipv6 record
  • process: download from cdn.jsdelivr.net

Processing

  • process-html: replace external scripts with placeholder
  • nodejs: hide a link
  • mdn: manually rendering the compatibility table #194
  • mdn: inject style of old compatibility table #193
  • mdn: remove mdn scripts #179
  • mdn: cleaning up process-html #195
  • nodejs: adapt for new redirect page
  • mdn: remove on-github element
  • mdn: add process-yari-data #197
  • mdn: refactor process-html
  • mdn: process yari data and fill the compatibility table to html #194
  • mdn: contributors.txt should not be parsed as html #205
  • mdn: move injected style and script #207
  • mdn: remove a polyfill
  • mdn: update favicon links #211
  • mdn: download source maps #201
  • mdn: yari bcd case insensitive string comparison for id
  • mdn: adapt for yari lowercase id #179
  • mdn: hide the search box
  • mdn: parse gzip compressed sitemap #214
  • mdn: handle runtime hash change
  • mdn: process resources at mdn.mozit.cloud #208
  • mdn: update style for old compatibility table #179
  • mdn: ignore querySelector errors
  • mdn: update yari browser-compatibility-table
  • mdn: log resource url of replaced external resource and add icon of external link for yari
  • mdn: process new compatibility table warning introduced in yari
  • nodejs: do not align if content not matching
  • electron: fix a malformed link
  • nodejs: add a workaround for broken links
  • electron: remove some elements
  • nodejs-cn: redirect more incorrect links
  • nodejs-cn: implement js-flavor-selector
  • nodejs-cn: implement dark mode
  • mdn: click page or blur to close header menu #360
  • mdn: remove some elements
  • mdn: process the new hydration script #359
  • mdn: update the compatibility table #358
  • mdn: download scripts from cdnjs.cloudflare.com #361
  • nodejs-cn: fix active link
  • electron: download from cdn.jsdelivr.net
  • nodejs-cn: option to download from alternative path
  • mdn: update types for browser-compatibility-table
  • mdn: update browser-compatibility-table for preview browsers
  • mdn: update browser-compatibility-table for deno
  • mdn: process it and add referenced url from search-index.json #372
  • mdn: remove ga.js
  • process-html: keep the copyright notice
  • mdn: remove new hacker news

Misc

  • types/cheerio: fix type check for TagElement
  • npm: update repository
  • npm: update version
  • npm: remove package @types/cheerio
  • Readme: update
  • typescript: prefer type only import
  • mdn: refactor inject.js
  • npm: remove @types/json5 #230
  • package-lock-resolved.js: update
  • mdn: remove duplicated code
  • fix: website-scrap-engine import
  • mdn: remove unused var
  • mdn: fix type conflict with new cheerio
  • mdn: upgrade to typescript 4.4
  • ci: run tests on nodejs 16
  • test: adapt for jest 27 and ts-jest 27
  • test: migrating to eslint v8 and typescript-eslint v5 #473
  • package-lock-resolved: process registry.npmmirror.com

Full Changelog: 0.2.1...0.3.0

sha256sum

73269d37f8872a79d6da7f7fad251bb5aade97105a89f2c13b42bc2b1dd281f0  developer.mozilla.org_20220116_en-US.7z
c844bd8b33506c48c2cefcd30f92c1c0efbc8e3aa49d646538d3e25e1d425294  developer.mozilla.org_20220116_zh-CN.7z

sha1sum

b3e8167fac74b458cf5eea7a57fa1eebd2e30dc0  developer.mozilla.org_20220116_en-US.7z
7d498f4fb12e3fb16fea7af12567fbe8b8d47c48  developer.mozilla.org_20220116_zh-CN.7z

Note

Do not expect this to be very complete.

0.2.1

05 Dec 10:48
Compare
Choose a tag to compare

Changes

Downloader

  • mdn: exclude more large videos

Processing

  • mdn: skip incorrectly parsed url
  • mdn: add a workaround for firefox
  • vue: remove a workaround
  • mdn: remove auth-modal from html
  • process-react-data: filter out more string catalogs
  • mdn: remove a banner
  • nodejs-cn: redirect more incorrect links
  • npm: transform mirrored resolved url
  • nodejs-cn: add more 404 redirects
  • interactive-examples: process escaped html and inline css code
  • process-external: refactor
  • nodejs-cn: update inject.css
  • mdn-process-html: replace external images, audios, and videos with links
  • redirect-url: redirect bad url nested in quotes
  • electron-js: add a image host
  • process-html: add comment
  • redirect-url: do not redirect jsi18n
  • redirect-path: replace invalid path
  • process-react-data: refactor stringCatalog processing

Misc

  • process-react-data: eslint fix
  • typescript: fix type of cheerio 0.22.22
  • npm: update
  • github: enable dependabot
  • mdn-merge-samples: copy resources referenced by copied html
  • mdn-merge-samples: migrate to typescript
  • mdn: unit tests
  • ci: drop support of node.js 10.x
  • mdn-local: run unit tests via ci

sha256sum

dc01bf23d8d96d6b9b895c520eda126c05d887028c23d06c65d8e349ea7cdfea  cn.vuejs.org_20201109_zh-CN.7z
dfa7b9eb1bd47456b373157035dd05f01f420e19eab38e27a35bf806cdea0da6  cn.vuejs.org_20201202_zh-CN.7z
42e72b95af2a3e4373a5ba1f306a3775693b0a61a558129e7af8e239fc5a0ff3  developer.mozilla.org_20201202_en-US.7z
8e65e34eb95b2f781e3b431a36f6cc3c19c8ab8ffaeff2c874f20a34a72f43b0  developer.mozilla.org_20201202_zh-CN.7z
38f77c56a24c01796d8f3c32919be35e9b83c3bb09516599cc636a35428f8fcd  mdn-video-pack.7z
c42e219cd0a8b75910b4f7cea0967bc8f4eccb9bb804ed4ac2bb66428322b278  nodejs.cn_14.12.0_20200925_zh-CN.7z
61eb2996ec44067ab52e85b8c9e221b811a96e63923d0e185cf0623022d34c5f  nodejs.cn_14.13.1_20201013_zh-CN.7z
7f6841b28b725a7f2ca93ac13a549f5ac113ad62d9e7fa1a8266c28a9a930a21  nodejs.cn_14.14.0_20201102_zh-CN.7z
1c6d534ea2ee428629b5c684a76f8916fcdaebf2893fc2ccc4014a061d54ce4c  nodejs.cn_14.15.0_20201105_zh-CN.7z
67a60f4fa517e32cb283ea9ced34ffc6aa74cf4ab3449c8a58e4816c2902a5b3  nodejs.cn_14.15.1_20201124_zh-CN.7z
cefb91539a0e62adf546d0f5a7d4846231caae934381550d3599a5d233edcad3  nodejs.cn_14.6.0_20200728_zh-CN.7z
04c823dc411a6eb52c89304812bb0df1d81ddeb0ea67543361d4004b25f152c9  nodejs.cn_14.8.0_20200831_zh-CN.7z
a05a1ddfdeda7eb335ccdd7a6414d2e3d270ac657512b9105b2188a29cbe1dc9  nodejs.cn_14.9.0_20200905_zh-CN.7z
bdfa534715111a2354462a313decbef4377bb2cccb84a668ece156e8c35f5f01  www.electronjs.org_10.1.0_20200831_en-US.7z
78639af26a6ccd763a3b5afd44a7022a74c2dccd2b3cb2a5cbc8c72ffd68b887  www.electronjs.org_10.1.0_20200831_zh-CN.7z
71bbef044cc43ab072e67cd6c7e7c4b6f4eb289c3686b151c97723ee0930f8a7  www.electronjs.org_10.1.3_20201013_en-US.7z
b0ab6d04e7ae5c9998f12b0c1460e036b0c97b45bf55e533a58ced8b1e9f71d0  www.electronjs.org_10.1.3_20201013_zh-CN.7z
0e0c12934894dd461ea1158dab869c2bbe8a3a0cb2a615931519e17cf1c3a188  www.electronjs.org_10.1.5_20201109_en-US.7z
1ce91fd6a264d0ddf15c579fec46f5d115cedd98a633d7513f0c35cf75cab021  www.electronjs.org_10.1.5_20201109_zh-CN.7z
30136ffcc7e39746f6d4444740a6337ca61a34b9b2ef3ba5b70570c3b6b623b1  www.electronjs.org_11.0.1_20201120_en-US.7z
c9837b04abfdde9ce5152375d267cd98aeb5c6af0ee081541decc0fc388b7783  www.electronjs.org_11.0.1_20201120_zh-CN.7z
b5c46a5da4858f52bdc472e387407d196ac08b326bf3054b45b924fda63b2f60  www.electronjs.org_11.0.3_20201202_en-US.7z
74f8b09a972afc8fbe0be0bbdc7b14a3076dc9cdb3979545a4bfddbf00a004af  www.electronjs.org_11.0.3_20201202_zh-CN.7z
0e742f3531cc03a9857816f182d792bc07fabb5d9e890535b23bf00ee5d5be1d  www.electronjs.org_9.1.1_20200728_en-US.7z
3592626eaeb5bd355a29f3366af24602a1aa41a14600ef4e823a9f9ca190ddd5  www.electronjs.org_9.1.1_20200728_zh-CN.7z
26c07f1958bdc4b78dfdedb40c845c5a10144f38a6e75dfbf3ac11e7d0a78549  www.electronjs.org_9.2.0_20200813_en-US.7z
0641c8305fee49710783341c844b7472ee15344d8d2952850444df4e248e40e6  www.electronjs.org_9.2.0_20200813_zh-CN.7z

Note

  • some images in mdn package are compressed by leanify
  • large videos in mdn package is replaced by smaller ones, you can manaully restore them from mdn-video-pack.7z

0.2.0

23 Jul 12:19
Compare
Choose a tag to compare

Changes

BREAKING CHANGES (#51)

  • mdn-local: migrate to website-scrap-engine

Downloader

  • download: add experimental vue.js downloader
  • adjust-concurrency: typo

Processing

  • process: skip link to self
  • link: fix empty path
  • detect-link-type: fix extension extracting
  • redirect-path: add readystatechange case
  • redirect-url-after-fetch: drop redirected link for non-mdn url
  • detect-link-type: fix detecting resources from sitemap
  • redirect-path: fix bad link to Microsoft_Internet_Explorer
  • redirect-url: correctly remove search
  • redirect-path: add redirect

Misc

  • search: move out to standalone repo (#52)
  • search: adapt for new header and search box
  • package.json: update deps
  • vue.js: download some sub-domains
  • nodejs-cn: fix 2 more 404s
  • build(deps): bump lodash from 4.17.11 to 4.17.19
  • new naming rule for packages: {hostname}[_{version}]_{yyyyMMdd}_{locale}
    • yyyyMMdd marking the date download starts.

sha256sum

bb65369ff70a8b2d2fb50327f763e7bcc0deb48fd193f54f46b5b7d82fc00460  cu.vuejs.org_20200721_zh-CN.7z
3e28f038f120c758ed772d58450c852e6275b20f6d4fc8e42065faae5f349f32  developer.mozilla.org_20200722_en-US.7z
5a81c6c950e286534b0145ec300ac4115dd1630c104bcfaebf0358ede47bdfa0  developer.mozilla.org_20200722_zh-CN.7z
da73df9f40f1216f91b4404829da58fcc249930137871e93abe0548369990c57  nodejs.cn_14.4.0_20200619_zh-CN.7z
e856246b0c1eb36a0f7c3ee27fa4a560403992b888162998b10cae5e79728f0d  nodejs.cn_14.5.0_20200722_zh-CN.7z
2ca6620aaea40b7cd3d516936db36900bd56ffa5e872f4ce959ac7605464a489  www.electronjs.org_20200721_en-US.7z
100c925ec6cf170adbd5f322e600189b91f62147a38148ab49c12ea03877525a  www.electronjs.org_20200721_zh-CN.7z

Note

  • some images in mdn package are compressed by leanify
  • large videos in mdn package is replaced by smaller ones, you can manaully restore them from mdn-video-pack.7z