2.3.1 (2017-07-18)
- Guard against stripes-components not having a "stripes" section in package file.
2.3.0 (2017-07-18)
- Implement the
settings.enabled
permission. Fixes STCOR-31. - Add middleware for side effects. Fixes STCON-16.
- New dependency: stripes-redux.
- Add landing page for Single Sign-On,
/sso-landing
. Fixes STCOR-20. - Action-names are now gathered from modules' package files rather than from a static member of the exported class. We also gather names from stripes-connect. Fixes STCOR-36.
- Check validity of stored tokens. Fixes STCOR-35.
2.2.0 (2017-07-13)
- The JWT for authentication is now persisted to IndexDB, allowing you to stay logged in across tabs until the token expires. Fixes STCOR-22
- The About page's foundation dependencies are now taken from
stripes.okapiInterfaces
in stripes-core'spackage.json
, rather than fromokapiInterfaces
at the top level. Makes this consistent with how dependencies are expressed in modules. - Add
settings.enabled
permission. Fixes STCOR-30.
2.1.0 (2017-07-11)
- New
setSinglePlugin
function, analogous tosetLocale
andsetBindings
. Fixes STRPCORE-16. - Add
setToken
function to the Stripes object, to support SSO. Fixes STRPCORE-17. - The Trivial module can show multiple separate instances of the
<About>
component. Fixes STRPCORE-18. - Update Stripes release-procedure document to describe Jira procedure. Fixes STRPCORE-19.
- In
examples/trivial/About.js
, eliminate use ofcomponentWillMount
to provide initial values to resources. Part of STRIPES-433. - Bump
configuration
andusers-bl
interface dependencies to v2.0. - Dependency on stripes-components raised to 1.3.0.
2.0.0 (2017-07-03)
- Add hot-keys documentation to the Module Developer's Guide. Fixes STRPCORE-7.
- Icon permissions work for UI modules in any namespace. Fixes STRPCORE-9.
- Add okapiInterfaces (empty) and permissionSets to
examples/trivial/package.json
. Fixes STRPCORE-10. util/package2md
modified to generate IDs that are palatable to Okapi. Fixes STRPCORE-12.- Changes to CSS toolchain, making nested classes work again. Fixes STRPCORE-13.
- New script,
util/link-stripes
, to yarn-link the various parts of a Stripes development environment. Fixes STRPCORE-14.
1.14.0 (2017-06-19)
- New script
util/package2md.js
converts UI-module package.json into module descriptor. Fixes STRPCORE-5. - About page shows stripes-core's own back-end dependencies. Fixes STRPCORE-6.
- Declared action-names are gathered from all registered modules and provided as the
actionNames
property of the Stripes object. Part of STRPCORE-2. - Key bindings are loaded as the
bindings
property of the Stripes object. Part of STRPCORE-2. - "Soft logout" retains discovery information across logins. Fixes STRPCORE-4.
- Provide
setLocale
andsetBindings
functions on the Stripes object. Fixes STRPCORE-3. - Begin registering stripes-core's own dependencies on Okapi interfaces.
1.13.0 (2017-06-12)
- Discover Okapi's own version number; document its availability in the Stripes object; display it in the About page. Fixes STRIPES-416.
- Use compound
/bl-users/login
request. As a result we no longer need to make separate requests ingetUser
orgetPerms
. Fixes TRIPES-417.
1.12.0 (2017-06-12)
- Show ui-module-to-backend-interface dependencies in About page. Fixes STRIPES-414.
- Warn in the About page if required back-end interfaces are absent. Fixes STRIPES-400.
1.11.0 (2017-06-11)
- About page shows back-end modules and interfaces. Fixes STRIPES-410.
1.10.0 (2017-06-10)
- Implemented service discovery. The Stripes object now contains a
discovery
element whosemodules
andinterfaces
elements contain data obtained by probing Okapi. Fixes STRIPES-399. - The Stripes object provides a new
hasInterface
method: see the Developer's Guide for details. Fixes STRIPES-401. - Added documentation.
1.9.0 (2017-06-06)
- Support the
autoLogin
configuration item. See the Developer's Guide. Fixes STRIPES-391. - In settings pane, list apps with settings in alphabetical order. Fixes the stripes-core part of STRIPES-358.
- Navigating to any app now continues from the last URL visited within that app, providing app-level persistence and bringing us closer to something that we might call task-switching. Fixes STRIPES-403.
- Similarly, navigating to an area within /settings, then returning to Settings, comes back to the same settings page used previously. Fixes STRIPES-402.
- The last two items mean that we now have what we described as "multitasking". Fixes STRIPES-208.
- Upgrade stripes-components dependency to v0.10.1.
1.8.0 (2017-05-24)
- Reinstate the
disableAuth
configuration setting. Fixes STRIPES-390.
1.7.0 (2017-05-23)
- Provides the Stripes object as
stripes
on the React context (as well as continuing to provide it as thestripes
property) for all application and settings modules. Fixes STRIPES-388. - Adds new speculative design document Implementing configurable hot-keys in Stripes
1.6.0 (2017-05-22)
- Loads the set of plugin preferences from mod-configuration and stores it in the Stripes object as
stripes.plugins
, a map from plugin-type to preferred implementation. If something goes wrong -- most likely, because mod-configuration is not running -- it defaults to an empty map. - Render logged-in user-name correctly after field-name change in back-end users module. Fixes STRIPES-381.
- Upgrade dependencies to stripes-components v0.9.0 and stripes-connect v2.1.0.
1.5.0 (2017-05-19)
- About page lists modules of all types, not just applications and settings.
- Bump stripes-components dependency to v0.8.0, to provide
<Pluggable>
. - Add documentation of the model for plugins.
1.4.0 (2017-05-12)
- Perform "soft logout" that does not require a reload. Fixes STRIPES-333.
- Depend on v2.0.0 of stripes-connect.
1.3.0 (2017-05-09)
- Add large new section Thinking in Stripes to the Module Developer's Guide. This is pulled in from what used to be a separate document in the stripes-connect repository. See STRIPES-103.
- Depend on v1.0.0 of stripes-connect.
1.2.0 (2017-05-08)
- New About page (on
/about
) displays the version of each of the Stripes platform libraries and UI modules. This is linked from the front page.
1.1.0 (2017-05-05)
- Loads the prevailing locale from mod-configuration and stores it in the Stripes object as
stripes.locale
. If something goes wrong -- most likely, because mod-configuration is not running -- it defaults toen-US
.
1.0.0 (2017-04-26)
- Disallow access to modules that the user does not have permission to use, as specified by a
module.NAME.enabled
permission bit. Fixes STRIPES-273. - Added Screen-reader-only 'Skip Navigation' link to Main Navigation.
- Main Navigation adjusted to keep its height at smaller resolutions.
- Set font stack. Switched from a single font to a font-stack based on system fonts.
- Add support for the
hasAllPerms
configuration item. Fixes STRIPES-325. Note that the name of this item is subject to change. - Add new utility script,
perm-tree.js
. - New module type
settings
. These modules provide a component to be included in the settings are rather than a full application. Settings links are automatically included for each such module. - Modules of type
app
that have thestripes.hasSettings
configuration item set true in theirpackage.json
are also included in the settings menu. For these modules, the special propertyshowSettings
is passed into the top-level component when they are invoked in this context. Note that this is a backwards-incompatible change, hence the new major version number. - Note that there is nothing special about this release being a "1.0". The number does not denote a level of code maturity or feature-completeness, only that the delta since the last release include a backwards-incompatible change.
0.7.0 (2017-04-12)
- In the release procedure documentation, add more on tagging releases, change-logging and working towards the next release.
- Added id "ModuleContainer" to module container
<div>
- Increased stripes-components dependency to v0.6.0.
0.6.0 (2017-04-11)
- Upgrade stripes-connect dependency to 0.3.0.
- Brief discussion of dependencies in [doc/overview.md].
0.5.0 (2017-04-11)
- Add a "Settings" text-link at top left, next to the FOLIO branding, that transitions to /settings. It is not based on UX designs, it's just a placeholder so we can run the patron-group and material-type CRUDding. See LIBAPP-76, LIBAPP-139.
- Pull in settings from ui-items as well as ui-users.
- Pass the Stripes object down into settings components as well as regular components. Fixes STRIPES-268.
- Add a new section to The Stripes Module Developer's Guide on the Stripes object. Finishes STRIPES-259.
- Remove support for, and documentation of, the
disableAuth
setting. Fixes STRIPES-298.
0.4.0 (2017-03-22)
- Each module now gets its curried
connect
function in thestripes
object. For now, that curriedconnect
is still also passed as its own prop to the top-level component of the module, but this is deprecated and will be removed in the next release.
0.3.0 (2017-03-21)
- Switch to using the new release of React Router. This significantly changes the API for URL-derived props and for changing the URL. In addition to their detailed documentation you may also find this commit illustrative.
- Switch to new way of providing logger and permissions to modules, as part of a single
stripes
object that is passed as a prop to the top-level component of each module. Note that this is a breaking change so this release should really get a new major version number.
0.2.0 (2017-03-12)
- One trivial change: the logger object is passed into stripes-connect. Requires stripes-connect v0.1 or better.
0.1.0 (2017-03-10)
- The "FOLIO" button at top left now returns to the home page of the SPA. Fixes STRIPES-250.
- When logging in as a user, the permissions of that user are now loaded, and are made available to the top-level component of loaded modules as a new
currentPerms
property. Its value is an object whose keys are machine-readable permission names and whose values are the corresponding human-readable names (for use in error messages). Fixes STRIPES-248. - For time being, permissions are also listed in the pop-down user menu at top right; this will be removed at some point, but is handy in the short term.
0.0.12 (2017-03-10)
- New dependency on
@foliostripes-logger
. This is used lightly within stripes-core itself, and more importantly a configured logger object is passed as thelogger
property to the top-level component of all loaded modules. Part of STRIPES-226. - Change to internal API of moduleRoutes: instead of exporting the list of routes, now exports a function that returns them. That function takes a logger object as a parameter, and passes it as a prop to the modules.
- Use a specific copy of react when stripes-core is linked. Fixes STRIPES-220.
0.0.11 (2017-03-01)
- Revert c8a3ba88aca80e34970be6d8ac13c13ad7fd41c8, undoing the STRIPES-220 fix, in order to fix the much more serious STRIPES-230.
0.0.10 (2017-02-24)
- Requires v0.0.9 of
stripes-connect
. - First version to have a documented change-log. Each subsequent version will describe its differences from the previous one.