Update dependency word_search_generator to v5 #186
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tyler/dailySummaryEmail!186
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/word_search_generator-5.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
~=3.5.3→~=5.0.0Release Notes
joshbduncan/word-search-generator (word_search_generator)
v5.0.0: 🧩 Word Search Generator v5.0.0Compare Source
🚀 New Features
Added built-in themed word lists, available in src/word_search_generator/data/ and accessible via the WORD_LISTS dictionary (dict[str, list[str]]).
Expanded and refined documentation for all classes and methods.
Introduced ty type checker to complement mypy for improved code validation.
🔧 Changes
🐞 Fixes
This release marks a major modernization of the codebase, introducing themed content, stronger typing, refined CLI tooling, and expanded compatibility for Python 3.14.
v4.1.0Compare Source
v4.0.0: Color in the CLI and Extensibility ImprovementsAdded
Gameobject. EachGamecan have custom aGeneratorfor generating the puzzle, aFormatterfor displaying/outputting the puzzle, and custom wordValidators (e.g. no palindromes, no punctuation, no single letter words, no subwords) for validating puzzle words.WordSearchobject initialization (and also after making any changes to the puzzle words). Now, the default validation (no single letter words, no palindromes, no words that fit inside of other words or encase other words) has been abstracted away. Each validator is now based on aValidator()abstract base class, allowing users to create their own or disable the defaults. This thought has come up before but because of issue #45 I decided to tackle. Normally in a standard word search puzzle you don't want single-letter words, calindromes, or words that are part of other words, as each of these situations could potentially lead to multiple solutions for the same puzzle.validatorsargument added toWordSearchobject--no-validatorsadded to cli arguments to disable default validatorsrequire_all_wordshas been added toGame.init(). When set toTrueaMissingWordErrorwill be raised if all provided "hidden" words can't be placed successfully. This does not take into account "secret" words. Also added to CLI as-rall, --require-all-words.lowercaseargument added toshowandsavemethods which outputs all puzzle letters in lowercase (as opposed to the UPPERCASE default). Added-lc, --lowercaseflag to CLI as well. Issue #58ipython --profile word-search-generatorcp ipython_config.py ~/.ipython/profile_word-search-generatoripython --profile word-search-generator-hk,--hide-keyto cli andWordSearch.show(), andWordSearch.save()methods, allowing user to hide the answer key during outputFixed
WordSearchGenerator.no_duped_words()method that is used when placing new words and filler charactersshowmethod was called on a puzzle that has not been generated yet, or a puzzle with no placed/valid words.Changed
max_fit_triesraised to 1000 to help more words fitting within smaller puzzlesget_random_words()now accepts amax_lengthargument, helpful when working with puzzles of a smaller sizeGameorGeneratorvalidator.--no-prettyflag)hide_fillersargument added to the baseWordSearch.show()method.Removed
reset_size()function no longer needed as it is included inside of_generate()now__version__from init. Version info is loaded from pyproject.toml usingimportlib.metadata.versionConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
ab265c36cbto3e117611a3