Skip to content

Releases: Patternslib/Patterns

1.5.0 Release

22 Jan 21:04
Compare
Choose a tag to compare
  • Add a new stacks pattern.
  • Tooltip pattern: Add a new ajax-data-type option that makes it possible to use markdown content as AJAX source.
  • Update Makefile to install npm modules as needed. This makes it possible to completely bootstrap and build Patterns using make from a clean git clone.
  • Checked flag pattern: make sure the fieldset classes are updated correctly when changing the radio button selection. This fixes #348.
  • Bumper pattern:
    • Add new selector option to allow overriding which elements must be updated.
    • Add new options to specify which classes much be added/removed when an item is (http://patternslib.demo/un)bumped.
  • Depends pattern: also update dependencies on keyup. This makes sure actions happen without forcing a user to move focus away after modifying a text field.
  • Rewrite the slides pattern to use the new Patternslib slides library, replacing shower.
  • Fix event handling in the sortable pattern. This could result in unexpected behaviour in Firefox.
  • Add a new forward pattern.
  • Add a missing dependency on jquery-ext to the registry module. This fixes errors invoking the scan function when using a Patterns bundle.
  • Validate pattern: perform validation when submitting forms via AJAX.
  • The argument parser can now disable configuration inheritance if needed by a pattern.
  • The select-option pattern has been merged into the checked flag pattern.
  • Checked flag pattern: add new API to control select and checkbox elements.
  • Do not handle exceptions during Patterns initialisation and transforms if a patterns-dont-catch query string parameter is present.

1.4.1 Release

13 Jul 07:57
Compare
Choose a tag to compare
  • Validate pattern: always validate form elements when they are changed instead of waiting for a first form submit. This fixes ticket 324.
  • Update to a new version of shower which does not hijack key events when not in presentation mode. This fixes ticket 315.
  • Handle security errors when checking if a browser supports sessions storage. This fixes ticket 326.
  • Add new equaliser pattern. This fixes ticket 307.
  • Depends pattern: allow dashes in input names and values again. This fixes ticket 313.

Release 1.4.0

13 Jul 07:42
Compare
Choose a tag to compare
  • Include value of used submit button when using forms for injection. This fixes ticket 305.
  • The argument parser has been updated to support quoted arguments in shorthand notation.
  • Add new validate pattern. This fixes ticket 68.
  • Add a new internal pat-update event which is triggered for elements that are changed.
  • Markdown pattern: correct internal escaping behaviour which could cause characters to show up in unexpected escaped form in literal blocks. This fixes ticket 306.
  • Depends pattern:
    • Include element with invalid dependency in error log messages. This makes it a lot simpler to find the source of errors.
    • Support non-ASCII variable names and values. This fixes ticket 304.
    • Do not include generated parser in source tree. Instead the make rules have been improved to generate/update the parser as needed.
    • Support quoting of values. This makes it possible to test for values containing whitespace.

Release 1.3.1

13 Jul 07:45
Compare
Choose a tag to compare
  • Collapsible pattern: add a new slide-horizontal transition.
  • Slideshow builder pattern: make it possible to insert the slideshow fieldset in a different location than at the start of the form.
  • Packaging: Remove unneeded dependency on jquery.autosuggest.
  • Injection pattern:
    • Fix injection of HTML5 elements in IE 8 and older.
    • Fix the rebasing of URLs when injecting in IE 8 and older.
    • Send a new pat-inject-content-loaded event when all images in injected markup have finished loading.
  • Modal pattern:
    • Reposition the modal after its images have finished loading.
    • Improve browser compatibility.

Release 1.3.0

13 Jul 07:43
Compare
Choose a tag to compare
  • Fix use of an undeclared variable in the parser which could result in problems in IE8. This fixes ticket 298.
  • Markdown pattern:
    • Generate HTML5 <section> elements with a <h1> header when converting headers. This fixes ticket 216.
    • Support filtering if injected markdown documents with headers using underlined (equal signs or dashes) style notation.
    • Update the version of pagedown-extra which could case markdown constructs to be replaces with the word undefined. This fixes ticket 297.
  • Injection pattern: extend autoload-in-visible to also apply for situations where we are not dealing with a heigh-constrained scrollable parent but need to look at the entire page. This fixes ticket 296.
  • The switch pattern can now remember the its state. This fixes ticket 293.
  • Add a new gallery pattern.

Release 1.2.1

13 Jul 07:46
Compare
Choose a tag to compare
  • Fix use of an undeclared variable in the parser could result in problems in IE8. This fixes ticket 298.
  • Fix handling of trailing semicolons in the the argument parser. This fixes ticket 295.
  • Internal build-related changes:
    • Stop automatically using the latest CSS and images from jquery.fullcalendar and jquery.select2 in our demos to prevent unexpected changes. Instead we now use a copy we can update as needed.
    • Rewrite top level makefile:
      • Update the bungles if packages.json has changed.
      • Move jshint out to a new jshint target. This is automatically invoked when running make check, but is skipped when you only want to run the unittests.
  • Modify included HTML pages to use modules instead of bundles. This makes development easier by removing the need to always rebuild bundles.
  • Add new slide pattern.
  • Add new slideshow builder pattern.

Release 1.2.0

13 Jul 07:48
Compare
Choose a tag to compare
  • Update the website design.
  • Packaging changes:
    • New bootstrap to handle installation of all dependencies and build bundles.
    • Switch dependency management from jamjs to bungle. Remove all third party packages from the source tree.
  • The setclass pattern was removed in favour of the newer switch pattern. Ticket 270
  • Add a new select-option pattern to faciliate styling of select elements. Ticket 276
  • Zoom pattern: make zoom fallback control (text input field) react properly to change events.
  • Improve documentation for the image-crop pattern.
  • Fix handling of position hints for tooltips.
  • Autoscale pattern:
    • Avoid creating infinite loops with the resize handler in IE8. This could load to browser crashes.
    • Use the scale method on IE 9 as well. Ticket 281
  • Injection pattern:
    • Add missing dependency on jquery.form. Ticket 267
    • Also rebase URLs for video and source elements.
    • Modify attribute value escaping in HTML parser to always use &quot; for double quotes. This fixes problems attribute values containing double quotes.
    • Rewrite URL rebasing logic to use the browser''s HTML parser again. This should improve robustness when dealing with non-standard markup.
  • Depends pattern:
    • Really hide/show elements if no transition type was specified (or none was specified explicitly).
    • Add support for a ~= operator to test for substrings.
    • Make the easing used for animations configurable.
  • Form-State pattern: add form-state-saved signal.
  • Modal pattern:
    • Automatically position modals using javascript to fix problems with IE9 and make sure they always fit in the viewport.
    • Make sure elements inside a modal do not accidentily loose their focus. This broke the handling of autofocus in modals. Ticket 266
  • Check-list pattern: send change event when a checkbox is toggled. This fixes interaction with other patterns such as the checked-flag pattern.
  • Collapsible pattern:
    • Add new option to specify an (external) triggering element. Ticket 274
    • Make it possible to specify the transition effect to use when opening or closing a panel.
  • Markdown pattern:
    • Include section selector in data-src attribute. Ticket 259
    • Correct detection of the end of a extracted sections. Ticket 268
    • Make sure we correctly identify autoloaded markdown content referenced from a just-injected HTML fragment. Ticket 188
    • Use a new markdown converter for every pattern. This fixes problems with shared converter state if the pattern tried to convert two pieces of markdown at the exact same time.
  • Placeholder pattern: remove Modernizr dependency.
  • Sortable pattern: fix weird behaviour when element is dropped on self.
  • Core logic changes:
    • Patterns main.js returns registry, you have to call patterns.init() manually. For the bundles this happens automatically. Depend on patterns/autoinit, if you really want an auto-initializing modular patterns library.
    • Registry: Add option to registry.scan to let init exceptions through.
    • Registry: rescans the DOM for patterns registered after the initial DOM scan.
    • Include pattern name in the parser log output. This makes it much easier to debug problems.
    • HTML parser:
      • Correctly handle tag and attribute names containing a colon.
      • Correct escaping of double quotes in attribute values.

Release 1.0.1

13 Jul 07:49
Compare
Choose a tag to compare
  • Fix test failures in transform tests.

Release 1.0.0

13 Jul 07:50
Compare
Choose a tag to compare
  • First official release.