@planningcenter/topbar 8.1.1-rc.0 → 8.2.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -3
- package/README.md +13 -0
- package/dist/topbar.js +1 -1
- package/dist/topbar.js.map +1 -1
- package/dist/topbar.modern.js +1 -1
- package/dist/topbar.modern.js.map +1 -1
- package/dist/topbar.module.js +1 -1
- package/dist/topbar.module.js.map +1 -1
- package/dist/topbar.umd.js +1 -1
- package/dist/topbar.umd.js.map +1 -1
- package/dist/types/modules/components/notification_item.d.ts.map +1 -1
- package/dist/types/modules/components/notifications_menu.d.ts.map +1 -1
- package/dist/types/modules/hooks/use_notifications.d.ts +2 -1
- package/dist/types/modules/hooks/use_notifications.d.ts.map +1 -1
- package/dist/types/modules/not_small_topbar.d.ts.map +1 -1
- package/dist/types/modules/small_topbar.d.ts.map +1 -1
- package/package.json +8 -3
- package/CHANGELOG-pre-4.9.0.md +0 -134
package/CHANGELOG.md
CHANGED
|
@@ -5,11 +5,22 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [
|
|
8
|
+
## [8.2.0] - 2021-05-11
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Make whether Jolt sends its logs to console configurable (`enableJoltLogging` prop) and default to `false`
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Add more info regarding troubleshooting `yalc` issues to the README
|
|
17
|
+
- Send a `fetchAuthTokenFn` to `jolt-client` instead of `authToken`. Over time, the auth token can get stale. Sending a function instead of a value allows the client to refresh itself when required.
|
|
18
|
+
|
|
19
|
+
## [8.1.1] - 2021-04-11
|
|
9
20
|
|
|
10
21
|
### Changed
|
|
11
22
|
|
|
12
|
-
-
|
|
23
|
+
- fix: don't send a `timeZone` key to `@churchcenter/datetime-fmt` if it doesn't have a value
|
|
13
24
|
|
|
14
25
|
## [8.1.0] - 2021-04-11
|
|
15
26
|
|
|
@@ -137,7 +148,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
137
148
|
|
|
138
149
|
Versions entries to this changelog weren't tracked very well and were presented in a less organized style (more like a README or upgrade guide). If you are interested in that, you can read about the changes in [README-pre-4.9.0].
|
|
139
150
|
|
|
140
|
-
[
|
|
151
|
+
[8.1.1]: https://github.com/ministrycentered/topbar/compare/v8.1.0..v8.1.1
|
|
141
152
|
[8.1.0]: https://github.com/ministrycentered/topbar/compare/v8.0.1..v8.1.0
|
|
142
153
|
[8.0.1]: https://github.com/ministrycentered/topbar/compare/v8.0.0..v8.0.1
|
|
143
154
|
[8.0.0]: https://github.com/ministrycentered/topbar/compare/v7.2.1..v8.0.0
|
package/README.md
CHANGED
|
@@ -98,6 +98,19 @@ When you make `topbar` changes, run `yalc publish --push` to update your product
|
|
|
98
98
|
|
|
99
99
|
When you're done, in your product directory run `yalc remove @planningcenter/topbar`.
|
|
100
100
|
|
|
101
|
+
If you are not seeing published updates after running `yalc publish --push` or things break in your app after running `yalc remove @planningcenter/topbar` then in your product you will want to be running `bin/webpack-dev-server`.
|
|
102
|
+
From experience, we have seen that the People app will automatically reload while running `bin/webpack-dev-server`.
|
|
103
|
+
Unfortunately, in the Services app we have had to restart `bin/webpack-dev-server` every time for a change to come in.
|
|
104
|
+
This may change depending on what app you're adding your yalc changes to.
|
|
105
|
+
|
|
106
|
+
### Debugging Jolt
|
|
107
|
+
|
|
108
|
+
The `jolt-client` library has the ability to log debug information to the console.
|
|
109
|
+
This functionality is configured when creating a client and is disabled by default.
|
|
110
|
+
If you are passing your own Jolt client object into Topbar via props, you can configure it as required before providing it to Topbar.
|
|
111
|
+
If you are relying on Topbar to create its own Jolt connection and would like to enable logging, pass `enableJoltLogging={true}` as a prop to whichever topbar
|
|
112
|
+
you are using (`SmallTopbar`/`NotSmallTopbar`).
|
|
113
|
+
|
|
101
114
|
## Migrate
|
|
102
115
|
|
|
103
116
|
These migration docs will guide you thru the process of updating to recent major releases.
|