Skip to content

Latest commit

 

History

History
276 lines (180 loc) · 22.9 KB

CHANGELOG.md

File metadata and controls

276 lines (180 loc) · 22.9 KB

Changelog

0.5.1 (2023-07-17)

Bug Fixes

  • issue with hook defaults being overwritten when called - remove unneeded code modifies hook (d1dbde0)
  • regression in how args are parsed in main (c9369b2)

0.5.0 (2023-06-18)

Features

  • add enum as field type for declarative hooks (5982df2)
  • remove need to calling hook methods with a period #158 - refactor get_hook (6da2cbe)

Bug Fixes

  • add better exception handling for hook call (877c3fb)
  • allow hook merging into dicts (#107) and fix index issue with merging into lists (2bccc8c)
  • calling hook with kwargs field within loop #166 (db76ea8)
  • match / block hook not handling existing contexts properly #57 #45 #51 (f47e211)

Refactors

  • many functions within the parser (62bdf21)

0.4.11 (2023-03-14)

Bug Fixes

  • add better exception handling for missing key in match hook (64c9ee1)
  • error context showing None for (4b1d1fe)

0.4.10 (2022-12-28)

Provider Changes

  • add more options to filter hidden files / dirs in hook (bb53f3d)

0.4.9 (2022-12-20)

Bug Fixes

  • allow ambiguous keys like 'namespace' to be used as string renderables (c1f1886)

0.4.8 (2022-12-14)

Bug Fixes

  • no_input not being carried into declarative hook calls (236aa4a)

0.4.7 (2022-12-12)

Bug Fixes

  • override blocks / nested inputs (3601fd5)
  • override inputs so that they are able to apply to declarative hook execs and are passed through remote calls (d3ccf0a)

0.4.6 (2022-12-07)

Bug Fixes

  • render vars coming from field in hook that maps a dict to fields (df6846b)

0.4.5 (2022-12-06)

Bug Fixes

  • error using method from hook from dir #113 (1dbf214)
  • render return in dcl hook (9970987)

Provider Changes

  • allow yaml hook to read documents as lists (f2fa091)

Refactors

  • clean up function_exceptions test (7c73c31)
  • more stuff to sudoblockio (77615b1)
  • move repo to sudoblockio (33b3a6d)

0.4.4 (2022-12-03)

Bug Fixes

  • carry call_directory and env through hook calls (cfe1431)
  • error parsing multiple args in declarative hook #106 (6181275)

Provider Changes

0.4.3 (2022-11-28)

Bug Fixes

Refactors

0.4.2 (2022-11-14)

Bug Fixes

  • better excpetion to duplicate values and hacky logic for no_input #104 (46237f8)
  • checkout the right branch with unreleased providers (ddb790d)

0.4.1 (2022-11-14)

Bug Fixes

  • double calling hook with declarative hook field default calling hook (91f9cd1)

0.4.0 (2022-11-13)

Features

  • add ability to call hooks from declarative hook field defaults (8e6d503)
  • add ability to print output in yaml/toml/json from CLI (417526d)
  • add help screen for running tackle files (b054d2b)
  • add hook_dirs field so that tests can import hooks from another directory (c0b16b2)
  • allow hooks args and kwargs to be supplied as a param (a62b4db)
  • segregate hooks into public and private with ability to call them externally by supplying args/kwargs/flags via CLI (2395f91)

Bug Fixes

  • add in JinjaHook to avoid error #90 (ee3b036)
  • install requirements.txt install when there is a ModuleNotFound error on importing a provider's hook (047f542)

Refactors

Provider Changes

  • add hook (ad5b86b)
  • add hook in tackle provider (40cf028)
  • add ability to run tackle hook with args that map to default hooks args (d1c72d2)
  • add skip_overwrite_files and skip_overwrite_files to generate hook (95f31b0)
  • add update section hook (9fac6fb)
  • add wip hook for calling arbitrary CLIs (2a15c82)

0.3.0 (2022-08-28)

Features

  • add ability to call declarative hook nested methods (a44165b)
  • add auth handler for web requests pprovider (b635dc3)
  • add cleanup function for when we have unquoted strings in hook args which can lead to frustrating errors that are hard to debug (47871b3)
  • add datetime provider (b8b0cfd)
  • add default kwargs mapper field so that by default, extra fields can be mapped to another attribute (94fc9e9)
  • add fzf to select hook (3a295c8)
  • add override key to cli and main to override input key (248dbb0)
  • add toml support (d4698df)
  • add xdg and comply with spec to change location of takle directory and add tests for importing (dd0cccb)
  • rm PartialModelMetaclass which simplifies model creation / tmp rm jinja filters (21b4417)

Bug Fixes

  • drop used hooks from globals to fix second use of hook bug which didn't reinitialize and catch errors better (f836229)
  • error passing context to jinja hook calls (cfdda49)
  • fixture that had invalid validator (8dbf575)
  • issue with non-defaulted base parameters when calling declarative hook methods (da315d9)
  • issue with unquoted string cleanup function on empty dicts: (b1e8b3f)
  • nested declarative hook nested method call (d9cbf11)
  • print in the case of non list / dict outputs (11ea041)
  • update hook to actually update the values instead of overwriting them (6a767bc)

0.3.0-beta (2022-08-28)

Features

  • rm PartialModelMetaclass which simplifies model creation / tmp rm jinja filters (21b4417)
  • add ability for declarative hooks to be run as jinja extensions and filters (d6e3dea)
  • add ability to default render context when no hook provided (0e89c0e)
  • add auth handler for web requests pprovider (b635dc3)
  • add basic function parser without exec (4161410)
  • add better exception handling that returns context with the error (fb0f466)
  • add cleanup function for when we have unquoted strings in hook args which can lead to frustrating errors that are hard to debug (47871b3)
  • add datetime provider (b8b0cfd)
  • add find-in-parent cli flag and in tackle to search for tackle file in parent (daee9d2)
  • add fzf to select hook (3a295c8)
  • add implicit value for an empty tackle call - searching for nearest tackle (c5dd034)
  • add latest flag to pull latest version (8c3b687)
  • add mkdocs and first pass on documentation (be92f89)
  • add override key to cli and main to override input key (248dbb0)
  • add provider docs hook and docs code generator (2befdc5)
  • add toml support (d4698df)
  • add try method without any except (6c33dbc)
  • add xdg and comply with spec to change location of takle directory and add tests for importing (dd0cccb)
  • get else and except working and fix out of order macros (9f018e2)
  • implement initial hook methods (67cf309)
  • implement memory maangement with public private temp and existing contexts (b37392e)
  • implement methods on declarative hooks (60f620f)
  • initial collections provider (ffcd272)
  • make parser generic - mid overhaul (6fbda6a)
  • new parsing order logic and hook syntax (91e37cd)
  • provider overhaul for 0.3.0 release (070caaa)
  • README: added cookiecutter-django-rest (f173ef6)
  • README: added cookiecutter-es6-boilerplate (dc533d4)
  • redo rendering to include special vars lazy lookup and remove slugify extension (8ebf200)
  • remove pre hook init object (hook_dict) and get loops working (1fab36c)
  • rm click dependency and use argparse (60b98e6)
  • update all system hooks with descriptions and arguments (ac56486)
  • update parser to render variables more selectively and before they are used to initialize a hook (1b160ca)
  • upgrade PyInquirer to InquirerPy (62b68e4)

Bug Fixes

  • issue with non-defaulted base parameters when calling declarative hook methods (da315d9)
  • issue with unquoted string cleanup function on empty dicts: (b1e8b3f)
  • add exception for unknown variables the same as hook_types closes #55 (b0b47ea)
  • add field for functions (1a56f74)
  • add smart_union to fix mangling of list inputs (971ca88)
  • args refactor in docs hook (0163d99)
  • checkbox hook with new API (6e0b532)
  • compact expression macro reindex based on key_path_block correctly (a53942a)
  • compact key macro to preserve order (7ecf467)
  • declarative hooks using base object types and validations (a3aa32d)
  • distinguish types with merge (6c3bbed)
  • docs gen problem hooks copy over (ff2a7f8)
  • drop used hooks from globals to fix second use of hook bug which didn't reinitialize and catch errors better (f836229)
  • else condition with bools, ints, and floats (c2ce7b4)
  • embedded blocks issue with copying over key_path (00f7ce8)
  • extends in declarative hooks (8b33e6c)
  • fixture that had invalid validator (8dbf575)
  • for checkbox hook return all when checked and no_input (a659901)
  • for temporary contexts which in edge cases can have unusable single values written them (003563e)
  • function return ref (8265151)
  • keyboard interrupt handling in prompts (fe112d0)
  • load context on tackle hook with right precedence (760cb61)
  • match hook block macro not indenting block matches properly (12cfc55)
  • merge dict in block (ec8d3d9)
  • move try back into parser so it doesn't automatically write None to output - only on except (797c776)
  • parsing error from ruamel fix macro on empty items (1e460b9)
  • print in the case of non list / dict outputs (11ea041)
  • readable key path for prompt messages (9bfaa7f)
  • readable key path for string (6ee040e)
  • rebuild block hook indexing so that writes happen directly to output_dict (874a046)
  • remove choices and default args from prompt hooks - only message now (ca135dd)
  • ruamel parsing error macro that messed up empty keys (c6bc582)
  • ruamel parsing error with un-quoted braces that returns ambiguous ordered dict and jams parser (bd6922f)
  • update hook to actually update the values instead of overwriting them (6a767bc)
  • warning about invalid escape of , in command lexer (6849824)
  • yaml hook - force output to be string with extra json #56 (80a956f)