Releases: wheresrhys/fetch-mock
Releases · wheresrhys/fetch-mock
route names can contain capitals
Merge pull request #378 from michaeldfallen/allow-caps-in-names Support names that include capitals
express: matcher supports absolute urls
Merge pull request #372 from wheresrhys/express-absolute fix express matching for absolute urls
really fix build
v7.0.5 update webpack-cli
try to fix build
Merge pull request #370 from wheresrhys/fix-qs-regression fixes bug where routes only differing in qs threw errors
fixes bug where routes only differing in qs threw errors
Merge pull request #370 from wheresrhys/fix-qs-regression fixes bug where routes only differing in qs threw errors
Removed superfluous treatment of non w3c Promises
Merge pull request #368 from wheresrhys/fix-await-test fix dodgy use of stub promise in test
Remove beta tester prompt from readme
v7.0.1 Update README.md
Version 7
Changelog and upgrade guide: https://github.com/wheresrhys/fetch-mock/blob/master/docs/v6-v7-upgrade-guide.md
Minor refactor
Merge pull request #366 from wheresrhys/smells Smells
Simplified call filtering
Feels like a big step forward in simplicity and power, emerging from the realisation that if a matcher is used to filter as a matcher after it's already been used to filter as a name of a route, then this will be a noop because only calls that satisfy the matcher will be included in the list to filter further
- matches using name (or inferred identifier) first
- If no routes have it as a name or identifier, just execute as a matcher
- Finally, if there are options provided filter further by executing these as a route
Easier to think about, document and implement
Also removed filtering by method from .done()
- in hindsight this was a poor idea to ever add