Skip to content

Commit

Permalink
Updated changelog & bumped to 1.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
victrme committed Mar 19, 2023
1 parent 0f908af commit b90de6f
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 16 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
## Changelogs

**1.16.1**

- Added support for nested data imports ( ex: searchbar.request )
- Smaller image file sizes for high resolution devices & mobile
- Translations:
- Brazilian update by @adilsonfsantos
- Dutch update by @kar1
- Fixed Polish "Good Afternoon"
- Fixes:
- Clock zero on 12am/pm, thanks @aprivette
- Kiwi browser settings position

**1.16.0**

- Added features:
Expand Down
2 changes: 1 addition & 1 deletion src/manifests/chrome.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "__MSG_extensionName__",
"short_name": "Bonjourr",
"version": "1.16.0.1",
"version": "1.16.1",
"description": "__MSG_extensionDesc__",
"author": "Victor Azevedo and Tahoe Beetschen",
"default_locale": "en",
Expand Down
2 changes: 1 addition & 1 deletion src/manifests/edge.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "__MSG_extensionName__",
"short_name": "Bonjourr",
"version": "1.16.0.1",
"version": "1.16.1",
"description": "__MSG_extensionDesc__",
"author": "Victor Azevedo and Tahoe Beetschen",
"default_locale": "en",
Expand Down
2 changes: 1 addition & 1 deletion src/manifests/firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extensionName__",
"short_name": "Bonjourr",
"version": "1.16.0.1",
"version": "1.16.1",
"description": "__MSG_extensionDesc__",
"author": "Victor Azevedo and Tahoe Beetschen",
"homepage_url": "https://bonjourr.fr",
Expand Down
2 changes: 1 addition & 1 deletion src/manifests/safari.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extensionName__",
"short_name": "Bonjourr",
"version": "1.16.0.1",
"version": "1.16.1",
"description": "__MSG_extensionDesc__",
"author": "Victor Azevedo and Tahoe Beetschen",
"default_locale": "en",
Expand Down
20 changes: 10 additions & 10 deletions src/scripts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1785,19 +1785,19 @@ window.onload = function () {

console.log(`Version change: ${version_old} => ${version}`)

if (version === '1.16.0') {
if (version_old.includes('1.15') && version.includes('1.16')) {
localStorage.hasUpdated = 'true'
}

// Breaking data changes needs filtering
data.hide = convertHideStorage(data.hide)
data.css = data.css.replaceAll('#widgets', '')
data.time = (!data.hide?.clock || !data.hide?.date) ?? true
data.main = (!data.hide?.weatherdesc || !data.hide?.weathericon || !data.hide?.greetings) ?? true
data.about = { browser: detectPlatform(), version }
// Breaking data changes needs filtering
data.hide = convertHideStorage(data.hide)
data.css = data.css.replaceAll('#widgets', '')
data.time = (!data.hide?.clock || !data.hide?.date) ?? true
data.main = (!data.hide?.weatherdesc || !data.hide?.weathericon || !data.hide?.greetings) ?? true
data.about = { browser: detectPlatform(), version }

storage.sync.set({ ...data }, () => startup(data as Sync))
return
storage.sync.set({ ...data }, () => startup(data as Sync))
return
}
}

if (hasMissingProps) {
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/services/service-worker.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const bonjourrCache = 'bonjourr-v1.16.0.1'
const bonjourrCache = 'bonjourr-v1.16.1'

const filesToChache = [
'/',
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export function tradThis(str: string, lang?: string): string {
}

export const syncDefaults: Sync = {
about: { browser: detectPlatform(), version: '1.16.0' },
about: { browser: detectPlatform(), version: '1.16.1' },
usdate: false,
showall: false,
quicklinks: true,
Expand Down

0 comments on commit b90de6f

Please sign in to comment.