Skip to content

Commit

Permalink
prepared v10.2 minor release
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoenig committed Nov 8, 2024
1 parent b9b3db6 commit a158c27
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 83 deletions.
80 changes: 0 additions & 80 deletions DEVLOG.md
Original file line number Diff line number Diff line change
@@ -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
83 changes: 83 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion snap.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<script src="src/threads.js?version=2024-11-07"></script>
<script src="src/objects.js?version=2024-11-07"></script>
<script src="src/scenes.js?version=2024-05-28"></script>
<script src="src/gui.js?version=2024-11-07"></script>
<script src="src/gui.js?version=2024-11-08"></script>
<script src="src/paint.js?version=2023-05-24"></script>
<script src="src/lists.js?version=2024-09-16"></script>
<script src="src/byob.js?version=2024-11-06"></script>
Expand Down
2 changes: 1 addition & 1 deletion src/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
@@ -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',
Expand Down

0 comments on commit a158c27

Please sign in to comment.