Releases: wvanderp/iwf
v3.0.3
v3.0.1
Full Changelog: v3.0.0...v3.0.1
mostly removing cruft and fixing the auth code
We starting botting now
What's Changed
- Add OAuth 2.0 and Bot Password authentication infrastructure by @Copilot in #12
New Contributors
- @Copilot made their first contribution in #12
Full Changelog: v2.3.1...v3.0.0
v2.3.1
- [Chore] Updated dependencies
- [Enhancement] Enhanced Description class to exclude
mullanguage and throw an error if attempted. - [Enhancement] Added findDescription and findAliases methods to Item class for better language handling.
- [Enhancement] Expanded unit tests for Description and Item classes to cover new functionality and edge cases.
Time to Snak & Roll
🐍 Time to Snak & Roll! Version 2.3.0 🎉
Get ready for a game-changing update with a powerhouse of features and enhancements! This release is packed with versatility, polish, and smarter tools to elevate your projects. Let's dive into what makes this release exceptional:
🚀 Features & Enhancements
- 🐍 Three New Snak Classes!
- Introducing
EntitySchemaSnak,WikibaseLexemeSnak, andWikibaseSenseSnak. These additions supercharge your toolkit for handling complex data with finesse.
- Introducing
- 🎯 Consistent
dataTypeConstants- Improved consistency across all snak classes with sleek, new constants.
- 🧪 Enhanced Browser Testing!
- 📦 Library builds tested for perfection.
- 🔐 Upgraded login tests for added robustness.
- 🚀 Multi-stage upload tests to validate end-to-end workflows.
- 🛡️ Type Guard Upgrades!
- Enhanced checks for new snak classes to safeguard your code. 💪
🧹 Refactoring & Polish
- 🔢 Hash Function Overhaul
- Sleek, new hexadecimal strings replace outdated buffers. Say hello to streamlined data handling!
- ✨ Snak Class Facelift
- Refactored JSON outputs for consistent and clean formatting across all classes.
- 📚 Better Documentation
- Polished
FUTURE.mdfor readability and upgradedDEPLOY.mdwith clear instructions.
- Polished
🧪 Tests Galore!
- 🎉 New Unit Tests
- Thoroughly tested the new snak classes for reliability.
- 🌐 Integration Tests
- Validated
EntitySchemaSnakwith ID prefixes and Commons integration for smooth functionality.
- Validated
- ✅ Full Coverage Confidence
- Increased test coverage ensures rock-solid performance.
🔄 Workflow Magic
- 🤖 GitHub Actions Boost
- Upgraded
codeql-actionto version 3 and expanded Node.js compatibility with a broader test matrix. - Streamlined workflows for speedier development cycles.
- Upgraded
- 🎯 Codecov Upgrade
- Now using version 5 with improved reporting. Added
CODECOV_TOKENfor seamless integration.
- Now using version 5 with improved reporting. Added
🧩 Miscellaneous
- 📦 Dependency Mastery
- Introduced
.npm-upgrade.jsonfor better dependency management and clarity.
- Introduced
- 🔗 URL Encoding Fixes
- Improved origin handling in API utilities for smoother operations.
- 🛠️ Token Utilities Polished
- Enhanced for easier integration and testing.
👾 Fun Bugs (Squashed) 🐛
- ⚡ Flaky Tests Disabled
- Bid farewell to unreliable tests. May they rest in peace. 🙃
This release is all about making your development experience smoother, faster, and smarter. Ready to dive in? Let’s snak and roll! 🚀
This fun change log is brought to you by AI
Where is the time going?
In this release, we fix the TimeSnak. The main reason for this change is that the date was wrongly formatted. This is now fixed.
We introduce a braking change that changes the signature of the TimeSnak.fromDate to use numbers instead of JS dates.
The JS date API is now available as TimeSnak.fromDateObject.
The JS date API works for current dates but is a bit broken for some things, including time zones and dates before 1970.
We also reenabled the upload unit tests.
v2.1.2
v2.1.1
There is a check when you try to use this lib in a browser and update wikidata. This is not possible because wikidata does not accept cors.
When you use a workaround for this error, it still blocks you from achieving your dreams.
So I downgraded the error to a warning and I did not throw it.
v2.1.0
Full Changelog: v2.0.0...v2.1.0
Some highlights:
- added more tests, including integration test on test.wikidata.org and browser tests
- added the ability to use different wikidata servers
- worked on the GitHub ci
Bring your own Axios
It's not possible to directly edit wikidata from the browser. So you would always need to proxy the request through something of a server.
I made this possible by letting you provide your own custom Axios implementation.
I've made https://github.com/wvanderp/axios-over-http to simplified this if you are using node and express on the backend
v2.0.0
In this release, I added the removal of statements. I thought this would work, but it didn't.
- fixed removing statements
- added diffing for items
- to support this, I also added:
- stable internal ids for some entries
- updated all equals functions to include property
- Label, description, alias and sitelink from string function
- solved all lining errors
- made isQstring and isPString typescript guards
- added many tests
known possible issues
There may be issues with deleting other things. More testing is needed to determine this