Skip to content

Releases: Typeslint/msn-weather-api

0.3.1

15 Oct 01:42
0.3.1
591b13c
Compare
Choose a tag to compare

Warning

This version is still in pre-release and may be unstable. Proceed with caution!

What's Changed

  • chore: fix Node requirement by @CodeGoat-dev in #1
  • fix: refine lang and degree parameter checks in constructor
  • test: refine test for parameter validation in constructor

New Contributors

Full Changelog: 0.3.0...0.3.1

0.3.0

15 May 01:24
0.3.0
4d772f9
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release

Warning

This version is still in pre-release and may be unstable. Proceed with caution!

What's Changed

  • chore: add npm ignore
  • docs: add installation guide and update module usage
  • test: add test for parameter validation in constructor
  • feat: add parameter validation in constructor
  • feat: add date and icon type
  • test: coverage function result
  • feat: add date and icon result
  • test(linter): add no-console rules
  • chore(release): 0.3.0 release

Full Changelog: 0.2.1...0.3.0

0.2.1

22 Apr 02:05
0.2.1
e70f11b
Compare
Choose a tag to compare
0.2.1 Pre-release
Pre-release

Warning

This version is still in pre-release and may be unstable. Proceed with caution!

What's Changed

  • docs: add days parameter for getForecastData()
  • chore: create npmignore
  • build: add action workflows and codeowners
  • build: change jobs to test
  • chore(tsconfig): use wildcard in include
  • chore: delete global.d.ts
  • refactor: update type definition and export module
  • refactor: reordered return statement
  • chore(release): 0.2.1 release

Full Changelog: 0.2.0...0.2.1

0.2.0

17 Apr 00:34
0.2.0
61ce3d3
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release

Warning

This version is still in pre-release and may be unstable. Proceed with caution!

What's Changed

  • feat: add declaration types
  • feat: add getForecastData()
  • test: add getForecastData() unit test
  • docs: update module usage
  • fix: error fetching on forecastData
  • perf: optimize weather api tests
  • refactor: reordered validation logic for 'days' parameter
  • test: add coverage config
  • chore: exclude coverage
  • test: improve test coverage
  • docs(LICENSE): change contact email
  • docs: update module usage
  • chore(release): 0.2.0 release

Full Changelog: 0.1.0...0.2.0

0.1.0

21 Feb 05:39
0.1.0
c23a93a
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

Warning

This version is still in pre-release and may be unstable. Proceed with caution!

msn-weather-xml

Weather forecast by MSN weather.

Usage

const weatherjs = require('msn-weather-xml');
const weather = new weatherjs('en', 'c');

(async () => {
    (await weather.getCurrentData('kyoto')).location;
})();