Skip to content

PikaPython v1.12.6 Released 🎉🚀

Compare
Choose a tag to compare
@pikasTech pikasTech released this 10 Sep 14:23
· 366 commits to master since this release

We are thrilled to announce the release of PikaPython v1.12.6! This version brings a series of optimizations, new feature additions, and bug fixes. Here's a highlight of the updates:

New Features and Improvements: 🆕

  • Introduced a new struct module, version v0.1.0 📦

  • Released a new STM32 module, version v0.1.0 💻

    This module offers support for the entire STM32 series, replacing modules like STM32F1, STM32F4, etc.

    The STM32 module was developed with insights from the rt-thread device framework. Special thanks are in order.

  • New fsm and eventloop modules have been rolled out.

    fsm is a multi-threaded state machine, and eventloop is a multi-threaded event loop.

  • The STM32HAL.pyi has been renamed to STM32.pyi 🔍

  • Added support for GPIO, UART, ADC, DAC, PWM, and time in the STM32 package 🎉

  • Enhanced rtt compatibility layer 🚀

  • Now supports struct.unpack() and tested struct.pack() 🧩

  • Added __eq__ support for tuple, list, and dict 🔄

  • SOFT_TIM support: Implemented SOFT_TIM based on thread_timer.

  • WIFI Fix: Resolved reconnection issues on esp32.

  • Network adaptation: Adapted the accept function for TCP server in _WIN32 environments. Kudos to @SenySunny for the contribution!

  • Camera support: Added camera support for pika_hal. Special thanks to 梦程MI for the contribution!

  • OS package: Adjusted the implementation of the mkdir function in the OS package for Windows to enhance compatibility. Props to @SenySunny for the fix!

  • REPL/NORMAL mode: New support for REPL/NORMAL mode for unused stack values.

Bug Fixes: 🐞

  • Resolved the ssize_t definition issue on adapter_rtt.h.
  • Fixed the memory shortage problem with os_read_platform.
  • Addressed the mkdir function problem of the os package on _WIN32.
  • WIFI reconnection problem on esp32 has been fixed.
  • Rectified the dict_removeArg issue.
  • Updated PikaStdDevice 🔄
  • Resolved the REPL check issue on \b.
  • Fixed the backspace problem on Linux when pos is zero.
  • Other fixes and optimizations 🛠

Module Releases (Starting from v1.12.5):

package state version
pikascript-core Update v1.12.5 --> v1.12.6
PikaStdLib Update v1.12.5 --> v1.12.6
PikaStdDevice Update v2.4.0 --> v2.4.2
re Update v0.1.4 --> v0.1.5
struct Create v0.1.0
socket Update v0.1.8 --> v0.1.9
pika_lua Update v0.0.5 --> v0.0.6
STM32 Create v0.1.0
ESP32 Update v0.4.2 --> v0.4.3
STM32F4 Update v0.1.3 --> v0.1.4
pika_fatfs Update v0.1.0 --> v0.1.1
mqtt Update v0.0.6 --> v0.0.7
json Update v0.1.5 --> v0.1.6
network Update v0.1.3 --> v0.1.4
os Update v0.1.2 --> v0.1.3
fsm Create v0.1.0
eventloop Create v0.1.0

We hope this new v1.12.6 release will provide a better experience for users and enhance both the performance and stability of the system. Thanks to all the developers who contributed to this version! 🎉🎉🎉