Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pybricks v3 Beta Announcements #48

Closed
dlech opened this issue Jun 15, 2020 · 36 comments
Closed

Pybricks v3 Beta Announcements #48

dlech opened this issue Jun 15, 2020 · 36 comments
Labels
platform: Powered Up Issues related to LEGO Powered Up software: pybricks-code Issues with https://code.pybricks.com application

Comments

@dlech
Copy link
Member

dlech commented Jun 15, 2020

Subscribe to this issue to be notified of new features and bug fixes during the initial v3.0 beta period.

Changes are published on https://code.pybricks.com as soon as they are merged.

See #29 for the v3.0 roadmap.

@dlech dlech pinned this issue Jun 15, 2020
@dlech
Copy link
Member Author

dlech commented Jun 15, 2020

Added: Code snippets - try typing cplushub and look for the snippet in the code completion.

@dlech dlech changed the title Pybricks Beta Announcments Pybricks v3 Beta Announcments Jun 15, 2020
@laurensvalk laurensvalk transferred this issue from pybricks/pybricks-code Jun 16, 2020
@laurensvalk laurensvalk changed the title Pybricks v3 Beta Announcments Pybricks v3 Beta Announcements Jun 16, 2020
@laurensvalk laurensvalk pinned this issue Jun 16, 2020
@dlech dlech added software: pybricks-code Issues with https://code.pybricks.com application platform: Powered Up Issues related to LEGO Powered Up labels Jun 17, 2020
@dlech
Copy link
Member Author

dlech commented Jul 3, 2020

https://code.pybricks.com has been updated.

Added:

  • Support for City hub (note, requires Chrome 85 to flash firmware due to quirks in the City hub bootloader)
  • Changed firmware flashing packet size on City hub and Control+ hub (speeds up flash time)
  • Increased frequency of progress checks when flashing firmware (slows down flash time but should help prevent errors)
  • Firmware v3.0.0a4

@dlech
Copy link
Member Author

dlech commented Jul 4, 2020

https://code.pybricks.com has been updated.

Fixed:

@dlech
Copy link
Member Author

dlech commented Jul 15, 2020

https://code.pybricks.com has been updated.

Fixed:

  • cityhub code snippet indentation

Changed:

  • Firmware v3.0.0a5
    • Improved color scanning and range for the ColorDistanceSensor
    • Added ColorDistanceSensor.hsv and ColorDistanceSensor.color_map method
    • Sensor bug fixes

@dlech
Copy link
Member Author

dlech commented Jul 18, 2020

https://code.pybricks.com has been updated.

Added Clear button to terminal context menu

image

@dlech
Copy link
Member Author

dlech commented Aug 5, 2020

https://code.pybricks.com has been updated.

Changed:

  • Firmware v3.0.0a6
    • Lots of refactoring (if there are any regressions, this is probably the cause)
    • Added experimental Matrix class for linear algebra (not available on BOOST Move hub)
    • Added colors Color.CYAN, Color.MAGENTA, Color.GRAY
    • Renamed Color.PURPLE to Color.VIOLET
    • Removed uos.uname()
    • Added from pybricks import version
    • Adjust Technic hub gyro filter (so you can do this)

@dlech
Copy link
Member Author

dlech commented Aug 22, 2020

https://code.pybricks.com has been updated.

Changed:

  • Firmware v3.0.0a7
    • Lots of refactoring - again (if there are any regressions, this is probably the cause)
    • Low battery shutdown fixed on Technic hub
    • Low battery indication light now works
    • Hub status light flashes when first turned on to indicate that it is discoverable via Bluetooth
    • Power off delay when holding button changed from 5 seconds to 3 seconds
    • Changed BOOST Color and Distance Sensor infrared remote control API

@dlech
Copy link
Member Author

dlech commented Sep 4, 2020

https://code.pybricks.com has been updated.

Changed:

  • Firmware v3.0.0a8
    • Known regression: status light does not turn off until button is released during power off
    • New/changed APIs for hub status light
    • pybricks.parameters.Color now represents HSV colorspace values instead of just being the names of colors
    • Fix Technic hub low battery indication at boot
    • Update to MicroPython v1.13 (not a major jump since we already were based on v1.12 plus >600 commits)

@dlech
Copy link
Member Author

dlech commented Oct 10, 2020

https://code.pybricks.com has been updated.

Changed:

  • Firmware v3.0.0a9
    • Breaking change: CPlusHub class is renamed to TechnicHub
    • Breaking change: color sensor color map API changed
    • Fixed Technic hub not connecting on Windows
    • Known issue: missed fixing above for City hub

@nuno2500

This comment has been minimized.

@Walt-White

This comment has been minimized.

@pybricks pybricks locked as off-topic and limited conversation to collaborators Oct 13, 2020
@dlech
Copy link
Member Author

dlech commented Nov 9, 2020

https://code.pybricks.com has been updated.

Changed:

  • Firmware v3.0.0a10
    • Fix connecting to City Hub on Windows not working
    • Add pybricks.experimental.getchar function for reading on character from stdin
    • Move Matrix class from pybricks.experimental to pybricks.geometry
    • Various Matrix class fixes and improvements
    • Battery voltage and current measurement improvements

@dlech
Copy link
Member Author

dlech commented Nov 21, 2020

https://code.pybricks.com has been updated.

Changed:

  • Firmware v3.0.0a11
    • Added Technic Angular motor IDs
    • Fixed lights not turning off on shutdown until button is released (powering off I/O ports on shutdown is still TODO)
    • Changed motor PWM frequency
    • Proper license file included in binary distribution
    • Known issue: Strange behavior and crashing on Move hub due to stack overflow - https://github.com/pybricks/pybricks-micropython/issues/29

@dlech
Copy link
Member Author

dlech commented Dec 11, 2020

https://code.pybricks.com has been updated.

Fixed:

  • Fixed terminal losing focus after opening context menu

Added:

  • Added a few more keyboard shortcuts

@dlech
Copy link
Member Author

dlech commented Dec 11, 2020

https://code.pybricks.com has been updated.

Changed:

  • Firmware v3.0.0a12
    • Reduce heap size on BOOST Move hub to prevent crash
    • Fix stop button not working in Pybricks Code when using REPL
    • Turn off Bluetooth when running program without already being connected to Bluetooth
    • Turn of hub if no Bluetooth connection was made or program not started within 30 seconds
    • Change program running light indication to breathing pattern instead of steady on

@dlech
Copy link
Member Author

dlech commented Dec 18, 2020

https://code.pybricks.com has been updated.

Fixed:

  • Sometimes hub does not reboot after flashing firmware (depending on firmware size)

@dlech
Copy link
Member Author

dlech commented Jan 8, 2021

https://code.pybricks.com has been updated.

Changed:

  • Firmware v3.0.0a12
    • Changed program running indication light
    • Enabled built-in reversed() function
    • Fixed hotplug of UART I/O devices
    • New PUPDevice.info() method
    • Increased auto-shutdown timeout to 3 minutes
    • Moved IMU from experimental to hub class
    • IMU improvements on Technic hub

@dlech
Copy link
Member Author

dlech commented Jan 15, 2021

https://code.pybricks.com has been updated.

Added:

  • New settings panel
  • New "dark mode" setting
  • New "flash my program" setting (known issue: browser has to be refreshed if you try to flash a program with compile errors)
  • Tip on how to zoom in/out

Changed:

  • Documentation toggle is moved to settings
  • Buttons are rearranged a bit

@dlech
Copy link
Member Author

dlech commented Jan 17, 2021

https://code.pybricks.com has been updated.

Added:

  • Help section with links to support sites
  • About dialog

@dlech
Copy link
Member Author

dlech commented Jan 22, 2021

https://code.pybricks.com has been updated.

Added:

  • Link to example projects

Changed:

  • Update to new version without having to restart browser or clear cache (this change won't be visible until after the update - i.e. on the next update)
  • Compiler error notification is removed when it is no longer applicable (i.e when code is compiled again)
  • Progress indicator moved from status bar to firmware flash button
  • Firmware v3.0.0b1:
    • IMU improvements on Technic hub
    • Fix status light bug on Technic hub
    • Stop DC motors when program ends

@dlech
Copy link
Member Author

dlech commented Jan 23, 2021

https://code.pybricks.com has been updated (v1.0.0-beta.2).

Fixed:

  • Improved error handling when flashing firmware.

@dlech
Copy link
Member Author

dlech commented Jan 24, 2021

https://code.pybricks.com has been updated (v1.0.0-beta.3).

Added:

  • Added Select All to context menus

Fixed:

  • Allow selecting text in dialogs and notifications.

@dlech
Copy link
Member Author

dlech commented Jan 26, 2021

https://code.pybricks.com has been updated (v1.0.0-beta.4).

Fixed:

  • Removed extra space under icon in buttons.

Changed:

@dlech
Copy link
Member Author

dlech commented Jan 29, 2021

https://code.pybricks.com has been updated (v1.0.0-beta.5).

Fixed:

  • Settings button should not be selected after closing settings.
  • Documentation does not remember position after hide/show.

Added:

  • App install button.
  • App check for update button.
  • Ctrl-D keyboard shortcut to toggle docs.

@dlech
Copy link
Member Author

dlech commented Feb 19, 2021

https://code.pybricks.com has been updated (v1.0.0-beta.7).

Changed:

  • Firmware v3.0.0b2
    • Fix I/O device detection on Technic hub
    • Minor Bluetooth improvements
    • Color type API changes
    • Move hub IMU improvements
    • Update to MicroPython 1.14

@dlech
Copy link
Member Author

dlech commented Apr 2, 2021

https://code.pybricks.com has been updated (v1.0.0-beta.8).

This is likely the last beta before we issue a release candidate, so please test!

Changed:

  • IDE will no longer work with hubs running older firmware.
  • Firmware v3.0.0b3
    • Enabled uio, usys and uselect modules (except on Move hub)
    • Removed experimental getchar() function. Use usys.stdin with uselect.poll instead.
    • Enabled stack check to avoid hub lock-up on stack overflow.
    • Significant Bluetooth improvements.
    • Fix issues with red and green LEDs on Technic hub.
    • Automatic import of pybricks.* in REPL.
    • Add Color.NONE enum value (Existing uses of None should be replaced with this.)
    • Stop button (hub button and IDE button) now raise SystemExit instead of KeyboardInterrupt.
    • Pressing the hub button will now stop the REPL if it is running.
    • Added pybricks.experimental.set_stop_button() to change or disable the stop button so that it can be used by the user program.

@dlech
Copy link
Member Author

dlech commented Apr 3, 2021

v1.0.0-beta.8 has serious Bluetooth issues on Windows, so we have reverted to v1.0.0-beta.7 for now.

@dlech
Copy link
Member Author

dlech commented Apr 5, 2021

https://code.pybricks.com has been updated (v1.0.0-beta.9).

Changed:

@dlech
Copy link
Member Author

dlech commented Apr 6, 2021

https://code.pybricks.com has been updated (v1.0.0-beta.10).

Fixed:

  • Download and run of programs not working (regression due to firmware change in previous release).

@dlech
Copy link
Member Author

dlech commented Apr 7, 2021

https://code.pybricks.com has been updated (v1.0.0-beta.11).

Fixed:

@dlech
Copy link
Member Author

dlech commented Apr 7, 2021

https://code.pybricks.com has been updated (v1.0.0-beta.12).

Fixed:

  • Fix regression from v1.0.0-beta.11 that caused the run button to become disabled after running a small program

@dlech
Copy link
Member Author

dlech commented Apr 12, 2021

https://code.pybricks.com has been updated (v1.0.0-beta.13).

Fixed:

Changed:

@dlech
Copy link
Member Author

dlech commented Apr 12, 2021

https://code.pybricks.com has been updated (v1.0.0-beta.14).

Added:

  • Progress indicator when downloading the program.

@dlech
Copy link
Member Author

dlech commented Apr 26, 2021

https://code.pybricks.com has been updated (v1.0.0-beta.15).

Changed:

  • Updated to latest docs
  • Firmware v3.0.0b6:
    • Fixed Bluetooth lockup on Technic and City hubs
    • Fixed Color attributes being garbage collected

@dlech
Copy link
Member Author

dlech commented May 11, 2021

https://code.pybricks.com has been updated (v1.0.0-rc.1).

Fixed:

  • Fixed issue with extra scroll bars in the terminal pane.

Changed:

  • Firmware v3.0.0c1:
    • Implemented watchdog timer on all hubs (should reboot instead of freeze so you don't have to pull the battery anymore).
    • Fixed status light not always turning off when powering off.
    • Fixed some lockups related to frequent UART writes
    • Fixed some lockups related to frequent Bluetooth writes.
    • Improved DriveBase default settings.

@laurensvalk laurensvalk unpinned this issue May 12, 2021
@dlech
Copy link
Member Author

dlech commented Jun 8, 2021

Latest changelog can now be found at https://github.com/pybricks/pybricks-micropython/blob/master/CHANGELOG.md.

@dlech dlech closed this as completed Jun 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform: Powered Up Issues related to LEGO Powered Up software: pybricks-code Issues with https://code.pybricks.com application
Projects
None yet
Development

No branches or pull requests

3 participants