godot-4.3-stable
版本发布时间: 2024-08-15 21:05:45
godotengine/godot-cpp最新发布版本:godot-4.3-stable(2024-08-15 21:05:45)
What's Changed
- Prevent
-Wtype-limits
warning on GCC 11 due to unsigned comparison by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1323 - CMake: Remove hardcoded warnings list and forcing -Werror on library builds by @akien-mga in https://github.com/godotengine/godot-cpp/pull/1324
- Bump actions/setup-python from 4 to 5 by @dependabot in https://github.com/godotengine/godot-cpp/pull/1329
- Add PackedRealArray as an alias for PackedFloat(32/64)Array by @aaronfranke in https://github.com/godotengine/godot-cpp/pull/1340
- Allow detecting when building as a GDExtension by @aaronfranke in https://github.com/godotengine/godot-cpp/pull/1339
- Add an error message if android NDK is not installed by @ArchLinus in https://github.com/godotengine/godot-cpp/pull/1344
- Fix expected argument count for call errors by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1346
- Add
Vector2i/3i/4i
methods:distance_to
anddistance_squared_to
by @Chubercik in https://github.com/godotengine/godot-cpp/pull/1347 - Add missing
OP_POWER
operator toVariant
by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1349 - Remove "godot" namespace when binding global constants. by @Daylily-Zeleen in https://github.com/godotengine/godot-cpp/pull/1351
- Update README.md with basic pre-requisites by @nightblade9 in https://github.com/godotengine/godot-cpp/pull/1354
- Fix
AABB.encloses
failing on shared upper bound by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1360 - Rework GDCLASS macro to allow abstract classes by @Naros in https://github.com/godotengine/godot-cpp/pull/1359
- Switch to 64-bit ints. by @bruvzg in https://github.com/godotengine/godot-cpp/pull/1357
- Update README: fix godot-cpp issue tracker url by @MJacred in https://github.com/godotengine/godot-cpp/pull/1370
- Added newer Variant types to
typed_array.hpp
by @allenwp in https://github.com/godotengine/godot-cpp/pull/1384 - Fix object return value of builtin types' methods. by @Daylily-Zeleen in https://github.com/godotengine/godot-cpp/pull/1363
- Allow GDExtensions to register virtual methods and call them on scripts (godot-cpp support) by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1377
- [SCons] Add support for custom build tools and platforms by @Faless in https://github.com/godotengine/godot-cpp/pull/1391
- Use latest doc version in issue template by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1367
- [SCons] Split
targets.py
, apply flags from tools by @Faless in https://github.com/godotengine/godot-cpp/pull/1392 - Allow registering "runtime classes" by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1256
- [Core] Improve
CowData
andMemory
metadata alignment. by @bruvzg in https://github.com/godotengine/godot-cpp/pull/1383 - Fix crash on virtual method calls by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1404
- Fix
_notification()
with parent and child classes by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1381 - Fix explicit namespaces in macros by @Zylann in https://github.com/godotengine/godot-cpp/pull/1408
- Fix invalid
void
return inBitField
by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1407 - Use explicit
::godot
namespace in gdvirtual.gen.inc by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1412 - [Packed*Array] Add support for initializer lists. by @bruvzg in https://github.com/godotengine/godot-cpp/pull/1399
- Add support for getting argument count from
Callable
s by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1375 - Load new
script_instance_create3
GDExtension interface function by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1397 - Avoid creating most objects that Godot is going to use placement new to initialize (mark 2) by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1379
- Enforce template syntax
typename
overclass
by @Repiteo in https://github.com/godotengine/godot-cpp/pull/1409 - Add extension support for argument count to
ScriptInstance
by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1413 - Change cmake required to v3.13 by @ytnuf in https://github.com/godotengine/godot-cpp/pull/1417
- Fix incorrect utility call signature by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1422
- Use
GDREGISTER
defines in example by @Repiteo in https://github.com/godotengine/godot-cpp/pull/1435 - Bump mymindstorm/setup-emsdk from 13 to 14 by @dependabot in https://github.com/godotengine/godot-cpp/pull/1371
- Implement
verbose
toggle from godot repo by @Repiteo in https://github.com/godotengine/godot-cpp/pull/1364 - Fix Projection create_orthogonal being incorrect by @thimenesup in https://github.com/godotengine/godot-cpp/pull/1438
- Fix PropertyInfo to use hint/usage default constants by @Naros in https://github.com/godotengine/godot-cpp/pull/1440
- [Math] Add
is_finite
methods by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1436 - Implement to/from dict helpers for PropertyInfo/MethodInfo by @Naros in https://github.com/godotengine/godot-cpp/pull/1443
- Fix create instance func by @pupil1337 in https://github.com/godotengine/godot-cpp/pull/1431
- Give compile-time error if registering a class without its own
_bind_methods()
function by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1448 - Correctly handle
Object *
arguments that were encoded asnullptr
by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1405 - Allow forwarding from
ClassDB
toClassDBSingleton
to support enumerations by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1445 - Add scalar versions of
Vector*
min/max/clamp/snap(ped)
by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1437 - [Core] Add
LocalVector::has
for convenience by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1455 - Add support for
PackedVector4Array
by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1456 - Allow submitting documentation to the Godot editor by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1374
- Update
free_property_list
callback to take count by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1450 - Attempt to fix recent CI failures on
master
branch by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1461 - Clean up instance bindings for engine singletons to prevent crash by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1458
- Fix README Examples and Templates TOC Entry by @aarjaneiro in https://github.com/godotengine/godot-cpp/pull/1462
- [Core] Reduce and prevent unnecessary random-access to
List
by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1457 - [SCons] Add option to build without threads by @Faless in https://github.com/godotengine/godot-cpp/pull/1451
- Mark return value of
get_class_static
andget_parent_class_static
as const. by @Daylily-Zeleen in https://github.com/godotengine/godot-cpp/pull/1463 - Fix NOTIFICATION_POSTINITIALIZE sent twice to native parent classes by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1447
- Catch up with minor changes to
gdextension_interface.h
by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1473 - Explicitly refer to
godot
namespace inGDREGISTER_*_CLASS()
macros by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1477 - Fix undefined symbol error on Linux with virtual methods that take
Node *
arguments by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1484 - Fix warnings emitted with -Wall by @richardhozak in https://github.com/godotengine/godot-cpp/pull/1478
- Fix tests after upstream change to
Node::to_string()
by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1486 - [TextServer, GDExtension] Fix building text servers as GDExtension, expose new/changed low-level methods to GDExtension API. by @bruvzg in https://github.com/godotengine/godot-cpp/pull/1479
- Fix generating default values for
StringName
by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1487 - Fix vararg methods forwarded to the
ClassDB
singleton by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1485 - Add default argument processing for
NodePath
by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1488 - Set instance and instance binding in
Wrapped
constructor. by @Daylily-Zeleen in https://github.com/godotengine/godot-cpp/pull/1446 - Allow selecting Godot version to run the tests with by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1493
- Add support for build profiles. by @Faless in https://github.com/godotengine/godot-cpp/pull/1167
- [Web] Force emcc to use "wasm" longjmp mode by @Faless in https://github.com/godotengine/godot-cpp/pull/1489
- [CI] Update macOS workers to macos-latest by @Faless in https://github.com/godotengine/godot-cpp/pull/1496
- Enforce
p_
prefixes for arguments in binds by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1490 - Fix some style details in generation by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1423
- Add missing enum & ctor for PackedVector4Array implementation by @Naros in https://github.com/godotengine/godot-cpp/pull/1497
- Replace legacy hooks with
pre-commit
Python tool by @Repiteo in https://github.com/godotengine/godot-cpp/pull/1504 - Fix
#include
formatting by @Repiteo in https://github.com/godotengine/godot-cpp/pull/1505 - Add
.editorconfig
, consolidate.gitattributes
by @Repiteo in https://github.com/godotengine/godot-cpp/pull/1506 - SCons: Add
silence_msvc
option for Windows by @Repiteo in https://github.com/godotengine/godot-cpp/pull/1507 - Fix sharing of typed arrays from constructor by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1483
- Fix argument metadata when binding methods by @YuriSizov in https://github.com/godotengine/godot-cpp/pull/1509
- Remind developers about
memnew()
in crash message when missing binding callbacks by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1510 - Unexpose
UtilityFunctions::is_instance_valid()
by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1513 - [CI] Upload build cache before running tests by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1519
- SCons: Remove old Python 2 compat code by @akien-mga in https://github.com/godotengine/godot-cpp/pull/1530
- Add hot reload support to CMakeLists.txt by @pimms in https://github.com/godotengine/godot-cpp/pull/1330
- Make sure
_get
and_set
dispatch up the class hierarchy by @Naros in https://github.com/godotengine/godot-cpp/pull/1539 - Use GitHub admonition syntax for the warning in README by @Calinou in https://github.com/godotengine/godot-cpp/pull/1543
- Removes warnings generated by GDCLASS usage by @Klaim in https://github.com/godotengine/godot-cpp/pull/1545
- Fix missing type info for PackedVector4Array by @aaronfranke in https://github.com/godotengine/godot-cpp/pull/1546
- gdextension: Sync with upstream commit 77dcf97d82cbfe4e4615475fa52ca03da645dbd8 (4.3-stable) by @Naros in https://github.com/godotengine/godot-cpp/pull/1550
New Contributors
- @ArchLinus made their first contribution in https://github.com/godotengine/godot-cpp/pull/1344
- @Chubercik made their first contribution in https://github.com/godotengine/godot-cpp/pull/1347
- @nightblade9 made their first contribution in https://github.com/godotengine/godot-cpp/pull/1354
- @Naros made their first contribution in https://github.com/godotengine/godot-cpp/pull/1359
- @MJacred made their first contribution in https://github.com/godotengine/godot-cpp/pull/1370
- @allenwp made their first contribution in https://github.com/godotengine/godot-cpp/pull/1384
- @ytnuf made their first contribution in https://github.com/godotengine/godot-cpp/pull/1417
- @thimenesup made their first contribution in https://github.com/godotengine/godot-cpp/pull/1438
- @pupil1337 made their first contribution in https://github.com/godotengine/godot-cpp/pull/1431
- @aarjaneiro made their first contribution in https://github.com/godotengine/godot-cpp/pull/1462
- @richardhozak made their first contribution in https://github.com/godotengine/godot-cpp/pull/1478
- @pimms made their first contribution in https://github.com/godotengine/godot-cpp/pull/1330
Full Changelog: https://github.com/godotengine/godot-cpp/compare/godot-4.2-stable...godot-4.3-stable