ApostropheCMS v2.48.0 Release Notes
Release Date: 2018-03-01 // about 6 years ago-
✅ Unit tests passing.
✅ Regression tests passing.
- 🆕 New
color
andrange
schema field types.color
provides a color picker field allowing values compatible with CSS, etc.range
provides an<input type="range">
element and respectsmin
andmax
options. - 🆕 New
apos.utils.log
,apos.utils.info
,apos.utils.debug
,apos.utils.warn
andapos.utils.error
methods. These are now used consistently throughout Apostrophe core, both in the server and in the browser. On the server, these methods wrap the corresponding methods of alogger
object and you can inject your own via thelogger
option of theapostrophe-utils
module. By default a logger object that wraps theconsole
object is created. For convenience, if your logger has nolog
method,apos.utils.log
will calllogger.info
. This allows many popular loggers likewinston
to be used without modification "out of the box." modulesSubdir
option to specify subdir where local modules come from, overridinglib/modules
. Useful when more than oneapos
object exists in a project.- ⚠ Major speedup to parked pages. Also eliminates spurious warnings about inefficient joins at startup.
- 🔨 Refactored autocollapse behavior of admin bar into its own method for easier overrides.
- 🛠 CSS fixes for improved usability.
- 🆕 New