Bert and David Lechner
7e79c20f7d
pybricks.messaging: Fix a few minor typos in docstrings.
...
A few docstrings contained spelling and grammar mistakes. These changes improve readability and do not affect functionality.
2026-06-27 11:17:32 -05:00
Laurens Valk
d17b40796c
v4.0.0
v4.0.0
2026-06-08 15:16:08 +02:00
kai-morich and Laurens Valk
121e19b33d
pybricks.parameters: make Colors hashable.
...
The MicroPython implementation support hashing, we this should too.
2026-06-04 15:00:58 +02:00
Laurens Valk
a4e4f9cb52
v4.0.0b12
v4.0.0b12
2026-06-02 12:24:39 +02:00
Laurens Valk
a442264953
npm/ide-docs: Export namespace index.
...
Make the linter happy.
2026-06-02 12:20:54 +02:00
Laurens Valk
1118aa2af8
jedi: Fallback to tomllib backport.
2026-06-02 12:03:41 +02:00
Laurens Valk
32ff42d583
CHANGELOG: Move version notes.
...
No need to post these in all release notes.
2026-06-02 12:02:21 +02:00
Laurens Valk
7895cac17f
index: Simplify landing.
...
Docs are great if you know what to look for already. Otherwise it is better to start in the welcome guide.
2026-06-02 12:01:00 +02:00
Laurens Valk
b891f6c35e
blockimg: Update screenshots for BLERadio and hubs.
...
Matches API update to move to BLERadio.
Also update DriveBase method images matching API update.
2026-06-02 11:48:19 +02:00
Laurens Valk
307abbf085
v4.0.0b11
v4.0.0b11
2026-06-01 16:38:48 +02:00
Laurens Valk
9acbdb8367
conf: Build a json symbol index on build.
...
Ship it with the docs so we can parse it in Pybricks for namespace based lookup.
2026-06-01 16:38:34 +02:00
Laurens Valk
7409057b9c
pybricks: Indexing fixes.
...
The noindex made them not show up. Also fix misc related indexing issues.
2026-06-01 16:26:24 +02:00
Laurens Valk
89e5bde8e7
pybricks.pupdevices.Motor: Namespace model and control.
...
Otherwise the duplicate the Motor class in the object index.
2026-06-01 15:32:57 +02:00
Laurens Valk
5ecad4a845
pybricks.parameters. Document with full namespace.
...
This types them in full for the object index.
2026-06-01 15:18:09 +02:00
Laurens Valk
a402ae02e9
poetry: Update locks.
...
0.0.0 can't be pinned.
2026-05-30 11:47:05 +02:00
Laurens Valk
cd58dde773
v4.0.0b10
v4.0.0b10
2026-05-30 11:40:00 +02:00
Laurens Valk
2926b4af71
npm/jedi: Build pybricks-api from source.
...
Now that we use a single release pipeline, the API itself might not yet be on
PyPI by the time we build jedi, so we build it locally.
We'll still keep the API docs on PyPI so users can have local autocomplete,
but that path is no longer a dependency for building jedi.
Also explain CHANGELOG synchronization with firmware repo.
2026-05-30 11:39:00 +02:00
Laurens Valk
614453aa32
.github/workflows: Fix permissions and npm version tags.
2026-05-30 11:32:04 +02:00
Laurens Valk
0f6b8dee67
npm: Simplify release pipeline.
...
Releasing API updates is quite a long and error prone process, so the point
that it was limiting our ability to push frequent updates in practice. There
were 5 tag, commit, wait, and proceed steps and you'd have to start over or
force push if a mistake was made.
This keeps all the npm packages as they were, but versions everything from a
single source of truth, which is this project's main version. Everything
builds on a tag on the main repo, much like we did for a regular IDE docs RTD
release.
It also skips the PyPI for jedi as an intermediate step, which isn't really
needed and required us to have this strict order of publication steps.
2026-05-30 11:31:38 +02:00
Laurens Valk
a9be86238d
pybricks.messaging.BLERadio: Fix example paths.
2026-05-29 20:28:36 +02:00
Laurens Valk
16d5ba64d2
pybricks.ev3devices: Update return types.
2026-05-29 20:09:06 +02:00
Laurens Valk
d8802ace7d
pybricks.common: Update system info.
2026-05-29 20:08:53 +02:00
Laurens Valk
acb5206349
pybricks.robotics: Update DriveBase.
2026-05-29 20:06:56 +02:00
Laurens Valk
6686fce3c3
pybricks.pupdevices: Document MarioHub, TechnicMoveHub and DuploTrain.
2026-05-29 16:59:51 +02:00
Laurens Valk
7d27fbb5d8
pybricks.iodevices: Document DCMotor.
2026-05-29 15:39:24 +02:00
Laurens Valk
a0e98ba75f
pybricks.iodevices: Document pinout.
2026-05-29 15:34:58 +02:00
Laurens Valk
1b69e42b6b
pybricks.iodevices: Update UARTDevice docstrings.
2026-05-29 14:57:53 +02:00
Laurens Valk
47a3d664c2
pybricks.iodevices: Include all classes in index.
...
Some were omitted once EV3 in Pybricks 2.0 was dropped, but they will be included again to prepare for EV3 in Pybricks 4.0.
Enable for Powered UP where relevant, as with UARTDevice.
2026-05-29 14:22:15 +02:00
Laurens Valk
e6cb436c47
pybricks.iodevices: Update I2CDevice docstrings.
2026-05-29 13:41:10 +02:00
Laurens Valk
a8d74720b6
pybricks.iodevices: Update AnalogSensor docstrings.
2026-05-29 12:38:49 +02:00
Laurens Valk
54b4e39360
pybricks.iodevices: Update XboxController docstrings.
2026-05-29 12:32:43 +02:00
Laurens Valk
1f8f0f777a
pybricks.iodevices: Update PUPDevice and LUMPDevice.
...
Also remove Ev3devSensor, which is no longer used.
2026-05-29 12:30:58 +02:00
Laurens Valk
45b9b89d11
pybricks.messaging: Add tests.
2026-05-29 11:48:15 +02:00
Laurens Valk
e0f48b178b
pybricks.messaging: Document AppData.
2026-05-29 11:41:45 +02:00
Laurens Valk
8ed5a489b9
pybricks.messaging.BLERadio: Include raised errors.
2026-05-29 11:24:41 +02:00
Laurens Valk
a2ba8e4dcd
pybricks.hubs: Move .ble to BLERadio.
...
Follows upstream firmware change.
Update tests and examples too.
2026-05-29 11:12:50 +02:00
Frederik Leonhardt and Laurens Valk
7900f03574
jedi: Add tests for methods on hub.ble.
2026-05-28 11:20:54 +02:00
Frederik Leonhardt and Laurens Valk
7014f46441
pybricks.common.BLE: Improve typing for broadcast() and observe()
...
- Add overloads for broadcast(). It accepts either a single value, or a tuple,
or a list.
- Adjust return type of observe(). It either returns a single value, or a tuple.
2026-05-28 11:12:17 +02:00
Frederik Leonhardt and Laurens Valk
7411a246c9
pybricks.common.BLE: Improve typing for hub constructor.
...
Update type hint for broadcast_channel to Optional, as None is allowed.
2026-05-28 11:12:17 +02:00
Lasse Deleuran
3bc2f35e3e
pybricks.iodevices: Added missing functions and parameters.
...
* Added missing functions and parameters to documentation.
- AnalogSensor: Missing parameter "custom".
- I2CDevice: Missing parameters "port", "address", "custom", "powered", and "nxt_quirk" with attempted explanation of parameters.
- UARTDevice: Missing default parameter value.
- LWP3Device: Missing "connect" parameter.
- Added missing connect and disconnnect methods.
- XboxController: Missing documentation in constructor and missing methods.
* Minor changes to the documentation
Made it more clear and less verbose when to skip connect to bluetooth devices.
2026-05-28 10:47:04 +02:00
kai-morich and GitHub
61578b5547
pybricks.parameters: Add/fix operators for Color type.
...
* Implement `Color.__eq__`, fix `Color.__mul__`. This allows testing of color block sorting algorithms with CPython.
* implement `Color.__lshift__` and immutability for completeness.
2026-04-25 11:01:54 -05:00
JoBe and GitHub
c615ccf986
pybricks._common: Fix parameter name in LightMatrix.orientation().
...
The parameter `up` was named `top` here, which does not reflect the state of the current code.
See https://github.com/pybricks/pybricks-micropython/blob/master/pybricks/common/pb_type_lightmatrix.c#L59C25 for usage in the code itself.
2026-03-29 17:41:34 -05:00
Gabriel Couchenour and GitHub
32f974e7e5
Robotics.py: Fix issue with the type stub for DriveBase.angle() ( #165 )
...
The type was changed from `int` to `float` in https://github.com/pybricks/pybricks-micropython/commit/4d457a17fc13d42d9b311df99e05dafaeed67862 .
Technically, it is still `int` on BOOST Move hub (any system without floating point support). But most platforms use `float` so makes sense to have that in the type hints.
2025-09-19 21:53:37 -05:00
Laurens Valk
0efcfd4a36
pybricks.iodevices.LWP3Device: Document new parameters.
2025-06-16 11:05:13 +02:00
Laurens Valk
356f6ffdba
v3.6.1
v3.6.1
2025-05-01 11:30:32 +02:00
Laurens Valk
4967b96ddd
doc/main: Fix trailing whitespace.
...
For some reason this was not caught by CI.
2025-05-01 11:27:33 +02:00
Laurens Valk
116368e4c7
pybricks.hubs: List missing system.info method.
2025-05-01 11:25:56 +02:00
Laurens Valk
5b56249d8c
doc/common/extensions: Drop unused imports.
2025-05-01 11:19:48 +02:00
Laurens Valk
04fb7e3e19
@pybricks/images/v1.4.0
@pybricks/images/v1.4.0
2025-03-19 10:33:59 +01:00
Laurens Valk
5814a73bb1
v3.6.0
v3.6.0
2025-03-11 13:08:17 +01:00