Skip to content

Latest commit

 

History

History
191 lines (116 loc) · 10.4 KB

CHANGELOG.md

File metadata and controls

191 lines (116 loc) · 10.4 KB

ChangeLog

  • All notable changes to the "Windmillcode Snippets 0" extension pack will be documented in this file.

  • Version updates will be based on vscode relesases on every vscode update a new version will be release

  • the software version extends the vscode patch version by 3 zeros giving us 1000 possible updates before there is an update to vscode and extends back to zero

  • you would have to check the CHANGELOG for any breaking, (major), minor or patched updates which will be denoted respectively

[1.85.1000] - 2023-12-27

  • Extension made available to the public ready for use

[1.85.1001] - 2023-12-28

  • [CHANGE] Removed angular jasmine toHaveBeenCalled just use angular jasmine toHaveBeenCalledWith

[1.85.1002] - 2024-01-02

  • update snippets to support wmlanimate from the wml-components-base library

[1.85.1003] - 2024-01-19

  • update in flask route snippet for quicker code

[1.86.1000] - 2-10-2024

  • added arrange act assert comments in flask route test case generator

[1.86.1001] - 2-19-2024

  • updated color var support for the my-rgb-to-filter fn

[1.86.1002] - 2-21-2024

  • update scss.json wml-spacing to only use css variables

[1.86.2000] - 2-21-2024

  • [FIX] updated scss.json wml-spacing put number outside parentheses

[1.87.0] - 3-3-2024

Changes to typescript.json

  • In the TypeScript snippet, the constructor parameter name was changed from params to props.
  • Correspondingly, the variable origParams was renamed to origProps to reflect the change in the constructor parameter.
  • The Object.assign method now uses origProps instead of origParams.

Changes to typescriptreact.json

  • Added a new snippet under the "class" key:
    • The snippet defines an exported class with a constructor that accepts props of type Partial<$1>.
    • Inside the constructor, props is converted to entries, filtered to exclude keys starting with 'param', and then used to assign values to the class instance.
    • A description was added for the snippet: "Creates a class with a filtered constructor".

[1.87.1000] - 3-10-2024

  • [PATCH] Updated the 'data' field in the request body from a string to an empty dictionary in the Python snippets configuration.

[1.87.2000] - 3-15-2024

  • [UPDATE] Changed constructor parameter name from props to params in TypeScript snippets.
  • [PATCH] Updated object assignment to use origParams instead of origProps in TypeScript snippets.
  • [UPDATE] Changed constructor parameter name from props to params in TypeScript React snippets.
  • [PATCH] Updated object assignment to use origParams instead of origProps in TypeScript React snippets.

[1.87.2001] - 3-27-2024

[UPDATE] Introduced a new snippet Scaffold Messenger with Flutter i18n to show localized messages using snackbars, facilitating internationalization in Flutter apps.

[1.87.2002] - 3-27-2024

[UPDATE] - Introduced a new snippet Flutter i18n to show localized messages , facilitating internationalization in Flutter apps.

[1.87.2003] - 3-27-2024

[FIX] - Adjusted the condition in the Scaffold Messenger and Scaffold Messenger with Flutter i18n snippets to use mounted directly instead of context.mounted.

[1.87.2004] - 3-30-2024

[UPDATE]

  • Removed tasks related to Git operations and miscellaneous script executions from .vscode/tasks.json.
    • Task for pushing work to git remote.
    • Task for merging changes from the current development branch.
    • Task for removing all .vsix files.
    • Task for packaging the project and related Git operations.
    • Task for creating a new Go command.

[BUG]

  • Added a new snippet in snippets/dart.json for printing error and stack trace information, enhancing debugging capabilities in Dart files.

[1.87.2005] - 4-08-2024 11:58:00 PM EST

  • [UPDATE] In dart.json, we added a "ProcessRequestFunction" snippet. It's like we wrote down a new method for our program to follow when it needs to process requests using an asynchronous function.
  • [UPDATE] We also introduced a "ProcessRequestCallback" snippet in dart.json. This snippet is like a new set of instructions for our program, helping it handle user accounts and requests asynchronously, especially when it needs to communicate with a server.

[1.87.2006] 4/08/2024 09:04:02 PM EST

  • [PATCH] In the dart.json file, we added a new line to create a result variable that's set to OverlayZeroProcessRequestPredicateResult(). This helps our program handle tasks more effectively by preparing a special spot to store some important info it needs to work with.

[1.88.0] 4/16/2024 10:23:18 AM EST

[UPDATE] Changed the img component in html.json. Added an error event handler to images. Now you can specify what happens if an image fails to load.

[1.88.1000] [4/30/2024 1:00:00 PM EST]

[UPDATE] In typescript.json, we tweaked how you make classes. Now when you type "class", you can make a class with a constructor that filters stuff. Also added a new fancy thing where the class gets a special decorator called WMLConstructorDecorator. This helps when you need a class to do specific things right from the get-go.

[1.89.1000] [5/12/2024 10:00:00 AM EST]

[UPDATE] Updated the return type of the function in snippets/dart.json. The function now returns Future. This change means you'll get detailed result types when you call this function. Remember to handle the Future in your Dart code!

[1.89.1001] [5/12/2024 10:21:00 AM EST]

[UPDATE] In snippets/dart.json, updated how the access token is retrieved within the function. Now, it first stores the current user in a variable before getting the access token. Also changed the error message to better reflect system errors. This makes the code cleaner and error messages clearer for handling issues.

[1.89.1002] [5/25/2024 4:35:22 PM EST]

[FIX] Changed catch clause to include stack trace for error handling in snippets/dart.json.

File impacted:

  • snippets/dart.json

Changes:

  • Modified the catch clause from catch (e) to catch (err, stack) to better handle and log errors.

[1.91.1000] [7/22/2024 1:35:22 PM EST]

[FIX] updated flask route snippet so that the handler is not accessed via the root module greatly improving perforamce

[1.91.1001] 7/24/2024 09:15:45 AM EST

[PATCH] Fixed the error parameter in Async Riverpod provider snippet in snippets/dart.json from err to e. Corrected error parameter name in "Print Flutter Error and StackTrace" snippet in snippets/dart.json from err to e. Updated "Print Error and Stack Trace" snippet in snippets/dart.json to use e instead of err. Changed error handling parameter in try-catch block in snippets/dart.json from err to e for consistency.

[1.91.1002] 7/27/2024 01:15:45 PM EST

[UPDATE] Added generic command options snippet in Go

  • File: snippets/go.json
  • Added: genericCommandOptionsSnippet
  • Prefix: genericCommandOptions
  • Feature: Command options creation snippet for Go developers
  • Description: This snippet helps you create command options quickly and run commands with options using utils.CommandOptions and utils.RunCommandWithOptions functions.

[1.91.1003] 7/27/2024 01:15:45 PM EST

  • [FIX] RENAME TO CommandOptionsSnippet

[1.91.2000] [9/1/2024 12:15:30 PM EST]

[UPDATE] Removed the CSS WMLAnimate snippet from snippets/css.json. If you were using this snippet for keyframe animations, it’s gone now. Check your code. according to @windmillcode/[email protected].

[UPDATE] Removed the SCSS WMLAnimate snippet from snippets/scss.json. Just like in the CSS file, if you relied on this for animations, it’s no longer available according to @windmillcode/[email protected].

[PATCH] Tweaked the WMLAnimateUIProperty snippet in snippets/typescript.json. Now it uses keyFrameStyles instead of the older beginOpenStyles, endOpenStyles, beginCloseStyles, and endCloseStyles. The new approach is cleaner according to @windmillcode/[email protected]. , but you’ll need to update any existing usage of these properties.

[1.92.2000] [9/3/2024 10:17:45 AM EST]

[UPDATE] these changes are for WMLANimateUIProperty now its WMLMotionUIProperty [UPDATE] Changed snippet in html.json: Renamed "Angular animate" to "Angular motion" and updated the prefix from wmlanimate to wmlmotion. Affects the usage of the <i> tag with class bindings and icons.

[UPDATE] Changed snippet in typescript.json: Renamed "angular WMLAnimateUIProperty" to "angular WMLMotionUIProperty". Updated the prefix from wmlanimate to wmlmotion. Affects how you create instances of WMLMotionUIProperty with updated class and keyframe styles.

[UPDATE] Updated the description for "angular WMLMotionUIProperty" in typescript.json to reflect the new name. Make sure you look for WMLMotionUIProperty instead of WMLAnimateUIProperty when searching or using this snippet.

[1.93.1000] [9/19/2024 02:47:13 PM EST]

[UPDATE] You’re now using props instead of params in multiple snippets across javascriptreact.json, typescript.json, and typescriptreact.json. Specifically, this change impacts the constructor function of classes, which now filters out props starting with 'param'. This means if you're writing a class with the provided snippets, use props when passing arguments to the constructor, not params. also made for javascript.json

[1.94.0] [10/5/2024 2:00:00 PM EST]

[UPDATE] Added a new snippet called "TakeVariableArgs" in go.json. Use it to prompt users for multiple answers. [FIX] In html.json, fixed the $event in the img snippet so it works right. [UPDATE] Renamed "Angular motion" snippet to "Angular Animation Motion" in html.json. [UPDATE] Added a new snippet "Angular Transition Motion" in html.json. for the WMLMotionUIProperty transition feature.

[1.95.3000] 11/19/2024 01:45:12 PM EST

[FIX] In html.json, removed [class]="$1.class" from the wmlmotion snippet. This simplifies the snippet and ensures no unnecessary bindings confuse developers.

[UPDATE] In html.json, added the new Angular Transition Motion snippet for the WMLMotionUIProperty transition feature. Use this to define transition motions for your Angular animations.

[CHECKPOINT] In the changelog, logged the updates for the new Angular Transition Motion snippet and renamed Angular motion to Angular Animation Motion.

[1.95.3001] 11/29/2024 01:45:12 PM EST

[UPDATE] added CommandOptionsSnippetForExecutable ideal for generating utils.CommandOptions for processes