Tristan Sloughter
1d3407aa97
Merge pull request #154 from kianmeng/fix-typos
...
Fix typos
2021-12-23 10:55:20 -07:00
Kian-Meng, Ang
1d5c261c18
Fix typos
2021-09-23 20:20:12 +08:00
Tristan Sloughter
590214d80f
Merge pull request #150 from paulo-ferraz-oliveira/feature/ci-otp-24
...
Tweak CI versions (add 24.0)
2021-06-29 07:34:36 -06:00
Paulo F. Oliveira
6513aa3b05
Adapt to OTP 24
2021-05-14 10:42:35 +01:00
Paulo F. Oliveira
9ccf51167b
Try to solve an issue via a ver.bump
...
(I'm not sure this will fix it, but IIRC gleam-lang/setup-erlang is pulling from ESL and
that contains a proper 24.0)
2021-05-14 10:28:13 +01:00
Paulo F. Oliveira
170f994071
Tweak CI versions (add 24.0)
2021-05-14 10:23:55 +01:00
Tristan Sloughter
bb9b3e570a
Merge pull request #149 from tsloughter/bump-3.1.0
...
version bump 3.1.0
2021-04-16 07:56:37 -06:00
Tristan Sloughter
061b1ed91b
set github actions os to ubuntu-18.04
2021-04-16 06:55:54 -06:00
Tristan Sloughter
8bf2c93bde
version bump 3.1.0
2021-04-16 06:51:20 -06:00
Tristan Sloughter
7c7a69c167
Merge pull request #146 from paulo-ferraz-oliveira/feature/stricter_dialyzer_analysis
...
Stricter dialyzer analysis
2020-09-14 17:28:22 -06:00
Paulo F. Oliveira
3a8f364153
Deal with dialyzer issues
...
We end up:
1. making the main interface (`jsx:`) more readable and easier to maintain
(this allows for easier future dropping of the use of `#config{}` for options),
2. fixing some config.-related `-spec(_).`s that weren't using proper elements,
3. having `any()` become a "specific type" - which seems like an improvement,
4. moving stuff like `list()` or `proplists:proplist()` into more appropriate types,
5. making the main config. element (`jsx_config`) "pretty" visible,
6. creating a visible distinction between a module's config. and the generic `jsx_config` elements
2020-09-12 03:41:53 +01:00
Tristan Sloughter
894ec1e6cc
Merge pull request #141 from talentdeficit/rm-makefile
...
expand OTPs under test by CI
2020-07-03 10:33:02 -06:00
Tristan Sloughter
1e88fc5455
remove main.yml comment from relx and add otp versions
2020-07-03 10:00:25 -06:00
Tristan Sloughter
bf923a5890
remove unneeded makefile
2020-07-03 09:55:23 -06:00
Tristan Sloughter
8231cf8fc6
Merge pull request #142 from talentdeficit/talentdeficit-patch-1
...
swap master to main in gh actions thing
2020-07-03 09:54:16 -06:00
alisdair sullivan
456ffdb60a
swap master to main in gh actions thing
2020-07-03 08:53:01 -07:00
Tristan Sloughter
a45c997ced
Merge pull request #139 from talentdeficit/maps-default
...
drop support for versions before OTP-17 and bump to 3.0.0
2020-06-26 08:11:41 -06:00
Tristan Sloughter
fab436e1d5
drop support for versions before OTP-17 and bump to 3.0.0
2020-06-26 08:09:57 -06:00
alisdair sullivan
1bbe8986c7
Merge pull request #137 from getkimball/dialyze-with-tail
...
Add `with_tail` to `decode` spec
2020-06-25 14:55:49 -07:00
Tristan Sloughter
e8d2e01b60
add github link to hex metadata
2020-06-02 18:25:50 -06:00
Tristan Sloughter
54d26f602a
version bump to 2.11.0
2020-06-02 18:23:18 -06:00
Philip Cristiano
cc4d7121b3
Add with_tail
to decode
spec
...
`with_tail` was not defined in the spec and would fail usage of anyone
using this return format
2020-04-29 18:07:13 -04:00
Tristan Sloughter
b6c9408977
Merge pull request #135 from filmor/patch-2
...
Make the map term more specific
2020-03-14 21:23:05 -06:00
Tristan Sloughter
2c6ea4168b
Merge pull request #134 from paulo-ferraz-oliveira/fix/for_dialyzer
...
Fix error and `-spec(_).`s
2020-03-12 13:44:54 -06:00
Benedikt Reinartz
6d71eeccf4
Make the map term more specific
2020-03-08 13:14:17 +01:00
Paulo F. Oliveira
d8599806c4
Fix error detected by dialyzer
...
Issued under OTP 22.2
This is a "double" fix:
1. it seems to me that ?error (in this case) requires string as first arg.
2. F (from the arguments) was clashing with F from the ?error macro, which caused a
Guard test ... can never succeed dialyzer warning
2020-02-11 10:19:01 +00:00
Paulo F. Oliveira
2b8f5702ea
Prevent dialyzer warning
...
Issued under OTP 22.2
2020-02-11 09:11:24 +00:00
Paulo F. Oliveira
2b9549fba7
Prevent dialyzer warning
...
Issued under OTP 22.2
2020-02-10 16:56:24 +00:00
Tristan Sloughter
04ea54a2b3
Merge pull request #125 from getong/test_erlang_21
...
test erlang/otp 20 and 21, 22
2019-10-05 07:39:02 -06:00
19年梦醒
a3fe8f113a
test erlang/otp 22
2019-10-05 18:21:32 +08:00
Tristan Sloughter
6712649b9a
add licenses hex metadata
2019-06-03 11:19:11 -06:00
Tristan Sloughter
b1289a16ae
verison bump 2.10.0
2019-06-03 11:17:02 -06:00
Tristan Sloughter
0b88fc1ac2
Merge pull request #126 from fogfish/develop
...
Support custom newline symbol(s) for format option
2019-05-30 08:25:20 -06:00
Dmitry Kolesnikov
5dbb9b5f24
Support custom newline symbol(s) for format option
2019-05-24 22:54:36 +03:00
getong
9d71efe4cf
test erlang/otp 20 and 21
2019-04-09 16:58:12 +08:00
alisdair sullivan
528d5b8253
Merge pull request #121 from ratopi/develop
...
missing description for {key, binary()} added
2018-12-09 22:23:21 -08:00
Ralf Th. Pietsch
ffd72ccd19
missing description for {key, binary()} added
2018-11-20 07:43:39 +01:00
alisdair sullivan
c590b1f51f
Merge pull request #118 from paulo-ferraz-oliveira/fix/dialyzer_issues
...
Fix dialyzer issues
2018-02-14 04:49:34 -08:00
Paulo F. Oliveira
a3b1a9dad9
Allow -spec(). to reflect what's really going on
...
Handle "Invalid type specification"
2018-02-10 00:04:14 +00:00
Paulo F. Oliveira
f80903b3f5
Update -spec(). for proper module readibility
...
Handle "Invalid type specification"
2018-02-09 23:59:30 +00:00
alisdair
fc2a001073
bump version to 2.9.0
2017-12-23 19:10:12 -08:00
alisdair
e5bfa8a39e
add control_codes
mode to strict parsing that rejects strings with
...
ascii control codes
2017-12-23 19:08:28 -08:00
alisdair sullivan
6a01f3a43b
Merge pull request #115 from dumbbell/honor-return_maps-option
...
jsx_to_term:parse_config/2: Honor `return_maps` option value
2017-10-22 13:52:18 -07:00
Jean-Sébastien Pédron
48574d4242
jsx_to_term:parse_config/2: Honor return_maps
option value
...
Previously, no matter what the caller specified in options,
`return_maps` was always set to `true`. The only solution was to not
specify `return_maps` at all.
Unfortunately, if the caller is using a wrapper which sets default
options, including `return_maps`, it's impossible to override it. This
prevented the caller from requesting this mode if he was interested in
preserving the order of keys.
While here, add a testcase for this.
2017-09-26 10:20:42 +02:00
alisdair sullivan
5acdc7e4f2
Merge pull request #112 from lucafavatella/review-config
...
Review config
2017-06-09 12:09:36 -07:00
Luca Favatella
1e80a36061
Correct documentation of semantics of strict
option
...
See https://github.com/talentdeficit/jsx/blob/2.8.2/src/jsx_config.erl#L78
2017-06-08 13:56:25 +01:00
Luca Favatella
9f0ababed2
Fix typo in readme on utf8 option
2017-06-08 13:56:01 +01:00
alisdair sullivan
d5913af1b7
v2.8.2
2017-02-06 18:48:03 -08:00
alisdair sullivan
aebb218f31
Merge pull request #106 from talentdeficit/master
...
catch up to master
2017-02-06 18:44:51 -08:00
alisdair sullivan
a64eb43cd1
update versions to test against on travis
2017-02-06 18:43:21 -08:00