RELEASE: v1.0.0-rc.2 #625
taylortom
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Note: These notes have been retro-added for posterity.
This release encompasses a number of fixes resulting from a thorough system penetration test which was carried out by a third-party security company. Due to the nature of some of the fixes, there are some breaking changes from previous releases of the authoring tool.
When testing this release, it is recommended to start with a clean install. If this is not possible, see the notes below.
Headline updates
Node.js requirement has been bumped to Hydrogen LTS (v18)
MongoDB config note: if connecting to a local MongoDB instance, you will need to set your
connectionUri
to0.0.0.0
rather thanlocalhost
(e.g.mongodb://0.0.0.0/adapt-authoring
), otherwise the app will not be able to connect to the database.The authentication mechanism has been made more secure (and configurable). If you stick with the default configuration, you will notice that you're being logged out of the authoring tool more regularly. This is as designed, and is configured using the follow config options:
adapt-authoring-auth.defaultTokenLifespan
: This was previously set to 99 years, and has been reduced to a more sensible 7 days.adapt-authoring-sessions.lifespan
: This has been reduced to one hour, and is used in conjunction withadapt-authoring-sessions.rolling
(when set).adapt-authoring-sessions.rolling
: This is a new option, and means that the current session cookie will remain active for as long as the user is working in the authoring tool. After a period of inactivity (set byadapt-authoring-sessions.lifespan
), the cookie will become stale, requiring the user to log in again.Extra schema keywords have been added to allow API data to be filtered before and after requests:
isReadOnly
: ensures that an attribute is returned via the API, but is not editable by incoming requestsisInternal
: disables any read or write access to an attribute, which is only used internally by the applicationUI build process has been completely overhauled:
.rebuild-ui
file which will trigger a rebuild when present (this file is created every time the UI module codebase is updated via npm)Migration notes
data
andtemp
folders to the following locations:data
=>APP_DATA/data
temp
=>APP_DATA/temp
authTypes
will need to be manually converted to a string calledauthType
.86400000
to"1d"
). Any time values which you have customised in your config file will need to be updated. See the configuration docs to check your own config (if you don't have any custom time settings in your config file, these will be updated automatically).Beta Was this translation helpful? Give feedback.
All reactions