Releases: Clipteam/clipcc-desktop
3.1.4
ใใIn fact, this release was supposed to be released next month, but since there're lots of Extension API changes in 3.1.4, we decided to bring forward this important sub-release. We recommend that all scratchers upgrade, as this version also fixes a number of issues that existed in previous versions.
โจ What changed
๐ Copy blocks to clipboard
We have added the ability to copy blocks (or block screenshot) to the clipboard and paste blocks from the clipboard. This feature will also help you to quickly modify blocks without changing the project.json.
(Contributor: SimonShiki)
๐จ๐ต French support
We've added a language which is spoken by approximately 280 million people to this release. Special thanks to the translator from France!
(Contributor: Senievol)
๐ Add color detection block
This newly added block can be used to obtain colors โโaccurate to a certain coordinate, which is very useful for some pen-related projects.
(Contributor: SimonShiki)
๐จ Paint editor improvements
This release adds support for transparency and numeric color editing.
(Contributor: SparrowHe)
๐ง Store settings in project
You can now store settings like FPS in your project. You can enable this feature in settings (disabled by default).
(Contributor: SimonShiki)
๐ฌ Miscellaneous
- Support for updating extensions from the extension store (Contributor: SparrowHe, SimonShiki)
- Redrawing a lot of extension banners (Contributor: Zerlight)
- Add edit pen drawable layers blocks (Contributor: SimonShiki)
- Add "get array length" and "edit array's value" blocks (Contributor: SimonShiki)
- Modified the style of the text input to be square (Contributor: SimonShiki)
๐ Extension Stuff
Block filter
ClipCC provides support for filter since version 3.1.4. Here's an example:
api.addBlock({
opcode: 'example.block',
type: type.BlockType.COMMAND,
messageId: 'example.block',
categoryId: 'example.category',
function: () => {...},
option: {
// Only available in stage
filter: type.FilterType.STAGE
}
});
See documentation
(Contributor: java30433)
Dynamic menu
param: {
PARAMETER: {
type: type.ParameterType.STRING,
menu: () => {
// return sprites
const vm = api.getVmInstance();
const sprites = [];
for (const targetId in vm.runtime.targets) {
if (!vm.runtime.targets.hasOwnProperty(targetId)) continue;
const name = vm.runtime.targets[targetId].sprite.name;
sprites.push([name, name]);
}
return sprites;
},
default: 'rainbow'
}
}
See documentation
(Contributor: java30433)
Branch block
ClipCC provides support for menu input since version 3.1.4. Here's the definition:
api.addBlock({
opcode: 'example.if',
type: type.BlockType.COMMAND,
messageId: 'example.if',
categoryId: 'example.category',
branchCount: 1,
param: {
COND: {
type: type.ParameterType.BOOLEAN
}
},
function: (args, util) => {
// If the condition is true, start the branch.
if (!!args.COND) util.startBranch(1, false);
}
});
See documentation
(Contributor: AlexCui)
๐ง Bug Fix
- Fix the problem that the extension switch is out of sync (Contributor: SparrowHe)
- Fix the problem that the clipCC extension monitor label is not displayed correctly (Contributor: SparrowHe)
- Fixed the issue that the pop "proccode was duplicated" when clicking "OK" when the editing function did not modify the proccode (Contributor: AlexCui)
- Fixed two issues where variable/list data was null after serialization (Contributor: SimonShiki)
- Fixed the problem that the sound could not be deleted normally (Contributor: SparrowHe)
- Fix the problem that the return type is incorrect after modifying the JSON (Contributor: SimonShiki)
- Fixed an issue where the direction block from... to... would report an error with negative values (Contributor: SimonShiki)
- Fix the problem that the operating system blocks cannot detect the Windows 11. (Contributor: SimonShiki)
- Fixed an issue where the block popup could not copy text (Contributor: SimonShiki)
- Fixed menu row height issue caused by blank names (Contributor: AlexCui)
- Fixed list reporter text not centered (Contributor: SparrowHe)
- Fixed an issue where the block popup ignored line breaks and spaces (Contributor: SimonShiki)
3.1.3
ใใWe've been working on improving Clip Community for the past two months, so we've delayed the development of the editor. Anyway, 3.1.2 still brings some useful updates. Let's take a look!
โจ Changelog
๐งฌ Refactoring global functions
ใใWhen calling a global function in the last version, the target(sprite) being manipulated is the caller, not the callee. If there are blocks in the global function that can only be used by a sprite or stage, and the corresponding (sprite/stage) is not correct when calling, the behavior is undefined.
ใใThis adjustment was made to conform to Scratch's original definition of custom blocks (saving blocks). This change may break some projects, so we hope you notice this change in time!
๐ฅ Add color swatches in paint editor
ใใWe merged the scratchfoundation/scratch-paint#1698, which introduced a new color panel. We hope this feature can better help you in your artistic creation!
๐ฃ Changed our default sprite
ใใDue to some security issues, we decided to replace the default character Sparrow that we had been using for a year. We named the new default character Cyanston (Chinese name is ้็ ) I hope you'll like him!
๐ง Bug fix
- Fix the offset issue in function editor.
- Fix the issue that able to repeatedly create functions with the same name.
- Fixed an issue where the desktop version could not open the extension store.
- Fixed an issue where the mobile terminal could not run the project properly.
3.1.2
ใใSorry for taking so long to release the beta offline version after a huge update(upgrade to React 17). If you find any problems, please submit an issue to us! I hope you'll enjoy this version!๐
โจ Changelog
๐ Upgrade to React 17
ใใEven in 2022, React 18 has been released, Scratch is still using React 16.2, which was released in 2018. due to the needs of the Clip Community and the future development, we decided to upgrade the React version to React 17.0.2. We fixed as much as possible the bugs that an upgrade spanning such a large period. could If you find any bugs, please contact us!
โจ New settings UI
ใใDue to the need to Extension API and the increase of setting items, we decided to rewrite the setting UI to provide a better operating experience. The full form of the UI will be released in the stable.
๐ Save/load extension to / from project file
ใใThis version adds the experimental featutres to save / load extensions to / from project. This feature helps authors to easily edit and share projects that includes ClipCC extensions.
๐ New color
ใใWe have changed the color scheme of ClipCC to make it more beautiful and recognizable. We will gradually adjust all the color schemes related to ClipCC within the future updates
๐ง Bug fix
- Fixed a series of problems caused when the opcode of a custom block could be null. (#119)
- Fixed disabled in extension management when opening a project with extensions (#118)
- Fixed the problem of inconsistent color of Functions (#117)
- Fixed an issue with "position [POS] of [STRING] contain [SUBSTRING]" blocks where SUBSTRING was set to a single character and POS was not 1 (#114)
- Fixed the issue of not scrolling when the right-click blocks menu is too long (#101)
- Fixed an issue where enabling/disabling an extension after upgrading React17 would cause the extension to be added/removed twice (#98)
- Temporarily fixed an issue with the role selector not sorting properly after upgrading React17 (#108)
- Temporary fix for sound editor not working properly after upgrading React17 (#116)
- Temporarily fixed the issue of not being able to move costumes and sounds between sprites after upgrading React17 (#115)
- Fix the abnormal display problem caused by long category bar in Firefox
- Fix the bug that custom reporter cannot return when you click.
- Fix the bug that custom reporter won't returns when It's in a branch block.
- Fix the bug that media library didn't work.
- Fix the bug that cannot save .cc3 by file picker. (#130)
- Fix the bug that "POST" block doesn't work.
3.1.2-beta2
ใใSorry for taking so long to release the beta offline version after a huge update(upgrade to React 17). If you find any problems, please submit an issue to us! I hope you'll enjoy this beta version!๐
โจ Changelog
๐ Upgrade to React 17
ใใEven in 2022, React 18 has been released, Scratch is still using React 16.2, which was released in 2018. due to the needs of the Clip Community and the future development, we decided to upgrade the React version to React 17.0.2. We fixed as much as possible the bugs that an upgrade spanning such a large period. could If you find any bugs, please contact us!
โจ New settings UI
ใใDue to the need to Extension API and the increase of setting items, we decided to rewrite the setting UI to provide a better operating experience. The full form of the UI will be released in the stable.
๐ Save/load extension to / from project file
ใใThis version adds the experimental featutres to save / load extensions to / from project. This feature helps authors to easily edit and share projects that includes ClipCC extensions.
๐ New color
ใใWe have changed the color scheme of ClipCC to make it more beautiful and recognizable. We will gradually adjust all the color schemes related to ClipCC within the future updates
๐ง Bug fix
- Fixed a series of problems caused when the opcode of a custom block could be null. (#119)
- Fixed disabled in extension management when opening a project with extensions (#118)
- Fixed the problem of inconsistent color of Functions (#117)
- Fixed an issue with "position [POS] of [STRING] contain [SUBSTRING]" blocks where SUBSTRING was set to a single character and POS was not 1 (#114)
- Fixed the issue of not scrolling when the right-click blocks menu is too long (#101)
- Fixed an issue where enabling/disabling an extension after upgrading React17 would cause the extension to be added/removed twice (#98)
- Temporarily fixed an issue with the role selector not sorting properly after upgrading React17 (#108)
- Temporary fix for sound editor not working properly after upgrading React17 (#116)
- Temporarily fixed the issue of not being able to move costumes and sounds between sprites after upgrading React17 (#115)
- Fix the abnormal display problem caused by long category bar in Firefox
- Fix the bug that custom reporter cannot return when you click.
- Fix the bug that media library didn't work.
3.1.2-beta1
ใใSorry for taking so long to release the beta offline version after a huge update(upgrade to React 17). If you find any problems, please submit an issue to us! I hope you'll enjoy this beta version!๐
โจ Changelog
๐ Upgrade to React 17
ใใEven in 2022, React 18 has been released, Scratch is still using React 16.2, which was released in 2018. due to the needs of the Clip Community and the future development, we decided to upgrade the React version to React 17.0.2. We fixed as much as possible the bugs that an upgrade spanning such a large period. could If you find any bugs, please contact us!
โจ New settings UI
ใใDue to the need to Extension API and the increase of setting items, we decided to rewrite the setting UI to provide a better operating experience. The full form of the UI will be released in the stable.
๐ Save/load extension to / from project file
ใใThis version adds the experimental featutres to save / load extensions to / from project. This feature helps authors to easily edit and share projects that includes ClipCC extensions.
๐ New color
ใใWe have changed the color scheme of ClipCC to make it more beautiful and recognizable. We will gradually adjust all the color schemes related to ClipCC within the future updates
๐ง Bug fix
- Fixed a series of problems caused when the opcode of a custom block could be null. (#119)
- Fixed disabled in extension management when opening a project with extensions (#118)
- Fixed the problem of inconsistent color of Functions (#117)
- Fixed an issue with "position [POS] of [STRING] contain [SUBSTRING]" blocks where SUBSTRING was set to a single character and POS was not 1 (#114)
- Fixed the issue of not scrolling when the right-click blocks menu is too long (#101)
- Fixed an issue where enabling/disabling an extension after upgrading React17 would cause the extension to be added/removed twice (#98)
- Temporarily fixed an issue with the role selector not sorting properly after upgrading React17 (#108)
- Temporary fix for sound editor not working properly after upgrading React17 (#116)
- Temporarily fixed the issue of not being able to move costumes and sounds between sprites after upgrading React17 (#115)
- Fix the abnormal display problem caused by long category bar in Firefox
3.1.1
This version only fixes 3 serious bugs, sorry for releasing such a perfunctory release. ๐คง
Of course, Changelog still has to write properly!
โจ What's new
- Fixed the bug that desktop version can't load extensions from online
- Fixed the bug that custom reporter would cause outer blocks to be skipped if no value was returned
- Fixed the bug that remote instance is undefined
- Changed the extension loading method back to the original.
3.1
It's been six months since the last major release. Finally, ClipCC 3.1, with its new extension system, global functions and custom reporter features, is released! Sorry we didn't reach our goal (releasing on Chinese New Year's Eve), but we've fixed a lot of bugs in these times and hope you'll enjoy this release ! ๐
(Online editor is here)
โจ What's new
๐งฉ Extension support
We introduced support for load scratch extensions in 3.1. What's more, ClipCC also introduces a new, more powerful extension system than the original Scratch. It allows extensions to add/modify editor content directly with the introduction of node modules. If you are interested in this new extension system, you can take a look at the documentation of this extension system.
๐ช Global function
This feature allows you to call an identical function (or "custom block") within any sprite (including stages). Note that the global function acts on the same sprite as the one that defines it, and in principle, functions are not allowed to have duplicate names.
๐ Custom reporter
This feature is suitable for projects that require a lot of recursive operations or need to compress program content. you can eliminate unnecessary variables and blocks by customizing a reporter. Because these two features are implemented, We decided to rename the "custom block" to "function".
๐ฏ๏ธ Auto saving
We've added an autosave feature to ClipCC, which helps save you from the pain of data loss due to browser crashes (I've experienced it myself ๐คง). Since this feature uses the FileSystem API, only Chrome browsers can support it.
๐ฟ Loading animations
Added a loading animation. It reduces the time used to load ClipCC on a psychological level XD
๐ Miscellaneous
Fixed some display issues related to dark mode
Redone the way of getting version number for blocks
Reworked setting FPS features
Basically finished the support of .cc3 file format
Added custom file compression rate
Added conversion of unknown blocks to custom blocks
Switched to clipcc-render for the preparation for HQ-Pen
Switch to Clipteam's file hosting system to host media library files, fix the problem that mainland China can't access the official media library for special reasons.
Switch to TerserPlugin for production environment packaging optimization, and remove the deprecated Uglify.JS.
Use Sentry and Plausible for telemetry.
Adjusted the contributor list style.
Added the menu option to "Jump to function definitions" (global functions are not currently supported).
โ๏ธ At last
After this release, we will devote our main efforts to the development of the Clip community. At that time ClipCC will pause feature development and start upgrading to React 17 (or 18) and webpack 5. If you would like to join our team, please email to sinangentoo@gmail.com!
3.1.0-beta4
ClipCC 3.1
It's been six months since the last major release. Finally, ClipCC 3.1, with its new extension system, global functions and custom reporter features, is released! Sorry we didn't reach our goal (releasing on Chinese New Year's Eve), but we've fixed a lot of bugs in these times and hope you'll enjoy this release ! ๐
(Online editor is here)
โจ What's new
๐งฉ Extension support
We introduced support for load scratch extensions in 3.1. What's more, ClipCC also introduces a new, more powerful extension system than the original Scratch. It allows extensions to add/modify editor content directly with the introduction of node modules. If you are interested in this new extension system, you can take a look at the documentation of this extension system.
๐ช Global function
This feature allows you to call an identical function (or "custom block") within any sprite (including stages). Note that the global function acts on the same sprite as the one that defines it, and in principle, functions are not allowed to have duplicate names.
๐ Custom reporter
This feature is suitable for projects that require a lot of recursive operations or need to compress program content. you can eliminate unnecessary variables and blocks by customizing a reporter. Because these two features are implemented, We decided to rename the "custom block" to "function".
๐ฏ๏ธ Auto saving
We've added an autosave feature to ClipCC, which helps save you from the pain of data loss due to browser crashes (I've experienced it myself ๐คง). Since this feature uses the FileSystem API, only Chrome browsers can support it.
๐ฟ Loading animations
Added a loading animation. It reduces the time used to load ClipCC on a psychological level XD
๐ Miscellaneous
Fixed some display issues related to dark mode
Redone the way of getting version number for blocks
Reworked setting FPS features
Basically finished the support of .cc3 file format
Added custom file compression rate
Added conversion of unknown blocks to custom blocks
Switched to clipcc-render for the preparation for HQ-Pen
Switch to Clipteam's file hosting system to host media library files, fix the problem that mainland China can't access the official media library for special reasons.
Switch to TerserPlugin for production environment packaging optimization, and remove the deprecated Uglify.JS.
Use Sentry and Plausible for telemetry.
Adjusted the contributor list style.
Added the menu option to "Jump to function definitions" (global functions are not currently supported).
โ๏ธ At last
After this release, we will devote our main efforts to the development of the Clip community. At that time ClipCC will pause feature development and start upgrading to React 17 (or 18) and webpack 5. If you would like to join our team, please email to sinangentoo@gmail.com!
3.1.0-beta3
3.1.0 Beta2
3.1.0-beta2 ๆข็จGitๆฅๅฎ่ฃ gui