Releases: snap-blocks/snapblocks
Releases · snap-blocks/snapblocks
v1.9.0
v1.8.2
Fixed
- Block prototypes defaulting to Japanese translation
- Block highlighting (+/- before blocks)
- Fix viewport height on single scratch 3 define block (pulled from scratchblocks).
- Default icon color is not affected by zebra coloring
- Block wrapping in scratch 3 block prototype
- Stacked comments breaking
- Multiline comment with // not being bolded
v1.8.1
Additions
- Allow the use of
@<:>(each can be used in any order) as a shortcut for@delInput @verticalEllipsis @addInput
Changes
- Make scratch3
@delInput,@verticalEllipsisand@addInputbigger.
Fixes
- Fixed Scratch translations (I haven't gotten to adding snap translations yet)
- Fix snap round input padding
- Fix unknown santa hats
- Add "compiled"
(@blitz find first item (() @>) in @list)
v1.8.0
Additions
- Santa hats
Just usesantaorsanta-{hat name}. The available hat names are: hat, trumpet, star, candles, gift, pretzel, letter, train, and house - Add
santaoption to enable santa hats by default
Fixes
- Fix upvars
- Fix snap spacing
- Fix scratch2 rings
- Make snap rings look better
- Allow icons to be in variable names
- Fix arrow icons in scratch2 and scratch3 styles
- Make loop icon respect zebra coloring
v1.7.1
Changes
- Remove background of c-shapes in hat blocks because of the snap 10.3.1 update
v1.7.0
Additions
@infinityicon@cubeand@cubeSolidicons- Condition hat blocks with
:: condition - Background for c-slots in hats
Changes
- Allow
when slot [ V] signals [ V]as well aswhen slot [ V] gets [ V].
Fixes
- Rename "gets" to "signals" in
when [ V] signals [ V](well, you can still use "gets") - Fix snap flag icon
- Fix scratch3 input roundness
- Fix snap input width
- Fix empty rings
- Fix rings in rings
- Fix reporter x position in upvars and rings in scatch2
- C-slots in hat blocks
- Update snap local pin position
- Set flat design contrast to new contrast in snap 10.3.0
v1.6.1
Additions:
- Added new snap 10.2 blocks
- Comment word wrapping
Changes:
- Snap obsolete color is now grey (other) for parity with snap.
Fixes:
- Fixed comments in c-slots
- Backslash before
Vin inputs will cancel dropdown. - Small visual fixes
Full Changelog: v1.6.0...v1.6.1
v1.6.0
Added
- Multiline comments (which allows for accurate comments). You can create them by using
/* text /*. For example/* multiline comment */ block /* multiline comment */ - Added local blocks by added
:: localto a block. - Added string / number input text formatting.
[`monospace`] ([italic] v) - Larger text inputs
[{hi}] - Green flag inside input
[[__shout__go__]](it can be escaped to get this as text) - Added
resetoverride, which skips all block detections, effectively "resets" the block to it's undefined state. - Finally got every single icon from snap into snapblocks (too many to list here).
Changed
- Multiline extension blocks in scratch 3 style will have each line start after the line after the extension icon (just test it out, and you'll see what I mean)
Fixed
- Backslash duplicating label part
- Comments showing spaces
- Icon sizes
- More errors and minor stuff
There's probably more stuff that I can't remember right now.
Full Changelog: v1.5.0...v1.6.0
v1.5.0
Additions
- You can just type
pause allinstead ofpause all @pause. - Added
<> primitive []block. - Added
(compile (() @addInput) for (0) args)block. renderElement()method.- Choose which element options are accepted by setting the
elementOptionsoption to a list of options instead of a boolean. - Better error handling.
- If an error occurs in
renderMatching(), it will be logged to the console (with the snapblocks code that errored), and will continue to the rest of the elements.
- If an error occurs in
Fixes
- Fix scratch 3 high contrast pause icon.
- Fixed an error with non-existent
wrappedvariable. - Make sure style is a string.
- If a style doesn't exist, just set it to
snap, don't throw an error.
Full Changelog: v1.4.2...v1.5.0
v1.4.2
Fixes
- Fix multiline inputs in the Snap! style.