Skip to content

Commit fb445ea

Browse files
committed
Prep 6.7.0
1 parent c0c9c04 commit fb445ea

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

CHANGELOG.rst

+22
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,28 @@ Changelog
55
..
66
Fix for 2 static bodies that are changed to dynamic and are attached to constraints
77
8+
Pymunk 6.7.0 (2024-05-01)
9+
-------------------------
10+
11+
**Batch API can set body properties**
12+
13+
This release expands the experimental Batch API introduced in Pymunk 6.6.0.
14+
It now comes with functions to efficiently set properties on the body such as
15+
velocity. Similar to the previous API the new API reduces overhead of the
16+
Python / C bridge, but also makes it very easy to use for example Numpy to
17+
perform calculations over many bodies. The existing planet.py demo has been
18+
updated to showcase the new Batch API and easily toggle between batch / no
19+
batch to see the difference in performance.
20+
21+
Changes:
22+
23+
- Add set body function to pymunk.batch
24+
- Fix crash with sensor shapes in pymunk.batch
25+
- Improved types
26+
- New interactive example to show collisions
27+
- Fix constraints of bodies that change type
28+
29+
830
Pymunk 6.6.0 (2023-11-02)
931
-------------------------
1032

CITATION.cff

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ authors:
66
title: "Pymunk"
77
abstract: "A easy-to-use pythonic rigid body 2d physics library"
88
version: 6.7.0
9-
date-released: 2023-11-02
9+
date-released: 2024-05-01
1010
url: "https://pymunk.org"

LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2007-2023 Victor Blomqvist
1+
Copyright (c) 2007-2024 Victor Blomqvist
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

TODO.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ v6.x
3434
- Remove support for Python 3.7 (check https://pypistats.org/packages/pymunk first)
3535
- After a couple of versions / time passed, re-evaluate if batch api should be separate or merged in to space.
3636
- Think about the copyright notice in some files. Keep / put everywere / remove?
37-
- Constraint private accumulated over previous time step properties are not saved when pickle.
37+
- Constraint private accumulated over previou s time step properties are not saved when pickle.
3838
- Add a test to check that version property is correctly set matching setup.py (and readme?)
3939

4040
v7+ (all potentially breaking changes)

pymunk/examples/using_sprites_pyglet.py

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
that it uses pyglet instead of pygame to showcase sprite drawing.
33
"""
44

5-
__version__ = "$Id:$"
65
__docformat__ = "reStructuredText"
76

87
import math

0 commit comments

Comments
 (0)