Skip to content

Commit

Permalink
Release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Aug 30, 2020
1 parent 9a9c63e commit 25bde74
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
29 changes: 26 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,42 @@
# Changelog

## v0.1.2 - 2020-08-26
## 0.2.0 - 2020-08-30

### Added

- Add `createLink` function to enable custom link creation
- Format URL on page load

### Changed

- Rename `history` mode to `path`
- All router options need to be defined
- All public APIs, except for `route`, will now throw an error if called before `initRouter`
- `initRouter` will throw an error if called more than once
- `LocationInput`'s `path`, `search` and `hash` will treat empty string as undefined

### Removed

- Remove `link` action, use `createLink` instead

### Fixed

- Fix synchronous redirect rendering

## 0.1.2 - 2020-08-26

### Fixed

- Route store is always defined even before `initRouter`
- `navigate` will not throw error if called before `initRouter`
- Fix base path detection

## v0.1.1 - 2020-08-25
## 0.1.1 - 2020-08-25

### Fixed

- Fix unexpected slot "default" warning

## v0.1.0 - 2020-08-25
## 0.1.0 - 2020-08-25

Initial release
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@bjornlu/svelte-router",
"description": "Simple router for Svelte",
"version": "0.1.2",
"version": "0.2.0",
"main": "dist/svelte-router.umd.js",
"module": "dist/index.js",
"svelte": "dist/index.js",
Expand Down Expand Up @@ -70,4 +70,4 @@
"tslib": "^2.0.0",
"typescript": "^3.9.6"
}
}
}

0 comments on commit 25bde74

Please sign in to comment.