Changelog History
Page 28
-
v2.14.1 Changes
January 11, 2017โ All tests passing.
๐ฏ The
apos.utils.clonePermanent
method no longer turns objects into long arrays of nulls if they happen to have alength
property.lodash
uses thelength
property as an indicator that the object should be treated as an array, but this would be an unrealistic restriction on Apostrophe schema field names. Instead,clonePermanent
now usesArray.isArray
to distinguish true arrays. This fixes a nasty bug when importing content from A1.5 and subsequently editing it.๐ป When a user is logged in there is an
apos.user
object on the browser side. Due to a bug this was an empty object. It now containstitle
,_id
andusername
properties as intended.
-
v2.14.0 Changes
January 06, 2017โ All tests passing.
- ๐ A version rollback dialog box for the
global
doc is now opened if an element with thedata-apos-versions-global
attribute is clicked. There is currently no such element in the standard UI but you may introduce one in your own layout if you have mission-critical content in theglobal
doc that is awkward to recreate after an accidental deletion, such as a custom sitewide nav. - An error message is correctly displayed when login fails.
- ๐ป Many UI messages are now passed through the
__()
internationalization helper correctly. Thanks totimaebi
.
- ๐ A version rollback dialog box for the
-
v2.13.2 Changes
December 22, 2016โ All tests passing.
The
data-apos-ajax-context
feature had a bug which prevented ordinary anchor links from performing AJAX refreshes correctly. -
v2.13.1 Changes
December 22, 2016โ All tests passing.
๐ป The
apostrophe-attachments
module now callsapos.ui.busy
correctly on the fieldset so that the busy and completed indicators are correctly shown and hidden. Previously the string0
was passed, which is not falsy. -
v2.12.0 Changes
December 15, 2016โ All tests passing.
- ๐ง Developers are no longer required to set
instantiate: false
inapp.js
when configuring an npm module that uses theimprove
property to implicitly subclass and enhance a different module. In addition, bugs were fixed in the underlyingmoog-require
module to ensure that assets can be loaded from thepublic
andviews
folders of modules that useimprove
. string
has replacedcsv
as the property name of the schema field converters that handle plaintext. Backwards compatibility has been implemented so that existingcsv
converters will work transparently and calls toconvert
withcsv
as thefrom
argument still work as well. In all new custom field types you should saystring
rather thancsv
. There is no change in the functionality or implementation other than the name.
- ๐ง Developers are no longer required to set
-
v2.11.0 Changes
December 09, 2016โ All tests passing.
๐ You can now add middleware to your Apostrophe site via any module in your project. Just add an
self.expressMiddleware
method to your module, which takes the usualreq, res, next
arguments. Or, if it's more convenient, setself.expressMiddleware
to an array of such functions. "Module middleware" is added immediately after the minimum required Apostrophe middleware (bodyParser,req.data
, etc), and before any routes. -
v2.10.3 Changes
December 08, 2016โ All tests passing.
๐ Fixed bug in
autoPreserveText
feature of ourdata-apos-ajax-context
mechanism; also, restricted it to text inputs and textareas that actually have the focus so that you can replace their values normally at other times -
v2.10.2 Changes
December 06, 2016โ All tests passing.
๐ฒ A very minor fix, but 2.10.1 had a very noisy console.log statement left in.
-
v2.10.1 Changes
December 06, 2016โ All tests passing.
- 0๏ธโฃ The built-in cursor filters for
float
andinteger
no longer incorrectly default to filtering for docs with the value0
if the value being filtered for is undefined or null. They default to not filtering at all, which is correct.
- 0๏ธโฃ The built-in cursor filters for
-
v2.10.0 Changes
December 06, 2016โ All tests passing.
- ๐ป Apostrophe now automatically recompiles modified Nunjucks templates. This means you can hit refresh in your browser after hitting save in your editor when working on
.html
files. Also note that this has always worked for.less
files. - ๐ Fixed a longstanding bug in
joinByArrayReverse
, which now works properly.
- ๐ป Apostrophe now automatically recompiles modified Nunjucks templates. This means you can hit refresh in your browser after hitting save in your editor when working on