Skip to content

Releases: Atlamillias/DearPyPixl

1.2.6

19 Nov 06:07
Compare
Choose a tag to compare

Fixes:

  • an internal helper function formerly relied on inspecting the frame stack, which would break when frozen

1.2.4

25 Oct 21:26
Compare
Choose a tag to compare

Fixes:

  • [Python 3.12] no longer raises AssertionError on import
  • [typing] module contents can now be correctly inspected by type checkers
  • [themes] calling functions would sometimes raise AttributeError
  • [console] InteractivePython's input field resizer would occasionally break when using a non-default font
  • [api] Registry.windows() now returns only window item identifiers (formerly returned the direct result of dearpygui.get_windows, which includes ALL top-level items)
  • [api] Registry.root_items() no longer returns the exact opposite of what's intended
  • Interface class .command members were bound to the pre-patched DearPyGui function
  • Corrected branching logic within the interface function based on the inclusion of the initialize keyword argument
  • Fixed the wonky error message thrown when constructing an interface instance using a new alias
  • delay_search and before are now excluded from "item configuration"

Misc:

  • Improved the error message thrown when calling the .configure or .configuration methods of an interface whose target item no longer exists
  • Functions within the color and style modules are now typed to accept variadic keyword arguments
  • The performance of the item interface method .configuration has been significantly improved

Full Changelog: 1.2.0...1.2.4

1.2.0

17 Oct 18:28
Compare
Choose a tag to compare

Changes

  • dearpygui.grid has been completely rewritten, although the API is mostly the same. It is now also completely detached from the rest of the library (it will have its' own repo soon).
  • Dear PyPixl now plays nice with packaging frameworks.
  • Corrected typing for Dear PyGui's buffer types, and added them to dearpypixl.typing.

Full Changelog: 1.1.2...1.2.0

1.1.2

22 Sep 21:00
Compare
Choose a tag to compare

Breaking:

  • corrected Applications .version property, which was misspelled as .verison

New:

  • Runtime:
    • added methods .get_exit_callback, .set_exit_callback
    • added the optional keyword argument debug_aware the .start method
  • added the menu module (experimental -- a warning is issued during import)
  • added the .identify method to ThemeElementTypes

Fixes:

  • fixed an issue where the wrong Table API was used depending on the installed dearpygui version
  • the SupportsSized mixin now properly returns calculated values for the rect_min/max properties when necessary
  • Viewports "fullscreen" behaviors no longer do the opposite of what was intended

Misc;

  • the AppItemType.root_parent property is now much more likely to return a proper item interface instead of an instance of mvAll
  • changed the dependent dearpygui version to >= 1.9.0 (formerly locked to 1.9.x)

1.1.0

14 Sep 01:14
f2241c2
Compare
Choose a tag to compare

Breaking;

  • Removed the interface module. Public contents are now available in the typing module.

Additions;

  • themes module containing functions that return a theme preset
  • expanded the events module with stuff

Fixes;

  • name(space) collisions

1.0.4

08 Sep 18:27
5771b02
Compare
Choose a tag to compare
Merge pull request #17 from Atlamillias/v1.0.x

1.0.4

1.0.0

04 Sep 02:29
Compare
Choose a tag to compare
misc (Runtime): `.queue` typing

0.3.1

28 Aug 00:50
Compare
Choose a tag to compare

I'm sure I'll remember to edit this.

0.2.33

05 Aug 22:39
Compare
Choose a tag to compare
0.2.33 Pre-release
Pre-release

Changes

  • app module:
    • better organization for contents of <class 'Viewport'>, visually seperating the public API from the internal API
    • more comments and doctrings added to <class 'Viewport'>\
    • moved the bulk of the setup from Viewport.__init__ to a private method
    • the setup process for <class 'Viewport'> instance has been cleaned up and slightly simplified
    • theme parameter added to <class 'Viewport'> and can now be included on-call
    • (Windows-only) new methods for <class 'Viewport'>: set_transparent_color, restore_color, disable_virtual_scaling enable_virtual_scaling (Note: the first two are replacing module-level functions use_hardware/virtualized_resolutions)
    • (Windows-only) disable_virtual_scaling is now always called during instance setup (call enable_virtual_scaling if this is undesired)
  • item module, <class 'Item'>:
    • the staged_init method has been temporarily removed, until I find a better means of implementation
    • the configure method now calls setattr and is no longer limited to internal configuration options (previously was equivelent to calling dearpygui.configure_item(self.id, **config))
    • some methods have been renamed: remove -> delete, refresh -> renew, state -> get_states
    • some methods have been moved to the <class 'Widget'> subclass
  • (new) _c_types module/subpackage (internal-only but documenting for completeness)
  • (dev) new <class 'Widget'> method duplicate (crudely implemented for now, will revise)

Works-in-progress, thoughts, etc.

  • add more examples/tutorials to README.md
  • parsing and dumping constants to ./dpgwidgets/libsrc/constants.py, refactor, or re-implement ./dpgwidgets/constants.py
  • considering subpackaging some modules in ./dpgpwidgets (widgets.py, drawing.py, etc) for organized re-implementation of specific items:
    • most, if not all of the non-container items in the drawing module could be methods of those containers instead, similar for the node module but I'm unsure if this is something people would want
    • this would also make it easier to include custom/"homebrew" items
  • make the duplicate method "better" in every sense of the word...

It's on testpypi: https://test.pypi.org/project/dpgwidgets/

0.2.12 Changes

03 Aug 19:06
Compare
Choose a tag to compare

Changes

  • script rewrite for creating the underlying lib:
    • is now easier (for me) to maintain
    • output directory name is now libsrc, which dpgwidgets imports as dpglib
    • .py files output now include all
    • .py files output now include the original docstrings
  • the library will now be written/updated on import by default (set dpgwidgets.AUTO_UPDATE to False to change this)
  • a warning will be shown if a PermissionError was raised trying to write the library
  • directory structure has changed
  • more comments and docstrings added throughout source code
  • container, widgets, drawing, plotting, and node modules (and their objects) can now be explicitly imported from dpgwidgets
  • item and widget modules are no longer marked as private
  • Viewport class updated to support the recent parameters changes in DearPyGui 0.8.53
  • trying to create a second instance of Viewport will now raise a ViewportError
  • several Viewport methods are now classmethods
  • new Viewport methods: frame_count, runtime, framerate, get_mouse_pos, get_render_callable, on_render
  • new Viewport properties: is_running, local/global_mouse_delta, local/global_mouse_pos

On testpypi: pip install -i https://test.pypi.org/simple/ dpgwidgets