-
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
- Extension made available to the public ready for use
- [CHANGE] Removed angular jasmine toHaveBeenCalled just use angular jasmine toHaveBeenCalledWith
- update snippets to support wmlanimate from the wml-components-base library
- update in flask route snippet for quicker code
- added arrange act assert comments in flask route test case generator
- updated color var support for the my-rgb-to-filter fn
- update scss.json wml-spacing to only use css variables
- [FIX] updated scss.json wml-spacing put number outside parentheses
- In the TypeScript snippet, the constructor parameter name was changed from
params
toprops
. - Correspondingly, the variable
origParams
was renamed toorigProps
to reflect the change in the constructor parameter. - The
Object.assign
method now usesorigProps
instead oforigParams
.
- Added a new snippet under the "class" key:
- The snippet defines an exported class with a constructor that accepts
props
of typePartial<$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".
- The snippet defines an exported class with a constructor that accepts
- [PATCH] Updated the 'data' field in the request body from a string to an empty dictionary in the Python snippets configuration.
- [UPDATE] Changed constructor parameter name from
props
toparams
in TypeScript snippets. - [PATCH] Updated object assignment to use
origParams
instead oforigProps
in TypeScript snippets. - [UPDATE] Changed constructor parameter name from
props
toparams
in TypeScript React snippets. - [PATCH] Updated object assignment to use
origParams
instead oforigProps
in TypeScript React snippets.
[UPDATE] Introduced a new snippet Scaffold Messenger with Flutter i18n
to show localized messages using snackbars, facilitating internationalization in Flutter apps.
[UPDATE] - Introduced a new snippet Flutter i18n
to show localized messages , facilitating internationalization in Flutter apps.
[FIX] - Adjusted the condition in the Scaffold Messenger and Scaffold Messenger with Flutter i18n snippets to use mounted directly instead of context.mounted.
[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.
- [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.
- [PATCH] In the
dart.json
file, we added a new line to create aresult
variable that's set toOverlayZeroProcessRequestPredicateResult()
. This helps our program handle tasks more effectively by preparing a special spot to store some important info it needs to work with.
[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.
[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.
[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!
[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.
[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)
tocatch (err, stack)
to better handle and log errors.
[FIX] updated flask route snippet so that the handler is not accessed via the root module greatly improving perforamce
[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.
[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
andutils.RunCommandWithOptions
functions.
- [FIX] RENAME TO CommandOptionsSnippet
[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.
[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.
[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
[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.
[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
.
[UPDATE] added CommandOptionsSnippetForExecutable ideal for generating utils.CommandOptions for processes