Blockly Changelog
CoDrone EDU Blockly Changelogβ
Version 3.1.0β
February 19, 2025β
Bug Fixes π
- Fixed the bug when using "when key pressed" by changing its functionality to match Python for Robolink behavior. Any old code that was implemented with no longer supported keys (arrows, spacebar, and backspace) have been replaced with a '0' key press. Please see this Basecamp lesson to learn the new behavior of the block.
- Resolved incorrect Python-generated code for
controller_draw_rectangle()
andcontroller_draw_square()
blocks that caused an error. - Fixed the issue with the flip functions that was caused by a battery requesting issue.
- Addressed an issue when loading color data after running once that would cause the rest of the program to fail on subsequent runs. Don't forget to load your color data folder whenever you are running color data code!
Improvements β¬οΈ
- The console now only opens automatically if the user uses a "print" or "input" block in the program.
Version 3.0.3β
January 30, 2025β
Bug fixes π
- Resolved issue where the coding workspace would clear when reloading the page.
Version 3.0.2β
January 24, 2025β
Bug fixes π
- Resolved infinite loading of Blockly affecting some users
Version 3.0.1β
January 23, 2025β
Bug fixes π
- Improved performance to reduce loading time when opening Blockly
- Fixed an issue where the battery was returning 0%
Improvements β¬οΈ
- The sensor dashboard now always displays the predicted color based on the default calibration even when using a custom dataset
- The βclear consoleβ button dynamically adjusts its position when the side tabs open so it remains visible
- Enhanced performance for better user experience and improved program responsiveness
Version 2.2.5β
December 18, 2024β
New Features β¨
- Updated Python generated code for controller screen functions to reflect latest Python library changes (v2.0)
- Implemented custom 404 page
Improvements β¬οΈ
- Improved firmware detection and messaging in the connection window when offline
Bug Fixes π
- Fixed error in elevation conversion from meters (m) to kilometers (km)
- Corrected Python-generated code for Junior Turn block
Version 2.2.4β
November 7, 2024β
New Features β¨
- Updated block names and generated code to match the latest Python library (v2.0)
Improvements β¬οΈ
- Improved UI and messaging when drone battery is removed while Blockly is connected
Bug Fixes π
- Fixed bug when opening get_color() Senior block example
Version 2.2.3β
October 10, 2024β
New Features β¨
- Added the ability to open Blockly code as a Python program in Python for Robolink
- Updated tab colors to be consistent with category selection
- Updated Python auto-generated code to match current library version
Improvements β¬οΈ
- Adjusted menu sizing for smaller screens
Bug Fixes π
- Resolved uncaught errors
- Corrected issue where the βdisable blockβ function was not working properly.
Version 2.2.2β
September 18, 2024β
New Features β¨
- Added a release version number to the menu to easily check for updates and improvements.
- Included a link to our Privacy Policy in the menu for quick access.
Bug Fixes π
- Resolved an issue where clicking the emergency stop too quickly after running code could cause an error on the site.
Version 2.2.1β
September 4, 2024β
New Features β¨
- Updated default "count with" parameters in loops to start at 0 instead of 1
- Enabled "Open in Blockly" from documentation, automatically populating the workspace with an example from our our documentation site.
Improvements β¬οΈ
- Improved user interface by changing when the start flag removal warning appears to a more noticeable modal window.
- Re-ordered RUN, LAND, STOP buttons on the Blockly interface to encourage using "Land" over "Stop" whenever possible.
Bug Fixes π
- Fixed a bug where the console did not consistently print the correct number of outputs, ensuring reliable feedback during coding sessions.
Version 2.2.0β
August 21, 2024β
New Features β¨
- Added the text "Get" in front of the variable block to distinguish it from the "Set" variable block.
Improvements β¬οΈ
- Improved the comments in Python code generation when blocks in the workspace are disabled.
- Improved the menu design for easier navigation
Bug Fixes π
- Fixed a bug in "avoid_wall" where the drone would not fly forward when range sensor was below a threshold value.
Version 2.1.9β
August 1, 2024β
New Features β¨
- Added "List" blocks to enhance coding capabilities.
- The console log now shows the version of the CoDrone JavaScript Library being used.
- Integrated the "start/stop" buzzer feature from Python into Blockly.
- Added the capability to download workspace code as a PNG file for easier sharing and documentation.
- Added a "Return to Docs" button for better navigation back to the documentation in the side tab
Improvements β¬οΈ
- Improved UI to display all icons when opening the side tabs
- Improved battery request messages in the console to reflect getting the drone state data instead
Bug Fixes π
- Fixed an issue where Blockly miscounted the number of 'start_flag' blocks, allowing users to drag more than one 'start_flag' block if the dragging event was too fast
- Corrected a buzzer functionality issue
- Corrected the URL in the release notes menu option to point to the correct resource.
- Fixed an issue where incorrect URLs displayed Apache and OS version details.
- Resolved a problem where Blockly could load any URL after the default URL was accessed.
Version 2.1.8β
June 12, 2024β
New Features β¨
- Implemented an alert when the user forgets to load a colorset
- Updated Japanese translations
- Reset the "Run code" button interface when "land" is pressed
Improvements β¬οΈ
- Changed "color classifiers" to "color data sets"
- Disabled "code_is_running" block
- Enhanced "when start" feature that only allows one block at a time in the workspace
Bug Fixes π
- Resolved bug where not all labels were loaded from a colorset
- Resolved bug where right-click delete did not delete the generated code in the Python tab
Version 2.1.7β
May 21, 2024β
New Features β¨
- Enhanced takeoff command by adding checks for the drone flight state after takeoff
- Implemented feature that only allows one "when start" block at a time
- Added multi-language support for the "How to Connect" popup
Improvements β¬οΈ
- Disabled the asynchronous "when keyboard press" block to improve stability
Bug Fixes π
- Fixed bug causing crashes when color sensor returns "unknown"
- Resolved bug where some blocks don't disable when using the "when start" block
- Corrected drone model display issue in the connection window without needing a refresh
Version 2.1.6β
April 18, 2024β
New Features β¨
- New pop-up window when drone or controller disconnects from Blockly
- Added a notice for JROTC edition users to first calibrate their color sensor before adding a color set
- Back-end changes to ensure Blockly is checking for the latest versions
Improvements β¬οΈ
- Updated wording from "Pair with Blockly" to "Connect to Blockly"
- Updated messaging for adding or loading a colorset with clearer instructions
- Back-end changes to improve timing logs
- "Open" menu option only allows .XML as options
Bug Fixes π
- Fixed bug with generated Python code for avoid_wall()
Version 2.1.5β
February 26, 2024β
New Features β¨
- Implemented an error-logging system so users can report an error from the menu
- Implemented analytics
Improvements β¬οΈ
- Updated firmware notifications to match latest firmware releases
- Updated Korean-language translations
Bug Fixes π
- Disabled battery requests during takeoff
Version 2.1.4β
February 14, 2024β
Improvements β¬οΈ
- Updated drone visuals to match CoDrone EDU (JROTC ed.) when connected
- Temporarily disabled "Screen" category for JROTC ed.
- Improvements to firmware notifications in the connection box
Version 2.1.3β
January 23, 2024β
New Features β¨
- Updated pairing window to reflect messaging about AA batteries
Improvements β¬οΈ
- Changed parameters on "flip" functions to match Python function parameters
- Improved trim slider functionality
- Improved functionality of the drone LED feature in the connection window
Bug Fixes π
- Fixed Senior turn_degree() block
- Fixed Senior get_pressure() block
- Addressed backend errors to improve performance
Version 2.1.2β
December 21, 2023β
New Features β¨
- Added ability to change the drone LED color from the connection window
- Created a new senior block for turn_left() and turn_right() Python functions
- Added a link to the release notes in the Blockly menu
Improvements β¬οΈ
- More small changes in Python generated code output and block parameters to reflect Python library
Bug Fixes π
- Corrected the generated RGB values for the Junior controller LED block
- Updated missing blocks for Japanese-language Blockly
Version 2.1.1β
November 8, 2023β
Improvements β¬οΈ
- Renamed get_gyro() Senior blocks to get_angular_speed()
- Completed backend refactoring to update Blockly infrastructure. These changes will not affect your user experience, but they will help deliver a smoother update process in the future.
- Small changes in the Python generated code output to reflect the latest library