Skip to content

Releases: canjs/can-connect

Allow connection-wide beforeSend method

24 Jun 17:19
Compare
Choose a tag to compare

PR #485 - allow connection-wide beforeSend method - Modify url option parsing to allow a beforeSend implementation to be passed as an ajax option for all data request methods. See documentation here: https://canjs.com/doc/can-connect/data/url/url.url.html

Adding can/session behavior

18 Jun 20:29
Compare
Choose a tag to compare

Including a new behavior that simplifies the handling of session data.

Use canReflect to create new lists

29 May 15:50
Compare
Choose a tag to compare

This is a patch release, making sure that can-connect/can/map/ uses canReflect.new to create new lists. Doing this ensures that lists that implement can.new symbol have that logic run.

QUNIT2 upgrade

28 May 18:00
Compare
Choose a tag to compare

This updates the tests to use [email protected].

#469

Depend on can-reflect 1.17.10 or later

24 May 04:58
Compare
Choose a tag to compare

With the latest release of can-reflect (https://github.com/canjs/can-reflect/releases/tag/v1.17.10) the use of dates in list queries causes them to stringify to their ISO values in the serialized form of the list set. This release relies on that version or later as a dependency, and adds a test to demonstrate that dates are handled correctly when adding a list reference in the constructor-store list store.

The serialized form of the query object (using sortedSetJSON()) is used internally as a key to the list store by the constructor-store behavior. Previously, with sortedSetJSON treating any date as an empty plain object, sets could match a false positive in the list store if a raw Date was used, rather than its numeric or string representation, in a query. Problems were also seen in the MaybeDate handler in can-query-logic. Both of these are alleviated with the new can-reflect version.

Remove left-over <<<<<<< HEAD from merge

08 Mar 21:53
Compare
Choose a tag to compare

This removes <<<<<<< HEAD from a demo file.

#455

Adding test-without-proxy (for IE11)

20 Nov 15:41
Compare
Choose a tag to compare

IE 11 Compatibility

08 Nov 21:35
Compare
Choose a tag to compare

real-time doesn't handle updates when the id doesn't change

01 Aug 21:31
Compare
Choose a tag to compare

3.0.0

05 Jul 16:00
Compare
Choose a tag to compare

This is a new major release of can-connect!

This change migrates can-connect to being an infrastructure package. can-rest-model, can-rest-realtime-model, can-super-model and others will serve as the primary way in which users will use can-connect.