Changelog of @hackage/reflex-dom-core 0.7.0.3

Revision history for reflex-dom-core

0.7.0.3

  • Loosen version bounds of aeson, ref-tf and constraints

0.7.0.2

  • Require reflex >= 0.8.2.1 and switch to commutative-semigroups

0.7.0.1

  • Add a variant of postForms that allows the XhrRequestConfig to be specified.

0.7.0.0

  • Breaking change: Remove HasJSContext and MonadJS. This change also removes the js type parameter from Prerender. Change Prerender js t m to Prerender t m.
    • Reflex.Dom.WebSocket.Foreign.newWebSocket takes one fewer argument: the first argument used to be a js context

0.6.3.0

  • Remove calls to eval in Reflex.Dom.Builder.Immediate when compiling with ghcjs

0.6.2.1

  • Fix hlint complaints with newer GHC.

0.6.2.0

  • (#400) Set value of input elements in static renderer

0.6.1.0

  • Bump version bounds
  • Update for new dependent-map and dependent-sum version (after the "some" package split)
  • Add MonadAtomicRef instance for UnrunnableT
  • Fix (#467): Prevent multiple firings of XHR response event
  • Updates for GHC 8.10
  • Move HasSetValue from Reflex.Dom.Widget.Input to Reflex.Dom.Builder.Class and add an instance for TextAreaElementConfig
  • Add now to the MonadHold instance for UnrunnableT

0.6.0.0

  • (#375) (Breaking change) Expose resized dimensions from resizeDetector, resizeDetectorWithStyle, and resizeDetectorWithAttrs from Reflex.Dom.Widget.Resize.
  • (#374) (Breaking change) Provide text clipboard data as value of Paste event.
  • (#348) (Breaking change) Make XHR response headers case insensitive by changing _xhrResponse_headers :: Map Text Text to _xhrResponse_headers :: Map (CI Text) Text.
  • (#225) (Breaking change) Add a functional dependency to HasDomEvent.
  • (#342) (Breaking change) The mouse wheel event is now a WheelEventResult rather than (). This provides information about the wheel's motion beyond the fact that it merely moved.
  • (#353) Support GHC 8.8.
  • (#358) Fix attribute support for explicitly namespaced elements.
  • (#363) Remove deprecation warnings for the following widgets in Reflex.Dom.Widget.Basic:
    • Link
    • button
    • dtdd
    • linkClass
    • link
    • tabDisplay
    • tableDynAttr
  • (#361) Fix bug in hydration causing the JavaScript to crash when dealing with unexpected HTML.
  • (#310) Fix the static rendering of which dropdown value is selected.
  • (#364) Export attributes used for controlling hydration at the element level:
    • "data-ssr" is now available as Reflex.Dom.Builder.Immediate.hydratableAttribute.
    • "data-hydration-skip" is now available as Reflex.Dom.Builder.Immediate.skipHydrationAttribute.
  • (#366) Bump bounds for reflex to include 0.7.

0.5.3

  • Deprecate a number of old inflexible widget helpers in Reflex.Dom.Widget.Basic:

    • Link
    • button
    • dtdd
    • linkClass
    • link
    • tabDisplay
    • tableDynAttr

    And in Reflex.Dom.Widget.Input:

    • TextInput
    • TextAreaConfig
    • CheckboxConfig
    • FileInput
  • Add < 0.7 upper bound for reflex.

0.5.2

  • Update to use new dependent-sum/map packages and drop dependency on *Tag classes (e.g., ShowTag).

  • Update version bounds of base, containers, and stm

  • Update to use the newly split these/semialign packages. To use the pre-split these package, set the split-these flag to false.

  • Reintroduce "data-ssr": elements without this attribute are skipped during hydration.

  • Fix an issue in the hydration tests that prevented the test from finding the chromium executable

  • Relax constraints on dyn and widgetHold to match the ones in networkView and networkHold respectively

  • Fix prerender for RequesterT so that it doesn't accidentally discard a request that is made at the same moment as getPostBuild's Event fires

0.5.1

  • Added support for marking elements with a "data-skip-hydration" attribute, which will cause hydration to ignore and skip over them.

  • Removed "data-ssr" attributes from statically rendered output.

0.5

  • Add HydrationDomBuilderT to support hydration of statically rendered DOM nodes. See the note at the top of Reflex.Dom.Builder.Immediate.

  • As a result of the hydration changes, the Prerender class has changed, the type of prerender has changed and it is now a class method.

  • Add the Reflex.Dom.Xhr.FormData module to make posting formdata over xhr more convenient.