diff --git a/DEVLOG.md b/DEVLOG.md index 818df8029..66d7ae27c 100755 --- a/DEVLOG.md +++ b/DEVLOG.md @@ -1,83 +1,3 @@ # Snap! (BYOB) Dev History ## in development: -* **New Features:** - 1. Block instance scripting - * dynamic (scriptable) drop down menus for custom block input slots - * new "scripted" menu option for custom block input slots - * new "When slot (slot) menu clicked" hat block for use inside custom block editors, has to report a list of drop-down menu items - * metaprogramming support for scriptable input slot menus - * custom block instance scripting support - * new "When slot (slot) edited" hat block for use inside custom block editors - * new "set slot (slot) to ..." commmand block for use inside custom block editors in "when (slot) edited" hatted scripts - * new "expand (input) to (n) slots" command block for use inside custom block editors in "when (slot) edited" hatted scripts - 2. OOP - * new "Sprite Method API" library for teaching OOP with dot notation - * OOP library: updated "field ... of (obj)" reporter with a new dynamic dropdown and automatic input slot variadicity - 3. Block instance variables for sprite-local custom blocks -* **Notable Changes:** - * simplified evaluation of generic "When ..." hat blocks, removed time-slice threshold for predicates - * changed "my (attribute)" primitive to report an empty list instead of an empty (scalar) value in case of no existing block, costumes, etc. -* **Notable Fixes:** - * added the "Outlines and Halos" library to the libraries browser -* **Translation Updates:** - * German - -### 2024-11-08 -* blocks: refactored droppability of custom-block definition specific hat blocks -* blocks, gui: prevent custom-block specific hats to be dropped into non-block-editor scripting panes and on sprite-icons in the corral - -### 2024-11-07 -* threads, objects, blocks: simplified evaluation of generic "When ..." hat blocks, removed time-slice threshold for predicates -* threads: fixed #3414 - accessing global variables in slot scripts -* updated dev version -* added the "outlines and halos" library to the libraries browser - -### 2024-11-06 -* byob, blocks, objects, store: added block (-instance) variables to sprite-local custom blocks ("methods") -* updated dev version - -### 2024-11-05 -* blocks, threads: extended "When (slot) edited" event to variadic inputs, fires when a subslot is edited or when the user changes the arity -* threads: turned "set slot" and "expand (input)" to noop when used outside their domain -* blocks: tweaked internal dropdown menus to avoid bugs in user scripted ones -* OOP library: updated "field ... of (obj)" reporter with a new dynamic dropdown and automatic input slot variadicity -* new "Sprite Method API" library for teaching OOP with dot notation -* updated dev version - -### 2024-11-04 -* threads: added access to global custom block instance variables to "When slot ..." scripts inside definitions -* blocks: slightly refactored dynamicMenu() -* German translation update for the new v10.2 blocks -* updated dev version - -### 2024-11-02 -* objects, blocks, byob: new "When (slot) edited" hat block for use inside custom block editors -* objects, blocks, byob, threads: new "set (slot) slot to ..." commmand block for use inside custom block editors in "when (slot) edited" hatted scripts -* objects: changed wordings for slot-based primitives -* threads: changed "my (attribute)" primitive to report an empty list instead of an empty (scalar) value in case of no existing block, costumes, etc. -* objects, blocks, threads: new "expand (input) to (n) slots" command block for use inside custo block editors in "when (slot) edited" hatted scripts -* updated dev version - -### 2024-10-31 -* objects: changed wording for "when ... menu clicked" hat block -* blocks: fixed skipping evaluation of nested reporters for dynamicMenu() -* byob: enabled visible stepping of input menu scripts inside the block editor -* blocks, threads: fully evaluate the custom block's inputs (including reporters) before running the menu-generator script -* updated dev version - -### 2024-10-30 -* objects: changed wording for "when ... menu" hat block -* byob: changed wording in the ui for dynamic menus to "scripted" -* objects: changed wording for "when ... input menu" hat block -* threads: metaprogramming support for dynamic drop down menus -* updated dev version -* blocks: tweaked menuSelectorsMenu() to scan the block editor's current prototype declarations instead of the (changed) definition - -### 2024-10-29 -* new dev version -* threads: fixed a context-binding glitch in invoke() -* byob: dynamic drop down menu option for custom block input slots -* threads, blocks, objects: new "When ... menu is clicked" hat block for use inside custom block editors -* blocks: support for nested dynamic drop down menus -* objects: changed wording for "when ... menu clicked" hat block diff --git a/HISTORY.md b/HISTORY.md index e5430c138..d571ceeb3 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,6 +2,89 @@ ## in development: +## 10.2.0: +* **New Features:** + 1. Block instance scripting + * dynamic (scriptable) drop down menus for custom block input slots + * new "scripted" menu option for custom block input slots + * new "When slot (slot) menu clicked" hat block for use inside custom block editors, has to report a list of drop-down menu items + * metaprogramming support for scriptable input slot menus + * custom block instance scripting support + * new "When slot (slot) edited" hat block for use inside custom block editors + * new "set slot (slot) to ..." commmand block for use inside custom block editors in "when (slot) edited" hatted scripts + * new "expand (input) to (n) slots" command block for use inside custom block editors in "when (slot) edited" hatted scripts + 2. OOP + * new "Sprite Method API" library for teaching OOP with dot notation + * OOP library: updated "field ... of (obj)" reporter with a new dynamic dropdown and automatic input slot variadicity + 3. Block instance variables for sprite-local custom blocks +* **Notable Changes:** + * simplified evaluation of generic "When ..." hat blocks, removed time-slice threshold for predicates + * changed "my (attribute)" primitive to report an empty list instead of an empty (scalar) value in case of no existing block, costumes, etc. +* **Notable Fixes:** + * added the "Outlines and Halos" library to the libraries browser +* **Translation Updates:** + * German + +### 2024-11-08 +* blocks: refactored droppability of custom-block definition specific hat blocks +* blocks, gui: prevent custom-block specific hats to be dropped into non-block-editor scripting panes and on sprite-icons in the corral +* prepared v10.2 minor release + +### 2024-11-07 +* threads, objects, blocks: simplified evaluation of generic "When ..." hat blocks, removed time-slice threshold for predicates +* threads: fixed #3414 - accessing global variables in slot scripts +* updated dev version +* added the "outlines and halos" library to the libraries browser + +### 2024-11-06 +* byob, blocks, objects, store: added block (-instance) variables to sprite-local custom blocks ("methods") +* updated dev version + +### 2024-11-05 +* blocks, threads: extended "When (slot) edited" event to variadic inputs, fires when a subslot is edited or when the user changes the arity +* threads: turned "set slot" and "expand (input)" to noop when used outside their domain +* blocks: tweaked internal dropdown menus to avoid bugs in user scripted ones +* OOP library: updated "field ... of (obj)" reporter with a new dynamic dropdown and automatic input slot variadicity +* new "Sprite Method API" library for teaching OOP with dot notation +* updated dev version + +### 2024-11-04 +* threads: added access to global custom block instance variables to "When slot ..." scripts inside definitions +* blocks: slightly refactored dynamicMenu() +* German translation update for the new v10.2 blocks +* updated dev version + +### 2024-11-02 +* objects, blocks, byob: new "When (slot) edited" hat block for use inside custom block editors +* objects, blocks, byob, threads: new "set (slot) slot to ..." commmand block for use inside custom block editors in "when (slot) edited" hatted scripts +* objects: changed wordings for slot-based primitives +* threads: changed "my (attribute)" primitive to report an empty list instead of an empty (scalar) value in case of no existing block, costumes, etc. +* objects, blocks, threads: new "expand (input) to (n) slots" command block for use inside custo block editors in "when (slot) edited" hatted scripts +* updated dev version + +### 2024-10-31 +* objects: changed wording for "when ... menu clicked" hat block +* blocks: fixed skipping evaluation of nested reporters for dynamicMenu() +* byob: enabled visible stepping of input menu scripts inside the block editor +* blocks, threads: fully evaluate the custom block's inputs (including reporters) before running the menu-generator script +* updated dev version + +### 2024-10-30 +* objects: changed wording for "when ... menu" hat block +* byob: changed wording in the ui for dynamic menus to "scripted" +* objects: changed wording for "when ... input menu" hat block +* threads: metaprogramming support for dynamic drop down menus +* updated dev version +* blocks: tweaked menuSelectorsMenu() to scan the block editor's current prototype declarations instead of the (changed) definition + +### 2024-10-29 +* new dev version +* threads: fixed a context-binding glitch in invoke() +* byob: dynamic drop down menu option for custom block input slots +* threads, blocks, objects: new "When ... menu is clicked" hat block for use inside custom block editors +* blocks: support for nested dynamic drop down menus +* objects: changed wording for "when ... menu clicked" hat block + ## 10.1.9: * **Notable Changes:** * adjusted push-button outlines for bright gui theme diff --git a/snap.html b/snap.html index c444f6ffd..9e8729ac5 100755 --- a/snap.html +++ b/snap.html @@ -20,7 +20,7 @@ - + diff --git a/src/gui.js b/src/gui.js index 5a7a03a8e..ac7c64dc0 100644 --- a/src/gui.js +++ b/src/gui.js @@ -91,7 +91,7 @@ modules.gui = '2024-November-08'; // Declarations -var SnapVersion = '10.2.0-241107-dev'; +var SnapVersion = '10.2.0'; var IDE_Morph; var ProjectDialogMorph; diff --git a/sw.js b/sw.js index b70986326..754b6655d 100644 --- a/sw.js +++ b/sw.js @@ -1,6 +1,6 @@ /*global self, caches*/ /*jshint esversion: 6*/ -var snapVersion = '10.2.0-241107-dev', +var snapVersion = '10.2.0', cacheName = `snap-pwa-${snapVersion}`, filesToCache = [ 'snap.html',