All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
0.5.10 - 2021-06-24
- Issue 44 Themify doesn't work for pseudoelements/pseuselectors
0.5.9 - 2021-06-24
- Issue 43 Fix landing active-view check in client.cljs ns
0.5.8 - 2021-05-16
- Issue 40 Fix Keycloak token lifetime and refresh interval calculation
0.5.7 - 2021-04-09
- Use v0.10.3 of
magnet/buddy-auth.jwt-oidc
(fixes a caching bug)
0.5.6 - 2021-03-17
- Changed Keycloak session configuration variable from KEYCLOAK_URL to KEYCLOAK_FRONTEND_URL, to use the standard Keycloak variable name (instead of our own name).
0.5.5 - 2021-02-02
- Issue 34
.client.breadcrumbs
and _breadcrumbs.scss
added. - Issue 20 Re-added sidebar component and populated it with demo content.
- Brand new and simplified system of registering views. It supports
view.enter
and view.leave
events which should greatly improve abilities to collect garbage after leaving a view.
- Demo code used for capabilities presentation has been moved to separate namespaces and views.
- Issue 35 Use explicit listing of migrations in ragtime configuration
0.5.4 - 2020-12-16
- Use v0.2.1 of
hydrogen/module.core
0.5.3 - 2020-12-15
- Issue 36 User session is broken after 08bcff44
0.5.2 - 2020-12-14
-
Fix ::fetch-user-data
event handler
This event handler now gets jwt-token from session cofx instead of appdb.
It is so because at times the token may not be present in appdb yet when
::ensure-data
is called.
-
Don't add [hydrogen/module.cljs "0.5.2"]
in core profile.
0.5.1 - 2020-12-03
- More btn class modifiers (btn--disabled, btn--secondary, btn--light)
- Issue 28 - now Keycloak-based applications should be able to restore sessions after refreshing
- Support for prod and dev migrations sets
- Issue 21 Refactor cognito's client-side flow
- This solves the problem of an auth token not being refreshed.
- By default keep using lein-figwheel. If you want your new projects to use figwheel-main then add
+hydrogen/figwheel-main
profile. - Issue 31 Use Hikari database pool instead of creating a connection each time
- Issue 32 Added basic clj-kondo configuration to the template for generated projects.
- Issue 27
- Issue 30
- Issue 33
- Make tooltip manager more robust
- Sometimes, when gettings a class on click, the output is an object
instead of a string. For that reason, if we were to call
re-find
on
that then it would explode. Hence the string?
check.
- Minor indentaton issues
- Lots of warnings produced by clj-kondo
0.5.0 - 2020-09-14
- Add
:figwheel-main true
config to :hydrogen.module/core
key. - Issue 19 - Landing containers now have theme classes assigned. Just like main component does.
- Issue 24 -
reagent.core/render
is deprecated. Now we use reagent.dom/render
instead. - Issue 17 - The atom holding keycloak state is now a clojure.core/atom rather than reagent.core/atom.
There was no reason to use a ratom here.
- Bumped dependencies
- BREAKING CHANGE - newly generated projects will have two conflicting dependencies:
hydrogen/module.cljs
and duct/module.cljs
.
Please remove the latter one fromm the generated project.clj
file.
- Issue 23 - Now the DELETEME-demo-* functions definitions will get generated for all profiles.
- Issue 22 - Fix conditional checking if a route is available to a user irregardless of authentication.
0.4.3 - 2020-07-01
- Use newer versions of dependencies
0.4.2 - 2020-06-03
- Upgraded Secretary dependency version. The old one wasn't compatible with the Clojurescript version we are using.
0.4.1 - 2020-06-03
- Only add additional SSO-ed apps to config.edn when using Keycloak sessions. They are not used with Cognito and then need to be removed manually.
0.4.0 - 2020-05-03
- Use newer versions of dependencies
- Added
+hydrogen/scheduling.twarc
profile, for job scheduling using magnet/scheduling.twarc
Duct library.
0.3.9 - 2020-05-01
- Added some new externs definitions to Cognito externs file (backported from one customer project)
0.3.8 - 2020-05-01
- Use v0.1.9 of
hydrogen/module.core
0.3.7 - 2020-05-01
- Use newer versions of dependencies
0.3.6 - 2020-04-29
- Make the empty string a valid Bas64 encoded value
0.3.5 - 2020-02-26
- Upgraded Keycloak integration library to one that includes native promises (and added associated externs definitions)
0.3.4 - 2020-02-25
util.specs
cljc namespace got added. We use it to verify stuff like urls both on BE and FE.
- The main layout in
client.cljs
has a new, more intuitive structure. - Switched to using native promises in Keycloak integration library (custom legacy ones are deprecated now)
0.3.3 - 2019-12-05
- [Keycloak] - User data is fetched on successful login and displayed in home ns.
- Tooltip, generic popup and loading popup best practices.
- Stopped using cookies for tracking keycloak process status.
- We decided to temporarily stop updating Cognito in sync with Keycloak.
Bugs may start happening more frequently when using Cognito profile from this version onward.
We'll resume work on Cognito soon.
0.3.2 - 2019-11-03
- Use v0.3.5 of
magnet/sql-utils
0.3.1 - 2019-09-09
- Use v0.7.0 of
magnet/buddy-auth.jwt-oidc
0.3.0 - 2019-08-04
- Keycloak and Cognito session modules now automatically refresh ID tokens, based on their expiration time.
- Fixed externs files path generation. Project namespace that contain hyphens must be translated into underscores.
0.2.0 - 2019-07-29
- Chunks of code irrelevant to the main purpose of this template
were moved to an index of suggested next steps in the relevant
.md
file. - Add Eastwood as a development dependency and bump lein-cljfmt version
- Reorganized the CLJS externs file. Split them into individual files (one per library/external service).
- Mode Cognito and Keycloak session management back into this template, instead of using external Duct modules. We no longer need to use modules (we can do all we need from the template) and this adds at least two benefits: a) a single place to maintain code, and b) configuration is explicit and visible in
config.edn
. - Use newer versions of 3rd party dependencies (re-frame and cljs-ajax)
- Use v0.1.8 of
hydrogen/module.core
- Refactored login form in Cognito profile to make autocompletion work properly.
- Added missing images used in Cognito profile.
- Handle project names containing hyphens correctly. We used the name as-is in Javascript code, which is not valid.
- A couple of back-end utility namespaces containing commonly used functionality (HTTP response methods, Base64 encoding/decoding, UUID generation, etc.)
- A new persistence profile for SQL databases (only the Postgresql driver dependency is added by default). It adds all the boundary namespaces neede (port, adapter(s), etc.).
0.1.7 - 2019-06-24
- Breaking change changed expected keycloak config key from
:clientId
to :client-id
. - Changed parameters of debouncing for authentication checks.
- Use v0.1.2 of
hydrogen/module.session.keycloak
- Use v0.1.8 of
hydrogen/module.session.cognito
- Generate
src/service/
and src/domain/
directories - Explicit configuration to keycloak and cognito profiles
0.1.6 - 2019-06-19
- Use v0.1.1 of
hydrogen/module.session.keycloak
- Use v0.6.0 of
magnet/buddy-auth.jwt-oidc
- Projects without session profile had routing broken on v0.1.5. It's fixed now.
- Fix license file (the template is licensed under MPL 2.0, but the
license file contained the EPL 2.0 license text)
0.1.5 - 2019-06-10
- hydrogen.module.keycloak version
0.1.4 - 2019-06-10
- Moved repository to new one without
.cljs
in name.
+hydrogen/session.keycloak
profile!
0.1.3 - 2019-05-09
- This CHANGELOG
- Theming capabilities
- Tooltips/popovers engine
- Directory
resources/assets
was renamed to resources/images
to reflect its content more accurately. - We were not consistent in using
re-frame.core
aliases.
Sometimes it was re-frame
and sometimes it was rf
.
This version unifies it to rf
.