Skip to content

Commit

Permalink
add missing changelog entry and upgrade notice
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Jan 26, 2015
1 parent 47b1835 commit ee6b2d3
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 1 deletion.
31 changes: 30 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
Changelog
=========

1.8.3 (unreleased)
2.0.0 (unreleased)
------------------

- Patternslib merge: Use Patternslib's scanner and registry. This allows us
to: Use Patternslib patterns with Mockup/Plone and use Mockup patterns with
Patternslib outside of Plone. For changes required to patterns, see:
mockup/GETTING_STARTED.md . Refs: #460.
[jcbrand]


1.8.3 (2015-01-26)
------------------

New patterns:
Expand All @@ -26,6 +36,22 @@ New patterns:

Fixes and enhancements:

- Test fixes.
[vangheem]

- Various structure pattern fixes.
[vangheem]

- Make relateditems fullwidth.
[vangheem]

- Add npm and bower tasks to Makefile.
[benniboy]

- TinyMCE pattern fix: Don't append scale to generated image url, if no scale
is given.
[frapell]

- In the resource registry bundle detail view, add the fields
``last_compilation``, ``jscompilation`` and ``csscompilation`` for display.
This gives more insight about the state of each bundle.
Expand All @@ -36,6 +62,9 @@ Fixes and enhancements:
``disabled`` states.
[thet]

- Relicensing from MIT to BSD. Refs #24
[thet]

- Modal Pattern: If ``data-base-url`` attribute is available on the body, use
it. Otherwise search for a ``<base>`` tag. Plone 5 dropped the usage of base
tags.
Expand Down
28 changes: 28 additions & 0 deletions mockup/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ After that, access the served site in a webbrowser under the url:

http://localhost:8000


# Including a local mockup-core checkout for developing

If you want to also hack on mockup-core together with mockup and not push the
Expand All @@ -141,3 +142,30 @@ Just replace the mockup-core line in bower.json with:

Please note, you have to commit the changes on mockup-core before running
``make bootstrap``.


# Upgrade from pre-2.0 to 2.0 based Mockup patterns

Since version 2.0, Mockup uses the Patternslib scanner and it's registry. This
allows us to: Use Patternslib patterns with Mockup/Plone and use Mockup
patterns with Patternslib outside of Plone. The integration with Patternslib
require that some small changes be made to newly developed Mockup patterns:

1. Patterns should now use pat-registry as dependency instead of
mockup-registry.

define([
'jquery'
'mockup-patterns-base',
'pat-registry'
], function($, Base, registry) {

2. Patterns' selectors are now explicitly specified via the trigger attribute.
For example:

var Modal = Base.extend({
name: 'modal',
trigger: '.pat-modal',

3. Because of change 2, patterns now fire events via the emit method, instead
of the trigger method.

0 comments on commit ee6b2d3

Please sign in to comment.