Skip to content

Releases: vexx32/PSKoans

PSKoans v0.67.1

06 Jul 04:18
Compare
Choose a tag to compare

Bug Fixes

  • Resolved an issue where Show-Karma -Module $name was not working correctly.
  • Changed -Contemplate to use -NoNewWindow for the editor process to avoid popping additional console windows needlessly.
  • Miscellaneous fixes to koan topics (thanks @devlincashman!)

Enhancements

  • Reworked Show-Karma's parameter sets to allow -Module to be used alongside -Contemplate.

Commit Log

Hash Name Subject
94faddd @vexx32 🐛 Fix Issue with Modules Koans (#399)
247dcc1 @vexx32 🐛 Add -NoNewWindow to Start-Process in Show-Karma -Meditate (#397)
f81479b @vexx32 ♻️ Misc additional fixes (#396)
874f27c @devlincashman ♻️ Small fixes for typos and clarity (#387)
c6d7968 @vexx32 ♻️ Replace references to master branch

PSKoans v0.67.0

31 May 18:38
Compare
Choose a tag to compare

Changes

  • Refactor of AboutCmdletVerbs to make things clearer.

Dbatools Koans

  • Added a set of koans for the dbatools module (thanks @shaneis!)

These have been in the works for well over a year now, and Shane has done a great job of laying out the foundational principles and commands used in dbatools.

If you want to check these out, you'll first need to have the dbatools module installed from the PowerShell Gallery, and then call Show-Karma with -Module dbatools.

If there are any issues, let us know. 🙂

Bugfixes

  • Fixed several issues in AboutCsvCmdlets (thanks @johnheusinger!)
  • Fixed several issues in AboutRegularExperssions (thanks @udubnate!)
  • Fixed an issue in AboutGetMember where the wrong test was being used (thanks @HLupfert!)
  • Fixed an issue in AboutArrays (thanks @devlincashman!)
  • Fixed some issues in AboutPSObjects (thanks @Maamue!)
  • Fixed an issue in AboutStringBuilder (thanks @Maamue!)
  • Pinned the Pester dependency to 4.10.1 in the manifest so PSKoans won't try to use Pester v5 and break until we get things updated.

Commit Log

Hash Name Subject
915ea5c @vexx32 ⬆️ Pin Pester dependency (#392)
1bb29d7 @udubnate 🐛 AboutRegularExpressions-fixed scoping and validation issues (#388)
e40c60a @johnheusinger 🐛 Adjust typos, parameters, remove unused lines (#390)
cc41ad3 @shaneis ✨ Add Dbatools Koans (#140)
3a64219 @HLupfert 🐛 Use correct test in AboutGetMember (#386)
fa538b0 @vexx32 🎨 Move to EZOut for formatting (#382)
8dcd4e8 @devlincashman 🐛 Add missing $array variable (#385)
b16400c @vexx32 ♻️ Refactor AboutCmdletVerbs (#378)
6d5fcb6 @Maamue 🐛 🔧 fixes problematic assertions in AboutPSObjects (#381)
497abaa @Maamue 🐛 fixes wrong variable used in AboutStringBuilder (#380)
6c8c91a @vexx32 🚀 Update PR conditional
da49dce @vexx32 🚀 Use more readable date format
9f99740 @vexx32 🚀 azure docs lie
fd68c03 @vexx32 🚀 Use proper Null literal
24d7c4c @vexx32 🚀 Update build version string
630becd @vexx32 🚀 Update artifact download / publish steps

refs/tags/v0.67.0: v0.67.0

31 May 03:50
Compare
Choose a tag to compare
:rocket: version bump

v0.66.2 - Fixes & Improvements

12 Mar 20:12
Compare
Choose a tag to compare

Bugfixes

Topic - AboutEnumeration

  • There was a missing closing brace for one of the It blocks in this file, so I'd recommend doing a full Reset-PSKoan -Topic AboutEnumeration to be sure the file structure is correct.
  • I suspect doing Update-PSKoan on this file may result in some interesting behaviour due to the AST structure being very off from what's actually expected, but I've not verified how buggy that will be.
  • Once the file has been reset from the previous, broken state it should be safe to update.

Improvements

  • Enable Show-Karma -Topic $someTopic -Contemplate to allow opening just a specific topic file.
  • Updates to build pipeline.

Commit Log

Hash Subject
2fd7167 ✨ (#376) [Show-Karma] Enable -Contemplate with -Topic (#377)
1f58ac5 🔧 use version-appropriate tryparse method (#374)
025c095 (#372) Fix issues in AboutEnumeration (#373)
1a0fb29 🚀 Convert Deployment step to Deployment Job & Publish Artifacts to GH Release (#371)

refs/tags/v0.66.2: v0.66.2

12 Mar 18:36
Compare
Choose a tag to compare
:rocket: Fix deployment job configuration

v0.66.1 - Koan Topic Revisions

05 Mar 05:32
4baabcd
Compare
Choose a tag to compare

Notable Changes

  • Add Move-PSKoanLibrary function to streamline the process of moving your in-progress koan library to another location.
  • Updates to koan topics in Introductions folder.
  • Fixed issue in AboutTypeOperators where a scriptblock invocation returns unhelpful results. (Thanks, @Maamue!)
  • Refactor some tests with Show-Advice.
  • Add missing variable declarations in AboutArrays (Thanks @ChaseFreeman17!)

Commit Log

Hash Name Subject
4baabcd @vexx32 Refactor Introduction Koans (#370)
29a7068 @vexx32 ✨ Add Move-PSKoanLibrary Function (#364)
5fcb07f @Maamue 🐛 fixes $null output without returning a collection (#365)
8e3aa52 @vexx32 🚀 Run tests against built module (#363)
286c5bb @vexx32 🚀 Refactor CI Pipeline (#362)
78637a0 @vexx32 ✅ Refactor Show-Advice tests (#361)
22de7b5 @ChaseFreeman17 🐛 (#358) Instantiate Stings and Numbers in AboutArrays (#360)

v0.66 - Improvements to Show-Karma -Contemplate

07 Feb 19:51
Compare
Choose a tag to compare

Breaking Changes

Show-Karma -Contemplate Changes

  • Show-Karma -Contemplate / -Meditate now open the current koan file instead of just the koan directory. Massive thanks to @arefg's awesome contributions to getting this feature working.
  • Added some handling for common editors known to be able to handle jumping to specific lines in specific files.
  • Fallback behaviour is just to open the file in the currently set editor.
    • To set your editor, use Set-PSKoanSetting -Name Editor -Value $editorCommandLine. If the executable is on PATH, you just need the name. If not, you can supply a full path to the executable you want PSKoans to pass the file reference to.

New Features

Show-Karma -Library

  • Previous -Meditation behaviour was moved to a -Library parameter - this will open the koan directory as per normal.

New Koans Module - ActiveDirectory

  • Currently only contains an AboutFiltering topic. (Thanks to @indented-automation for his excellent work here!)
  • These koans require that you have the ActiveDirectory PowerShell module installed and an available Domain Controller to query.
  • Get started on these koans with Show-Karma -Module ActiveDirectory, or use Show-Karma -IncludeModule ActiveDirectory to include these koans alongside the standard set.
  • Because it requires an additional module to be installed, these koans will not be evaluated by default.

New Koans

Improvements and Fixes

  • Improved explanations around rounding methods employed in PS (Thank you, @jschpp!)
  • Updated the README with some nice images (Thanks you @potatoqualitee for the suggestion!)
  • Fixed some issues in AboutBitwiseOperations (Thank you, @indented-automation!)
  • Fixed assorted more minor issues in various koan topics.
  • Fixed an issue in AboutConditionals with the placement of some of the blanks. (Thanks @asherber!)

Changelog

Hash Name Subject
a68479b @jschpp 📝 Added a comment with further explanation for rounding (#357)
f69405a @vexx32 ✨ Implement simple current topic information cache (#355)
840b69f @jschpp 🔧 Use integers instead of strings (#356)
b2e00b6 @vexx32 🎨 Add Images to README.md (#354)
c450201 @vexx32 ✨ Add Open File Feature (#346)
657bdea @indented-automation 🐛 Fixes bugs in bitwise operations (#350)
f1b5022 @vexx32 🐛 🔧 Fix outstanding issues in koan topics (#347)
59fb800 @indented-automation ✨ Adds AboutFiltering topic to the ActiveDirectory module (#343)
a1f0830 @indented-automation ✨ Adds AboutXml topic (#301)
f13bb1b @asherber ♻️ Change order of input array to match expected output (#338)

PSKoans v0.65.4 - More Kata Fixes

16 Dec 22:34
cdb2640
Compare
Choose a tag to compare

Notable Changes

  • SortingCharacters kata should actually be functional now.
    • Please Reset-PSKoan -Topic SortingCharacters if you're seeing issues with this kata after updating your PSKoans module.

Known Issues

  • SortingCharacters kata is a bit unnecessarily cruel. This needs some additional work and maybe a change of approach, so if you're having too much trouble getting a reliable solution I do recommend you skip it at the present.

Commit Log

Hash Subject
a0bc4b0 🐛 Fix bad function name reference in kata
612106e 🐛 Add missing using statements

PSKoans v0.65.3 - Fixing Katas

03 Dec 13:53
9b028d1
Compare
Choose a tag to compare

Notable Changes

  • Updated Kata files to resolve issues with the verification scripts not allowing use of indexes, properties, or methods.
    • To get the latest versions of these files, you can Reset-PSKoan -Topic ProcessingStrings, SortingCharacters
  • Other minor fixes to some koan files.
  • Added some new flavour texts to meditation prompts

Contributors

A big thankyou to @weq, @jessiewestlake, and @cuzza0 for their contributions! 😊 💖 🌸

Commit Log

Hash Name Subject
9b028d1 @vexx32 🐛 Fix issue with Katas' verification script (#328)
2269c5d @weq 📝 LicenseURI = 404, fixed (#324)
010e361 @jessiewestlake 🐛 Fix assertion so it isn't already true (#323)
134a2da @jessiewestlake ✨ Fix typo in comment (#321)
334fa14 @jessiewestlake 📝 Fix incorrect number in number check (#322)
c044d0a @cuzza0 :sarkles: Added new meditation koans (#320)

PSKoans v0.65.2 - Bugfixes and Help

30 Oct 19:37
Compare
Choose a tag to compare

Notable Changes

  • 🎉 Fixed external help generation so help is properly present in the module again! 🎉
    • Thanks to @compwiz32 for bringing this problem to my attention!
  • Updated a couple koans that were passing when they shouldn't
  • Updated comments and instructions in AboutCmdletVerbs

Changelog

Hash Subject
22eb24a 🚀 Fix CI tooling for publishing to gallery
6634df7 ✨ Update AboutCmdletVerbs (#318)
694b6e2 📝 Version bump
f2d9290 🚀 Publish External Help with module (#319)
99ece96 🐛 AboutAssertions - Avoid Casting [Blank] to [bool] (#316)
8e37746 📝 Changelog - Leave commits in order (#314)