New release: 1.1.2

62 views
Skip to first unread message
Message has been deleted

fla...@gmail.com

unread,
Jan 1, 2011, 1:53:53 PM1/1/11
to KnockoutJS
Hey everyone

I've just built and released Knockout version 1.1.2. You can download
it now from http://knockoutjs.com/

Here's what's changed since 1.1.1:


=== Enhancements ===

* Writable dependent observables (see
http://groups.google.com/group/knockoutjs/browse_thread/thread/bb236e0601d5dc4e/da3d8e7e65157274)

* Single-parameter syntax for setting all options on a
dependentObservable (https://github.com/SteveSanderson/knockout/commit/
7072ff5e22736e1dd2eb92e786dbe8b35014ab26)

* Retaining scroll position in a multi-select box while changing
displayed options (https://github.com/SteveSanderson/knockout/commit/
5911473a1496c5c8096ef22060f0c36e6c98c136)

* Text and Value bindings now display null/undefined model values as
empty strings (instead of actually saying "undefined" -
https://github.com/SteveSanderson/knockout/commit/920c3f8a41637cc7d553ed9794ce84181429be7f)

* "afterRender" callback added to "template" binding for custom
template post-processing (https://github.com/SteveSanderson/knockout/
commit/f5e726cf8169f9839842bf2da410a850841951d2)

* optionsCaption OPTION node now has empty string value by default for
compatibility with jQuery Validation (https://github.com/
SteveSanderson/knockout/commit/
582ba9c5e1df29c1041871f8f2272f79a9eaa13d)

* For SELECT boxes, we now enforce the rule that your currently
selected value must equal the bound model value, so invalid model
values will be overwritten. The main use case is automatically
initialising your model value to the first available option value if
it was undefined. Basically it now does what people already expected
it to do (https://github.com/SteveSanderson/knockout/commit/
b0bb095455ed6fee6b681e3a8da1c48015135333)


=== Bugfixes ===

* Was unable to write to unobservable properties with certain names
(https://github.com/SteveSanderson/knockout/commit/
2dfa840d5b9773ff625864c9bdd9bd8c76d38e61)

* Was unable to write to unobservable properties on H1-H6 elements due
to regex bug (https://github.com/SteveSanderson/knockout/commit/
2f081003b69d19bf1f762d9cac07423038480ee2) - thanks to Aaron for the
fix

* Was unable to write the numeric value zero to empty text boxes, due
to loose comparison suggesting they were already equal (https://
github.com/SteveSanderson/knockout/commit/
5a35753be7486967038febd12dafeef08b8bea4b)

* On certain browsers, clicking a radio button caused two
notifications on the bound observable. Now it just causes one as you'd
expect (https://github.com/SteveSanderson/knockout/commit/
be182abed20c0ba8bbf95f16ab5d29b9c1955ca9)

* IE 7 failed to update radio button values in certain situations -
fixed (https://github.com/SteveSanderson/knockout/commit/
6599bd3e1a900b518527ff61f54c6227f35a3bee)


=== Notes ===

Many of you will already have benefited from some of these
improvements, as 1.1.2pre has been available for some time. Note that
the docs on knockoutjs.com won't include information about the new
functionality until 1.2.0 is released in a few weeks. Since
documentation is so time-consuming the general policy is to update it
fully for new features only for major point releases. If there was any
breaking change in a new version the docs would be updated
immediately, but there shouldn't be any breaking change in 1.1.2.

This almost completes the functionality planned for 1.2.0, so once the
last enhancements are done and all the docs are updated (not a trivial
task...), version 1.2.0 will be released. Please let me know if you
discover any breaking issues in 1.1.2 - currently I'm not aware that
there are any.


Thanks to everyone who gave feedback on 1.1.1 and especially to those
who implemented enhancements and submitted pull requests!
Steve

Ω Alisson

unread,
Jan 1, 2011, 3:36:08 PM1/1/11
to knock...@googlegroups.com
Great Steve, this release is hot! :D

Pickels

unread,
Jan 1, 2011, 4:12:42 PM1/1/11
to KnockoutJS
Keep up the good work. I am really enjoying Knockout.js.

On Jan 1, 7:53 pm, "st...@codeville.net" <fla...@gmail.com> wrote:
> Hey everyone
>
> I've just built and released Knockout version 1.1.2. You can download
> it now fromhttp://knockoutjs.com/
>
> Here's what's changed since 1.1.1:
>
> === Enhancements ===
>
> * Writable dependent observables (seehttp://groups.google.com/group/knockoutjs/browse_thread/thread/bb236e...)
>
> * Single-parameter syntax for setting all options on a
> dependentObservable (https://github.com/SteveSanderson/knockout/commit/
> 7072ff5e22736e1dd2eb92e786dbe8b35014ab26)
>
> * Retaining scroll position in a multi-select box while changing
> displayed options (https://github.com/SteveSanderson/knockout/commit/
> 5911473a1496c5c8096ef22060f0c36e6c98c136)
>
> * Text and Value bindings now display null/undefined model values as
> empty strings (instead of actually saying "undefined" -https://github.com/SteveSanderson/knockout/commit/920c3f8a41637cc7d55...)

green

unread,
Jan 1, 2011, 9:13:25 PM1/1/11
to knock...@googlegroups.com
Great work, Steve! thank you a lot!

CuriousNewbie

unread,
Jan 2, 2011, 12:36:32 AM1/2/11
to KnockoutJS
Well done sir

Roy Jacobs

unread,
Jan 3, 2011, 4:48:40 AM1/3/11
to knock...@googlegroups.com
Go, Steve!

mcoolin

unread,
Jan 3, 2011, 9:33:29 AM1/3/11
to KnockoutJS
Way to go!

Thanks Steve

Reply all
Reply to author
Forward
0 new messages