Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: BorisMoore/jsrender
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.9.89
Choose a base ref
...
head repository: BorisMoore/jsrender
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 18 commits
  • 62 files changed
  • 1 contributor

Commits on Nov 29, 2017

  1. Commit 90 (v0.9.90 - Beta)

    Sync with changes in v0.9.90 for JsViews
    
    Minor bug fixes, including:
    
    - Fix for syntax error bug for debugMode(true) with {{else}} blocks
      BorisMoore/jsviews#395
    
    - Fix for bug in advanced nested $.render() call scenarios (when
      useViews advanced setting is false):
      #333
    
    Minor change for custom tags:
    
    - If a tag has no args, and argDefault is not set to false, then the
      tagCtx.args[] will be [#data] (where #data is the current data
      context). Note that the render() method will receive the current data
      as parameter. (See https://www.jsviews.com/#tagsapi@argdefault)
    
    Unit tests:
    
    - Some additional unit tests
    BorisMoore committed Nov 29, 2017
    Copy the full SHA
    d046653 View commit details

Commits on Sep 22, 2018

  1. Commit 91 (v0.9.91 - Beta)

    Major update
    
    Breaking change
    
    - Templates declared in <div> or other non script element are not
      supported. (Throws with error message)
    
    Minor breaking changes
    
    - The {{range}} tag has been removed - replaced by {{for}} tag using
      built-in range features. See https://www.jsviews.com#jsvfortag@jsvsortfilterrange
    
    Major feature improvements
    
    - The {{for}} tag now has built-in support for sort, filter, start and
      end. See https://www.jsviews.com#fortag@sortfilterrange
    
    - The {{props}} tag now has built-in support for sort, filter, start
      and end. See https://www.jsviews.com#propstag@sortfilterrange
    
    - New converters encode/unencode. See https://www.jsviews.com#convertersapi@encode
    
    - New tag options: bindFrom - together with tag option bindTo - provide
      improved features for custom tags.
      See https://www.jsviews.com#tagoptions@bindto and https://www.jsviews.com#tagoptions@bindfrom
    
    Minor feature improvements
    
    - New APIs added for tagCtx.ctxPrm(), tagCtx.cvtArgs() and
      tagCtx.bndArgs() even for non-data-linked tags - documentation to follow
    
    - The contentCtx option now works also for custom tag using render(),
      rather than a template. See https://www.jsviews.com#tagsapi@contentctx
    
    - In a template, ~tag.tagCtx.xxx can now be written ~tagCtx.xxx,
      and works correctly e.g. for data-linking using
      {{mytag}}{{else}}{{~tagCtx...}}{{/mytag}} - documentation to follow
    
    - ~tagCtx is now a reserved name like ~tag ~root ~parentTags...
    
    - New debug:true option on a compiled template.
      See https://www.jsviews.com#d.templates@debug
    
    - An error will be thrown if different versions of jsrender.js,
      jquery.observable.js and  jquery.views.js are loaded together
    
    - DataMap, {{props}} and {{jsonview}} now include support for function
      properties too, unless opt out using {{props foo noFunctions=true}}.
      See https://www.jsviews.com#propstag@nofunctions
    
    - Support for nested {{for}} tags without iteration, and for then
      applying operations such as sorting to arrays in nexted context, as in
      {{for filter=... noIteration=true}}{{for sort=... noIteration=true}}{{for start=...  end=...}}.
      See https://www.jsviews.com#fortag@itemvar
    
    Documentation
    
    - Extensive new documentation, especially on custom tag controls:
      See https://www.jsviews.com#jsvtagcontrols. For an example of a JsViews
      custom tag control see https://www.jsviews.com#samples/tag-controls/colorpicker
    
    Minor bug fixes, including:
    
    - a contentEditable bug for IE
    
    - a bug in jquery-1.x cleanData
    
    - Issue BorisMoore/jsviews#404
      Props Convert else statement not working
    
    - Issue BorisMoore/jsviews#403
      ~ operator support
    
    - Issue BorisMoore/jsviews#400
      Move the tag property in views to before rendering, to enable "get current path" path scenario
    
    - Issue #335
      encode and unencode converters
    BorisMoore committed Sep 22, 2018
    Copy the full SHA
    d3e2011 View commit details

Commits on Nov 27, 2018

  1. v1.0.0 release

    JsRender, JsObservable and JsViews are now all stable v1.0.0 releases:
    
    - This update moves from the previous beta releases to the first official
      non-beta release: v1.0.0, both for jsrender.js and jsviews.js.
    
    - There will be no further major breaking changes before v2.0.0
    
    TypeScript definition fles now available:
    
    - This update provides TypeScript definition files, see https://www.jsviews.com#typescript
    
    Documentation:
    
    - API documentation for JsViews, JsObservable and JsViews is now complete.
      It includes extensive new documentation, including:
      - JsRender objects - at https://www.jsviews.com#jsrobjects
      - JsViews objects - at https://www.jsviews.com#jsvobjects
    
    Minor bug fixes:
    
    - This update includes some minor bug fixes, and some added code comments.
    
    - Issue #211
      Provide TypeScript definitions
    BorisMoore committed Nov 27, 2018
    Copy the full SHA
    19a0d04 View commit details

Commits on Dec 23, 2018

  1. v1.0.1 release

    Feature improvement
      Unicode character support in template expressions
      https://www.jsviews.com/#unicode
      #342
    
    Minor bug fix:
      Correction to typescript definition files:
      https://www.jsviews.com/#typescript
    BorisMoore committed Dec 23, 2018
    Copy the full SHA
    8230694 View commit details

Commits on Feb 11, 2019

  1. v1.0.2 release

    Several minor bug fixes
    
    Additional and improved documentation topics and samples...
    Additional unit tests...
    BorisMoore committed Feb 11, 2019
    Copy the full SHA
    fab7e4e View commit details

Commits on Apr 28, 2019

  1. v1.0.3 release

    Feature improvements:
    
    New support for referencing the parent object in hierarchical
      View Model scenarios (parentRef):
    
    - https://www.jsviews.com/#jsrmodel@parentref
    
    Bug fixes:
    
    - Some minor bug fixes
    
    Additional and improved documentation topics and samples...
    
    Updated tree view samples:
    - https://www.jsviews.com/#samples/tag-controls/tree
    
    Updated Typescript definitions (soon to be deployed DefinitelyTyped):
    - https://www.jsviews.com/#typescript
    
    Sync with changes in v1.0.3 for JsViews
    BorisMoore committed Apr 28, 2019
    Copy the full SHA
    5b746b2 View commit details

Commits on Aug 3, 2019

  1. v1.0.4 release

    Minor bug fixes:
    
    - BorisMoore/jsviews#424
      (itemVar is not created on new items in observable array)
    
    - BorisMoore/jsviews#423
      (memory leak issues)
    BorisMoore committed Aug 3, 2019
    Copy the full SHA
    175976c View commit details

Commits on Sep 24, 2019

  1. v1.0.5 release

    Improved TypeScript support
    
    JsRender now has TypeScript declaration files included in the npm package
    (at typescript/jsrender/index.d.ts).
    
    See https://www.jsviews.com/#typescript
    BorisMoore committed Sep 24, 2019
    Copy the full SHA
    6c97c26 View commit details

Commits on Jun 18, 2020

  1. v1.0.6 release

    Minor bug fix
    
    Small corrections or improvements to documentation
    and some additional unit tests...
    BorisMoore committed Jun 18, 2020
    Copy the full SHA
    28dedcf View commit details

Commits on Jul 12, 2020

  1. v1.0.7 release

    Feature improvements for JsRender on Node.js:
    
      (See issue #357)
    
    - File based templates for JsRender on Node.js now allow
      absolute paths
    
      See the updated documentation topic:
      https://www.jsviews.com/#node/filetmpls@htmlfile
    
    - The renderFile() method for JsRender on Node.js
      now allows passing of context and helpers as well
      as data
    
      See the new documentation topic:
      https://www.jsviews.com/#node/filetmpls@renderfilehlelpers
    
    Bug fix:
    
    - BorisMoore/jsviews#445
      jsrender.min.js.map truncated
    
    Additional small corrections or improvements to documentation
    and some additional unit tests...
    BorisMoore committed Jul 12, 2020
    Copy the full SHA
    3c0b14b View commit details

Commits on Oct 25, 2020

  1. v1.0.8 release

    Sync with changes in v1.0.8 for JsViews
    
    Feature improvements:
      - Improvements (and associated bug fixes) when converters return arrays.
        With minor breakng change for some advanced scenarios:
    
        Converters which return arrays now have an improved heuristic behavior
        to determine whether to return the array (retArray) as value for the
        first argument, or as an array of values for multiple bindTo/bindFrom
        targets.
        (If bindTo/bindFrom is an array of length l, l > 1 and the converter
        is returning an array retArray of length l, then treat retArray as an
        array of values for the multiple targets bindTo/bindFrom targets)
        In addition the heurisic default behavior can be overidden by setting
        retArray.arg0 = true/false.
    
        See http://jsviews.com/#tagsapi@bindto
    
    Additional small corrections or improvements to documentation, and some
    additional unit tests...
    BorisMoore committed Oct 25, 2020
    Copy the full SHA
    81dc0f6 View commit details

Commits on Dec 5, 2020

  1. v1.0.9 release

    Replacement of truncated version of jsrender.min.js.map with correct
    non-truncated version.
    
    This update is otherwise identical to v1.0.8.
    
    Details:
    
      In v1.0.8 there was an erroneously truncated version of jsrender.min.js.map in the
      JsRender GitHub repositories, as well as on the CDN:
      - https://cdnjs.cloudflare.com/ajax/libs/jsrender/1.0.8/jsrender.min.js.map
    
      (Note that the v1.0.8 version at https://www.jsviews.com/download/jsrender.min.js.map
      was the correct complete file - also available here:
      https://raw.githubusercontent.com/BorisMoore/jsviews.com/febf6d8975dc66e18ff2b600f565c42ed286e4b4/download/jsrender.min.js.map)
    
    With this update, all truncated versions are replaced by the correct complete
    file.
    
    See BorisMoore/jsviews#445 (comment)
    and #362
    BorisMoore committed Dec 5, 2020
    Copy the full SHA
    ad2a627 View commit details

Commits on Jan 10, 2021

  1. v1.0.10 release

    Sync with changes in v1.0.10 for JsViews
    Minor bug fixes
    BorisMoore committed Jan 10, 2021
    Copy the full SHA
    645902a View commit details

Commits on Jan 28, 2021

  1. v1.0.11 release

    Feature improvement when using JsRender in a browser, without jQuery:
    It is now possible to pass an ID selector for a script block
    to $.templates("#myTmpl"), even when using JsRender without jQuery
    
    See #363
      Provide support for passing an ID selector to $.templates() even
      when using JsRender without jQuery
    
    Sync with other changes in v1.0.11 for JsViews
    BorisMoore committed Jan 28, 2021
    Copy the full SHA
    3c4b7b1 View commit details

Commits on Nov 12, 2022

  1. v1.0.12 release

    This update contains a performance improvement, suggested in the issue:
    BorisMoore/jsviews#453
    
    All instances of code which test whether an object, someObject, is
    of type string by testing:
        if (someObject + "" !== someObject) {...}
    have been replaced by more performant code:
        if (typeof someObject !== 'string') {...}
    
    This change applies to jsrender, jsviews and jsobservable files...
    
    Sync with other changes in v1.0.12 for JsViews
    BorisMoore committed Nov 12, 2022
    Copy the full SHA
    75f2059 View commit details

Commits on Mar 31, 2023

  1. v1.0.13 release

    This update contains a minor bug fix:
    BorisMoore/jsviews#455: "Using a tmpl selector
    that begins with a # but is not an ID selector does not work".
    
    This change applies to jsrender and jsviews
    
    The update also includes some minor documentation updates, and moves
    to the latest versions of JQuery and JQuery UI, for all samples, examples,
    and test pages.
    
    Sync with other changes in v1.0.13 for JsViews
    BorisMoore committed Mar 31, 2023
    Copy the full SHA
    2440b69 View commit details

Commits on Apr 17, 2024

  1. v1.0.14 release

    This update provides additional features and improvements for
    {^{checkboxgroup}} and {^{radiogroup}} tags - together with
    supporting documentation.
    
    https://www.jsviews.com/#jsvcheckboxgrouptag@selector
    https://www.jsviews.com/#jsvradiogrouptag@selector
    
    See also advanced samples here:
    https://www.jsviews.com/#samples/sort-filter@nested-group-tags
    
    The update also brings improved domChangeEvent support. See the
    documentation here:
    https://www.jsviews.com/#tagoptions@domchange
    
    It also includes some additional minor bug fixes and documentation
    updates
    BorisMoore committed Apr 17, 2024
    Copy the full SHA
    6c9f443 View commit details

Commits on Jul 14, 2024

  1. v1.0.15 release

    Minor update - sync with other changes in v1.0.15 for JsViews
    BorisMoore committed Jul 14, 2024
    Copy the full SHA
    e3e3d09 View commit details
Loading