Skip to content

Latest commit

 

History

History
199 lines (128 loc) · 7.45 KB

changelog.md

File metadata and controls

199 lines (128 loc) · 7.45 KB

Changelog

Upcoming

  • Deprecated unrealsdk.hooks.inject_next_call in favour of a new unrealsdk.hooks.prevent_hooking_direct_calls context manager.

    59f474fe

  • The WeakPointer constructor can now be called with no args, to create a null pointer.

    59f474fe

  • As with unrealsdk, reworked the configuration system to no longer rely on environment variables. All sdk configuration is now also done through the unrealsdk.toml.

    The full contents of the unrealsdk config are parsed and exposed to Python in unrealsdk.config.

    ecde0a83

v1.4.0

  • Fixed weak pointer type hinting to allow for null pointers. This always worked at runtime.

    1cbded47

  • Added support for Delegate and Multicast Delegate properties.

    04d47f92, 2876f098

  • Added a repr to BoundFunction, as these are now returned by delegates.

    22082579

  • The WrappedStruct constructor can now be used to construct function arg structs, like what's passed to a hook. This does not also apply to unrealsdk.make_struct, since function names conflict far more often.

    5e2fd0df

  • Removed the suggestion to return Ellipsis in hooks when overwriting a return value but not blocking execution. This still works at runtime, but is no longer present in the type hinting, since it made Ellipsis be typed as a valid return in several places it shouldn't have been, and it's an obscure use case to begin with.

    1711c1a8

unrealsdk v1.4.0

For reference, the unrealsdk v1.4.0 changes this includes are:

  • Fixed that UE3 WeakPointers would always return null, due to an incorrect offset in the UObject header layout.

    aca70889

  • Added support for Delegate and Multicast Delegate properties.

    4e17d06d, 270ef4bf

  • Changed unrealsdk::hook_manager::log_all_calls to write to a dedicated file.

    270ef4bf

  • Fixed missing all CallFunction based hooks in TPS - notably including the say bypass.

    011fd8a2

  • Added the offline mode say crash fix for BL2+TPS as a base sdk hook.

    2d9a36c7

v1.3.0

Also see the unrealsdk v1.3.0 changelog here.

  • Added bindings for the new classes introduced in unrealsdk v1.3.0 - WeakPointer, ULazyObjectProperty, USoftObjectProperty, and USoftClassProperty

    18294df4, 7e724f1e, 6558e1cc

  • Fixed that hooks could not always be removed after adding, or that they might not always fire.

    unrealsdk@227a93d2

v1.2.0

Also see the unrealsdk v1.2.0 changelog here.

  • Added bindings for the new classes introduced in unrealsdk v1.2.0 - UByteAttributeProperty, UComponentProperty, UFloatAttributeProperty, UIntAttributeProperty, and UByteProperty::Enum.

    ab211486

  • Getting a byte property which has an associated enum will now return the appropriate Python enum, in the same way as an enum property does. Byte properties without an enum still return an int.

    ab211486

  • Fixed that it was impossible to set Python properties on unreal objects.

    8b75fbbf, 730a813f

  • Changed the log level specific printers, unrealsdk.logging.error et al., to each use their own, logger objects rather than modifying sys.stdout in place.

    285e276a, 34e190b6

  • Added the PYUNREALSDK_PYEXEC_ROOT env var to let you customize where pyexec commands are run relative to.

    fdbda407

  • Fixed that a fully qualified unrealsdk.find_class would not allow subclasses. This was most notable with blueprint generated classes.

    unrealsdk@643fb46e

  • Updated various docstrings and type stubs to be more accurately.

    d66295ef, 0df05cea, 285e276a

  • Restructured CMake to allow you to define the Python version to link against directly within it, similarly to unrealsdk.

    set(UNREALSDK_ARCH x64)
    set(UNREALSDK_UE_VERSION UE4)
    set(EXPLICIT_PYTHON_ARCH win64)
    set(EXPLICIT_PYTHON_VERSION 3.12.3)
    
    add_subdirectory(libs/pyunrealsdk)

    abca72b3

  • Release the GIL during unreal function calls, to try avoid a deadlock when running with UNREALSDK_LOCKING_PROCESS_EVENT.

    31fdb4ee

  • Upgraded pybind.

    b1335304

v1.1.1

  • Updated CI and stubs to Python 3.12

    0d0cbce9

v1.1.0

Also see the unrealsdk v1.1.0 changelog here.

  • Add support for debugpy., to let it trigger python breakpoints on other threads. See the new Debugging section in the readme for more.

    082f1252

  • Add bindings for:

    • unrealsdk.load_package

      82e56fe4

    • UObject._path_name - which does not include the class, in contrast to __repr__.

      363fbe48

    • UStruct._superfields

      2f5dca2d

  • Add const getters to StaticPyObject.

    8edc4580

  • Add support for building using standard GCC-based MinGW. This is not tested in CI however, as it requires a newer version than that available in Github Actions.

    d692f0e9, 2727b17c

  • Update stub linting, and do a few minor fixups.

    84aedc62, a228b56e

v1.0.0

  • Initial Release