Commit Graph

215 Commits

Author SHA1 Message Date
Paul Schaaf 34eadb4df0
fix changelog 2022-03-07 14:24:22 -05:00
Paul Schaaf b6b209840c
Merge branch 'master' into cli-workspace 2022-03-07 14:23:45 -05:00
Paul 6dd0574cca
fix changelog (#1568) 2022-03-07 14:23:13 -05:00
Paul c8d8cacd22
lang: remove default space calc (#1519) 2022-03-07 11:23:47 -05:00
Matthew Callens eee75ab07a
ts: fix methods builder `.accounts` requiring global programs (#1548) 2022-03-03 22:42:45 -05:00
Rohan Kapur 4e8bb08cc4
spl: Add support for the spl_token revoke (#1493) 2022-03-03 15:46:17 -05:00
Matthew Callens 80be42803d
ts: fix methods namespace typing loss and deprecate non-methods namespaces (#1539) 2022-03-01 19:26:32 -05:00
Matthew Callens a78c9c0341
lang: add sysvar custom error and failing test case (#1535) 2022-03-01 11:33:18 -05:00
Nikhil B N 4b39ef2996 Use default solana config for anchor idl fetch
Signed-off-by: Nikhil B N <nikhilbn365@gmail.com>
2022-03-01 00:45:05 +05:30
Armani Ferrante b733610d87
v0.22.1 (#1528) 2022-02-28 11:35:59 -05:00
Paul 4afdf56cfa
docs: fix changelog error migration guide (#1508) 2022-02-22 17:38:53 -05:00
Evan Conrad 4fd20c7bf9
changelog: add additional upgrade guide for 0.22.0 (#1497) 2022-02-21 14:50:57 -05:00
Armani Ferrante a604f8595c
makefile and changelog misc updates (#1491) 2022-02-21 11:05:17 -05:00
Armani Ferrante 24ccaea903
v0.22.0 (#1484) 2022-02-20 20:32:38 -05:00
Paul c0b2fd7555
cli: add --skip-lint option (#1482) 2022-02-20 19:43:19 -05:00
Paul 40596824bf
error redesign (#1462) 2022-02-20 17:28:24 -05:00
Tom Linton 5ff9947ba2
lang: Error on undocumented unsafe account types (#1452) 2022-02-17 17:45:33 -05:00
Pavel Kuzovkin 90bcea1cbe
lang, ts: float types support (#1425) 2022-02-17 14:23:21 -05:00
Paul 1f56a62bab
lang: add check that declared id == program id (#1451) 2022-02-15 18:16:06 -05:00
Paul d5e7e2a7c3
docs: update changelog for #1426 (#1432) 2022-02-11 11:35:09 +01:00
Daniel Marin 3838bdeaf0
ts: allow nullable types for option fields (#1428) 2022-02-10 09:46:44 -05:00
man0s 83121c26eb
Add check for mutability of init payer (#1271) 2022-02-08 18:34:18 +01:00
Armani Ferrante 1164ebdcfc
fix changelog version (#1409) 2022-02-08 12:22:17 -05:00
Armani Ferrante ef1a58d665
v0.21.0 (#1403) 2022-02-07 20:10:49 -05:00
Armani Ferrante 598c7b0790
lang: error if bump target is given on init (#1380) 2022-02-07 13:26:05 -05:00
Eoin Murphy 9fea72e701
ts: fill in some gaps for ts IDL types (#1393) 2022-02-04 13:11:17 -05:00
Tom Linton 75469f423c
cli: anchor version manager (avm) (#1385) 2022-02-03 19:13:40 -05:00
Tom Linton 5e2821fd85
cli: Expose --account flag for solana-test-validator in Anchor.toml (#1366) 2022-01-31 19:52:08 -05:00
Matthew Callens 714f5e6b75
ts: fix `Wallet` class declaration (#1363) 2022-01-31 18:31:21 -05:00
Paul 17c9463592
Lang: feature flag for init_if_needed (#1258)
Co-authored-by: Armani Ferrante <armaniferrante@gmail.com>
2022-01-30 21:59:25 +01:00
Armani Ferrante 46722953c1
ts: verified build utility (#1371) 2022-01-29 16:46:12 -05:00
Armani Ferrante 16a7dc5dc1
lang: store calculated bump seeds in context (#1367) 2022-01-27 16:55:13 -05:00
Armani Ferrante e121e4e09d
ts: builder api (#1324) 2022-01-15 17:09:53 -05:00
xjcaa f34287e399
ts: remove event error log (#1313) 2022-01-14 11:02:15 -05:00
Alan O'Donnell e04f144e12
lang: add seeds::program constraint for PDAs (#1197) 2022-01-11 10:51:22 -05:00
Paul 0dfed11eaa
lang: rename loader_account.rs to account_loader.rs (#1279) 2022-01-10 14:39:24 -05:00
Armani Ferrante 4422902e86
changelog: move breaking section into unreleased (#1287) 2022-01-10 12:57:43 -05:00
Armani Ferrante 84e0852584
ts: `Coder` as interface and SPL token coder (#1259) 2022-01-09 21:10:25 -05:00
Armani Ferrante a81ff88d76
v0.20.1 (#1274) 2022-01-09 16:50:10 -05:00
Paul 01ff03b09b
lang: give better errors for init when programs are missing (#1257) 2022-01-07 11:09:10 -05:00
Armani Ferrante 9c47c0a6cd
v0.20.0 (#1251) 2022-01-06 18:09:43 -05:00
Paul 4d4cba5add
lang: add rent exempt check for init_if_needed when init is not needed (#1250) 2022-01-06 15:31:36 -05:00
Paul a830644203
lang: export accounts module, re-export its types in the prelude (#1208) 2022-01-06 15:26:43 -05:00
Paul e026e9e874
lang: fix missing ATA owner check (#1240) 2022-01-05 11:09:57 -05:00
Dominic Lee 6f4fe1dd11
ts: add missing types for conditional exports (#1137) 2022-01-03 11:51:27 +01:00
Paul b3720a0b84
lang, ts: fix init_if_needed missing ATA address check (#1221) 2022-01-01 21:47:13 -05:00
Paul 1749a7bd53
cli: Add `anchor expand` command (#1160) 2021-12-27 13:34:45 -05:00
Paul 51366441d2
lang: implement AsRef<T> for Account<'a, T> (#1173) 2021-12-27 10:37:47 -05:00
Paul b5827c1b24
lang: add default impls for AccountSerialize and AccountDeserialize (#1156) 2021-12-27 10:36:29 -05:00
Tom Linton 51aeb08ae1
lang: Handle arrays with const as length (#968) 2021-12-22 23:13:46 -05:00