Skip to content

Commit

Permalink
Merge pull request #20 from paintparty/0.10.0
Browse files Browse the repository at this point in the history
Use kebab case for all js tags
  • Loading branch information
paintparty authored Nov 25, 2024
2 parents 0ce6eb8 + 003201e commit 3bf0c58
Show file tree
Hide file tree
Showing 6 changed files with 172 additions and 116 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,27 @@
<br>
<br>

## 0.10.0
2024-11-24
### Breaking changes
- Changed the following tags (result of calling `lasertag.core/tag`):<br>
`:js/Set` -> `:set`
`:js/Map` -> `:map`
`:js/WeakSet` -> `:set`
`:js/WeakMap` -> `:map`
`:js/Array` -> `:array`
`:js/ArrayBuffer` -> `:byte-array`

- Changed all tags that were namespaced with `js/` to use a unified kebab-case
convention, e.g.:<br>
`js/Object` -> `:js-object`<br>
`js/Int8Array` -> `:js-int8-array`

- All typed arrays in JS now get tagged with `:array`, with a more granular tag
e.g. `:js-int8-array` in the `:all-tags` entry of return value from `lasertag.core/tag-map`

<br>

## 0.9.0
2024-11-18
### Breaking changes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If using with Babashka, requires Babashka `v1.12.196`(Coming Soon) or higher
Add as a dependency to your project:

```clojure
[io.github.paintparty/lasertag "0.9.0"]
[io.github.paintparty/lasertag "0.10.0"]
```
<br>

Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject io.github.paintparty/lasertag "0.9.0"
(defproject io.github.paintparty/lasertag "0.10.0"
:description "Clojure(Script) utility for discerning types of values."
:url "https://github.com/paintparty/lasertag"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
Expand Down
1 change: 1 addition & 0 deletions src/lasertag/cljs_interop.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
o #js{:a 1}]
(.set wm o 100))"
:args '[...]}]
;; TODO - fix this WeakSet demo
[js/WeakSet {:sym 'WeakSet :demo "(new js/Set #js[1 2])" :args '[...]}]
]

Expand Down
Loading

0 comments on commit 3bf0c58

Please sign in to comment.