From 1e4ec34a99cc9c2b8ace7758421c2a3e6a7bea6b Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Sun, 29 Mar 2020 18:10:05 +0200 Subject: [PATCH 01/13] Add an empty section to the changelog for the 1.10 release --- index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.html b/index.html index fe20a9f78..ecdb5f741 100644 --- a/index.html +++ b/index.html @@ -2392,6 +2392,11 @@

Change Log

+

+ 1.10.0DiffDocs
+

+

+

1.9.2Jan 6, 2020DiffDocs

From 948f3c9166c40adf00b98545d23ef590a4884a30 Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Mon, 30 Mar 2020 00:31:53 +0200 Subject: [PATCH 06/13] Include #2831 in the changelog and the installation section --- index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.html b/index.html index 23a4e4dc7..4d4944249 100644 --- a/index.html +++ b/index.html @@ -478,6 +478,9 @@

Installation

  • Component component install jashkenas/underscore
  • +
  • + ExtendScript #include "underscore.js" +
  • @@ -2410,6 +2413,9 @@

    Change Log

    implementation of _.iteratee attempted to fall back to the original implementation. +
  • + Restores compatibility with EcmaScript 3 and ExtendScript. +
  • From 361a3520f55607ec79d7d8d1a610a0c0678a20a9 Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Mon, 30 Mar 2020 01:18:42 +0200 Subject: [PATCH 07/13] Include #2826 in the changelog, installation and noConflict sections --- index.html | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 4d4944249..39f24e195 100644 --- a/index.html +++ b/index.html @@ -481,6 +481,12 @@

    Installation

  • ExtendScript #include "underscore.js"
  • +
  • + Rollup If you want to enable treeshaking and you don’t + need the full _ object (with all Underscore functions as + properties), you can import individual functions by name from + underscore/modules/index instead of underscore. +
  • @@ -1953,12 +1959,15 @@

    Utility Functions

    noConflict_.noConflict()
    - Give control of the _ variable back to its previous owner. Returns - a reference to the Underscore object. + Give control of the global _ variable back to its previous + owner. Returns a reference to the Underscore object.

     var underscore = _.noConflict();
     
    +

    + The _.noConflict function is not present if you use the EcmaScript 6, AMD or CommonJS module system to import Underscore. +

    identity_.identity(value) @@ -2416,6 +2425,13 @@

    Change Log

  • Restores compatibility with EcmaScript 3 and ExtendScript.
  • +
  • + Reformats the source code to use EcmaScript 6 export + notation. The underscore.js UMD bundle is now compiled + from underlying source modules instead of being the + source. From now on, Rollup users have the option to import from + the underlying source module in order to enable treeshaking. +
  • From d18f67f503aeb19ff11913e1a0728312646f3f7c Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Mon, 30 Mar 2020 01:28:24 +0200 Subject: [PATCH 08/13] Mention the removal of Component support --- index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 39f24e195..6040ac22f 100644 --- a/index.html +++ b/index.html @@ -475,9 +475,6 @@

    Installation

  • Bower bower install underscore
  • -
  • - Component component install jashkenas/underscore -
  • ExtendScript #include "underscore.js"
  • @@ -2487,6 +2484,10 @@

    Change Log

    Adds support for several environments including: WebWorkers, browserify and ES6 imports. +
  • + Removes the component.json as the Component package + management system is discontinued. +
  • The placeholder used for partial is now configurable by setting _.partial.placeholder. From e1a5518a144b5431f7ad74e3bcf32e0ed6c4fe78 Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Mon, 30 Mar 2020 01:41:19 +0200 Subject: [PATCH 09/13] Bump the version number in the documentation and source code --- index.html | 6 +++--- modules/index.js | 4 ++-- underscore.js | 4 ++-- underscore.js.map | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 6040ac22f..e872befd4 100644 --- a/index.html +++ b/index.html @@ -183,7 +183,7 @@