Skip to content

Latest commit

 

History

History
168 lines (136 loc) · 6.6 KB

CHANGELOG.md

File metadata and controls

168 lines (136 loc) · 6.6 KB

Change Log

v0.1.29 (27/09/2021)

  • Added docs folder with PyAPIReference's website.
  • Now on inspect_object.py it doesn't get the members with inspect.getmembers(object_), instead it tuple(vars(object_).items()) which will keep the members in the order you defined them.
  • When converting function to markdown it now includes it's parameters.

v0.1.28 (25/09/2021)

  • Added export as markdown options.
  • Added discord link on README.md.

v0.1.27 (25/09/2021)

  • Added Markdown tab where you can create a markdown file based on the tree (and the checkboxes), update it and edit the markdown.
  • When loading file default dir will be the last file dir, if no last file current dir.

v0.1.26 (22/09/2021)

  • If found exception when loading module cancel creation of tree and display the exception onto a label.

v0.1.25 (20/09/2021)

  • Changed code block colors.
  • Now inspect_object do not inspect imported members (if module).
  • InspectObject worker now do not have module_content as class attribute, just as instance.
  • Changed default theme to dark.
  • Added inspect_object_worker_finished and moved all finished.connect to it.

v0.1.24 (20/09/2021)

  • Now using PyQtDarkTheme for both, light and dark theme.
  • Now Fold all action doesn't fold the collapsible widget itself.
  • Moved fonts and images to resources.
  • Fixed create_property_collapsible bug.

v0.1.23 (20/09/2021)

  • CollapsibleWidget now has only 10 of margin at the left to representate indentation.
  • Added context menu to collapsible widget with Fold, Unfold, Fold all and Unfold all actions.
  • Now the tree will show class attributes.
  • Changed scrollarea step from 2 to 5.
  • Removed color pattern from docstring and added to int, str, tuple, list and dict.

v0.1.22 (19/09/2021)

  • Color pattern
    • Now the default value will be a color instead of "default".
    • Created find_object_type_color, which will, given a string representing the type of the object, look up trough colors onto the prefs file for a color for the object type, if no color for the type, default font color.
  • Settings dialog
    • Converted the settings dialog into a class.
    • Settings now in tabs (QTabWidget).
  • When inspecting object if found type type return class instead.
  • theme to THEME (because it's a constant)
  • Added logo_without_background.png image to display on the top of the application.

v0.1.21 (19/09/2021)

  • User can pick color pattern for (classes, functions, parameters) in Settings tab
  • Prefs/settings.prefs
    • Added default color pattern (white for dark mode, black for light mode)
  • Adding more colors soon

v0.1.20 (17/09/2021)

  • When docstring (or other string) has more than one line, create a collapsible for it.
  • Set UbuntuMono as font for the whole app (needed to fix, because menu bar is included).
  • Added UbuntuMono font to assets.

v0.1.19 (17/09/2021)

  • GUI/theme.prefs
    • Added disabled color to buttons.
    • Added custom font.
  • Added loading label when inspecting module.
  • Moved all export actions to Export tree... menu inside File menu.
  • Removed all export actions shortcuts.
  • Added PyAPIReference logo at the top of the window
  • Renamed some thread stuff.

v0.1.18 (17/09/2021)A

  • Changed inspect_object to run on seperate thread. Prevents GUI freezing.
    Visual suggestion: Need to gray out button when disabled

v0.1.17 (17/09/2021)

  • Added breakline after logo on README.md.

v0.1.16 (17/09/2021)

  • Resized logo.png (now 500x263).

v0.1.15 (17/09/2021)

  • Added logo.png, icon.png and icon.ico.
  • Added icon to window.

v0.1.14 (17/09/2021)

  • Fixed export option.

v0.1.13 (16/09/2021)

  • Added restore_geometry and save_geometry methods on MainWindow class.

v0.1.12 (16/09/2021)

  • Fixed PREFS export function.
  • Updated all to new PREFS version.

v0.1.11 (16/09/2021)

  • Moved GUI stuff to GUI folder.

v0.1.10 (16/09/2021)

  • Now annotation support collapsible widget.
  • Settings no more resizable.
  • inspect_object.py
    • Changed way object type was obtained.
    • Get docstring from every object.
    • Now supports multiple function return annotation or parameter annotations.
    • Other str and __name__ stuff.

v0.1.09 (16/09/2021)

  • Changed way collapsible_widget theme works.
  • Restore opened file when closing application (also when applying on settings dialog).
  • If no inherits or no parameters ignore collapsible (instead of displaying and empty one).
  • Created FormLayout on settings_dialog.py that centers the widgets (not like QFormLayout).
    • Added multipledispatch on requirements.txt

v0.1.08 (16/09/2021)

  • Added export as PREFS and YAML options

v0.1.07 (15/09/2021)

  • Added docstrings of objects to tree
  • Fixed bug if default parameter was class or function (get_callable_parameters in inspect_object.py)

v0.1.06 (15/09/2021)

  • Changed widgets margin on collapsible_widget.py.
  • Added get_module_from_path on extra.py (used on main.py).
  • Fixed bug when no annotation on parameters (get_object_properties on inspect_object.py).
  • Made export_as_json more pythonic.
  • Added default filename when Export as JSON which is the module name plus .json.
  • Added recursion when create_object_properties_widgets.
  • inherits property now it's an collapsible object.
  • Added row span to module_content_widget so it fills the screen.

v0.1.05 (14/09/2021)

  • Added option to export object tree as a JSON file
  • Bugs
    • Object tree doesnt display some attributes. Example: Not displaying a = 1 from class Test3 (from example.py)

v0.1.04 (14/09/2021)

  • Fixed bug when window get bigger and removed border on scrollarea.

v0.1.03 (14/09/2021)

  • Added style to the menubar which won't change with the theme.

v0.1.02 (12/09/2021)

  • Addded scrollarea on module collapsible area.
  • Added dark theme.
  • Changed files and folders from PyApiReference to PyAPIReference.
v0.1.01 (12/09/2021)
  • Optimized inspect_object by excluding modules from inspecting.
    • How:
      On get_object_members added exclude_types parameter which it's default value is tuple: (ModuleType) (types.ModuleType), means exclude modules while getting object members.

    • Example:

       import PREFS
      
       def say_hi(name: str):
       	print(f"Hi {name}")

      Will only inspect say_hi and not PREFS.

    • Notes: You need to know that when importing classes or functions from libraries it does inspect them.

       from PREFS import read_prefs_file
      
       def say_hi(name: str):
       	print(f"Hi {name}")

      Will inspect say_hi and read_prefs_file.