hoplon

Simple and powerful tool for building web apps out of highly composable elements in ClojureScript.

EPL-1.0 License

Downloads
16.8K
Stars
1K
Committers
30

Bot releases are hidden (Show)

hoplon - v7.5.0 Latest Release

Published by mynomoto 11 months ago

What's Changed

  • Add a new provider that uses the dom api directly. To use it require hoplon.dom.
  • Add tests to all providers and run those in ci including using advanced compilation.

Full Changelog: https://github.com/hoplon/hoplon/compare/v7.4.0...v7.5.0

hoplon - v7.4.0

Published by mynomoto 12 months ago

What's Changed

  • Make specs and spec validation optional when building the application
  • BREAKING: users that are using spec validation and call (hoplon.core/spec!)
    now need to call (hoplon.googl-spec/spec!) or (hoplon.jquery-spec/spec!)
    depending on the provider they use. The default provider if you don't have a
    explicit require on hoplon.jquery or hoplon.goog is jquery.
  • BREAKING: remove broken attributes on goog provider. The following attributes
    were removed:
    • :slide-toggle
    • :focus
    • :select
    • :focus-select
    • :html
    • :scroll-to
  • goog implementation is considered deprecated at this point considering that
    Closure Library is in maintenance mode

Full Changelog: https://github.com/hoplon/hoplon/compare/v7.3.5...v7.4.0

hoplon - v7.3.5

Published by mynomoto 12 months ago

Update dependencies, including javelin with some performance improvements

Full Changelog: https://github.com/hoplon/hoplon/compare/7.3.4...v7.3.5

hoplon - v7.3.4

Published by mynomoto about 1 year ago

  • with-init! execute the fn immediately if the page has already loaded (fixes #257)
  • Fix singletons appending instead of replacing children (fixes #264)

Library developers

  • Use Element.matches() instead of Element.webkitMatchesSelector() in tests (fixes #272)
hoplon - v7.3.3

Published by mynomoto over 1 year ago

Deref an event work when using hoplon.goog attribute provider.

hoplon - v7.3.2

Published by mynomoto over 1 year ago

  • Move the cljsjs.jquery dependency back to regular deps.
  • More :no-doc metadata to fix building on cljdoc.
hoplon - v7.3.1

Published by mynomoto over 1 year ago

  • Add some :no-doc metadata to fix building on cljdoc.
  • Fix scm link so cljdoc can find the project on github.
hoplon - v7.3.0

Published by alandipert over 1 year ago

hoplon - v7.2.0

Published by flyboarder almost 7 years ago

Bug Fixes

  • defattr spec was not being used, improved spec

Refactored

  • Avoid Protocol Override
  • Rename INode to IHoplonNode da849e0
  • Reorganized hoplon.core
  • mark -do! and -on! as private
  • renamed -attr! to -attribute!
  • dispatcher now used by all multi-methods 9561df6
  • Improved runtime specs
  • Removed when-dom for on! events

Added

  • dispatcher helper function ba36c95
  • elem! multi-method 9561df6
  • Managed Versions via boot-semver

Removed

Moved

Tests

  • text macro tests for interpolation
hoplon - v7.1.0

Published by flyboarder almost 7 years ago

Release

Version 7.0 was an accumulation of all the changes that happened during the v6-alpha development cycle and made many breaking changes.

Version 7.1 attempts to provide 100% compatibility with 7.0 but also prepares the codebase for the next major version of clojure/clojurescript, and updates dependencies to the latest versions which changes browser compatibility, dropping older browsers and targeting evergreen-1 releases.

Changes

  • Update Clojure to 1.9
  • Update ClojureScript to 1.9.946
  • Update All Other Dependencies
  • Drop IE8 Support (via jQuery update)
  • Add Clojure Spec Support for macros
  • Add Docstring and Pre/Post Condition Support to defelem
  • Add Clojure Spec Support for elements/on!/do!
  • Enhance Attribute Changes post elem construction
  • Enhance tests/spec's for macros/public functions
hoplon - boot-hoplon. ns+. clj & cljs dependency scope. tests.

Published by onetom almost 8 years ago

  • Merge boot-hoplon back into hoplon
  • Merge boot-hoplon back into hoplon. This eliminates issues associated
    with using an older version of boot-hoplon with a newer version of
    hoplon. The boot-hoplon dependency is now deprecated and should not be
    used.
  • Print a warning when boot-hoplon dependency was specified.
  • Make clojure and clojurescript dependencies scope "compile" instead of
    "provided": this will help the user more easily see the dependencies
    in case of conflicts so they can debug and fix. With scope "provided"
    these dependencies are not shown in the dependency graph or the list
    of conflicts when building a project that depends on hoplon, so it's
    more difficult to debug dependency issues.
  • Get tests running again
  • Fix deps.cljs issue and ns+ foreign-libs bug
  • Fix issue where hoplon and ns+ task would crash expecting deps.cljs to
    be a valid cljs namespace. Now it has a special case for that file.
  • Fix issue where ns+ would remove :require clauses for foreign-libs. It
    no longer removes them.