Skip to content

Releases: nyaruka/goflow

v0.9.6

03 May 15:39
Compare
Choose a tag to compare

Changelog

8414d89 Update CHANGELOG.md for v0.9.6
459896d Merge pull request #281 from nyaruka/fix_loc_tests
106e972 Migrate templates in legacy HasState and HasWard tests
a8db2db Merge pull request #279 from nyaruka/locations
1047fc8 Merge branch 'master' into locations
b650401 Merge pull request #280 from nyaruka/has_email
05a5ec3 Fix migration of has_email tests
790f191 Merge branch 'master' into locations
b0eefa0 Coverage
9b218de Coverage
1da6172 Update test files
fe76205 Merge branch 'master' into locations
d35648d Merge pull request #278 from nyaruka/jason
8c3d8c8 Coverage
0de69be Replace more usages of json.Marshal
5f39bdb Fix tests
4a6372f Add JSON util functions for marshalling without HTML escaping
d5bb92b Regenerate test files
6f0e038 Implement same location parsing logic as RP
b3dead7 FieldValue.TypedValue() should return LocationPath for location fields
1915c28 Move locations back into utils package
b55e923 Add support for looking up locations by path
3b6303c Update CHANGELOG.md
fc0077b Merge branch 'master' into locations
f554a57 Use location paths instead of names in all tests
15f22d3 Merge branch 'master' into locations
c691bc9 Merge branch 'master' into locations
7f39596 Rename read_digits -> read_chars
82d9224 Merge branch 'legacy' into locations
752e81f Fix format_date should migrate to format_datetime
a2561a5 Remove FieldKey type and add format_location xfunction
3f1f8b2 Add support for searching for locations by path
03366cf Remove location IDs and add location paths


Automated with GoReleaser
Built with go version go1.10 darwin/amd64

v0.9.5

01 May 22:27
Compare
Choose a tag to compare

Changelog

15ed81a Update CHANGELOG.md for v0.9.5
4e33300 Update CHANGELOG.md for v0.4.6
eb85f69 Add empty CHANGELOG.md
896a75f Add fabfile and fabconfig to .gitignore
68c0bf0 Router test docstring examples should always include use of .match
3c7a528 Merge pull request #276 from nyaruka/ui_coords
82ef8be use left,top instead of x,y


Automated with GoReleaser
Built with go version go1.10 darwin/amd64

v0.9.4

27 Apr 20:49
1ba5e36
Compare
Choose a tag to compare

Changelog

1ba5e36 Merge pull request #275 from nyaruka/legacy
383ad1d Rename read_digits -> read_chars
d0fdd74 Add tests for format_location
ab870cb Punt on checking template evaluation in TestLegacyTests for now
a669da1 Text that all legacy expression tests can migrate (WIP)
4f9c0f9 Remove NULL as a token in legacy expressions
e30e1d2 Remove array support in legacy expressions
9f5d051 Add a separate grammar for legacy expressions that supports <>, TRUE() etc
f7336d7 Migrate TRUE() and FALSE() to true and false
f7a3f37 Coverage
4f46d72 Coverage
4605d19 Coverage
020e799 Coverage
d95ffa1 Coverage, rename conversion funcs to match recent name changes
25e10f7 Coverage


Automated with GoReleaser
Built with go version go1.10 darwin/amd64

v0.9.3

25 Apr 15:50
14f5007
Compare
Choose a tag to compare

Changelog

14f5007 Merge pull request #272 from nyaruka/engine_config
cb772d4 Add unit tests for webhook calls
55061f8 Parse body as needed from webhook response
66c6b1d Remove unused method
61d4e03 Make flowserver.Config implement flows.EngineConfig
778e25c Include body in webhook events
82f4eee Webhook calls should limit bytes read from response bodies based on configurable number of bytes
ac2cd74 Merge pull request #271 from nyaruka/webhook_test
81c970a Webhook calls should stringify as "METHOD URL"
9504900 Use has_webhook_status for migrated webhook rulesets
75cf1dc Add has_webhook_status router test
97e5cc0 Rework legacy migration tests to use mocked UUIDs


Automated with GoReleaser
Built with go version go1.10 darwin/amd64

v0.9.2

23 Apr 19:21
d84ea29
Compare
Choose a tag to compare

Changelog

d84ea29 Merge pull request #263 from nyaruka/webhooks
74e548e Merge branch 'master' into webhooks
36b328a Merge pull request #265 from nyaruka/null
1523afb Merge pull request #262 from nyaruka/empty_values
e7cf461 Merge branch 'master' into empty_values
290f6e1 Update migration test files
4226cef Merge in null branch and use null keyword in legacyWebhookBody
6d47968 Merge branch 'null' into webhooks
ab256e3 Add NULL reserved word and error when trying to convert NULL to a number or date
dc54956 Expose node_uuid and input on results
a908a75 Update test files
7c156ce Expose path on flow runs so it can be included in legacy webhook payload
f55fc95 Tweak legacyWebhookBody to return null for missing URN
461849d Merge branch 'empty_values' into webhooks
986c09e Add tests for IsEmpty
8c60795 deafult() and has_value() should return false for empty strings and arrays
f1d2fe9 WIP
9839803 Asset server requests should use flowserver's http client
e55c9f9 Session has its own HTTP client - flowserver instantiates one with the goflow version in the user-agent header
0b7475b Add HTTPClient to handle requests with standard headers
b7b2732 Tweak legacy webhook payload to match RP (WIP)
e0ee4ce Fix migrating of legacy webhook actions and rulesets


Automated with GoReleaser
Built with go version go1.10 darwin/amd64

v0.9.1

23 Apr 16:52
Compare
Choose a tag to compare

Changelog

e7eea7d Use regular go test coverage generation
14028aa Fix Xtypes not stringifying properly and moar coverage!
7322d03 Rename some cases of date to datetime, alphabetize function tests, add some more tests for functions
383930a Merge pull request #261 from nyaruka/unique_uuids
587760a Coverage
a7e9b19 Validate that flow node UUIDs and actions UUIDs are unique
4400b22 Tweak .travis.yml
9a3b3c6 Coverage
91731d8 Merge pull request #260 from nyaruka/exptester
ba0fcae Expression tester cmd should use standard test session


Automated with GoReleaser
Built with go version go1.10 darwin/amd64

v0.9.0

18 Apr 20:21
fe13c11
Compare
Choose a tag to compare

Changelog

fe13c11 Merge pull request #259 from nyaruka/type_names
032fdc0 Rename field value type decimal to number
3a59e32 Rename XDate to XDateTime
97fcad3 Rename XBool to XBoolean
a20cd44 Rename format_num -> format_number
0a15530 Rename references to string to text in function names and docstrings
726201d Rename XString to XText
8af7352 Merge pull request #258 from nyaruka/simpler_assets
6f1ac42 Merge branch 'master' into simpler_assets
b41f3bc Merge pull request #257 from nyaruka/assets_reorg
2c311dc Assets types are either sets (e.g. groups, labels) or individual items (flows) but not both
522274d Rework session_test to use the same standard test session as other tests
d222261 Move assets stuff into its own package
d1037f6 Merge pull request #256 from nyaruka/tz_fix
5b157a7 fix typo
3e1e498 Fix contact timezone defaulting to UTC - it should default to the session env TZ
8002abe Re-order functions in functions.go to make things easier to find
c569756 Merge pull request #255 from nyaruka/bool_and_string
f3a6004 Fix docstring
6a95349 Add bool() and string()


Automated with GoReleaser
Built with go version go1.10 darwin/amd64

v0.8.1

17 Apr 13:35
7957e34
Compare
Choose a tag to compare

Changelog

7957e34 Merge pull request #249 from nyaruka/test_server_fix
967bd6b Fix migrating save actions with field=first_name
c6fa6ea Remove print in test
112e152 Merge branch 'master' into test_server_fix
f86603f Merge pull request #248 from nyaruka/str_equality
32adcb2 Rename to_json(...) -> json(...) and from_json(...) to parse_json(...)
aaba6c3 Create test server on different ports for different tests to avoid bind err
735daa5 Add more tests for equality checks on bools and dates
ef2ec87 Add couple more test cases for numerical equality checks
357080b Make = and != be string equality, and add NUMBER function to allow users to create normalized decimals
13c38f4 Merge pull request #246 from nyaruka/run_summary_tweak
102081c Merge pull request #247 from nyaruka/xtype_stringers
bbd55b6 Fix error message in types.Compare
11a091e Implement Equals on XNumber and XString
9b55c24 X types should implement String() so we can improve test output
c0fd611 Re-run docgen
c8d06f5 Use a flow reference on marshaled runs
899de2c Use a flow reference on marshaled runSummaries
5955626 Move runSummary into the runs package
28c5dc1 Merge pull request #244 from nyaruka/test_exp__migrations
8ef868d Merge branch 'master' into test_exp__migrations
a6437d7 Merge pull request #242 from nyaruka/funky_funcs
0ffc83e Check function exists in docgen
8eb81fd Final param to word_slice should be optional
1171860 Add support optional arg to round_up/round_down
b2887bf Add support for optional args to format_num
06563f8 Merge branch 'funky_funcs' into test_exp__migrations
b25e2e4 Use `` strings for expression migration tests so quotes don't have to be escaped
8091e05 Migrate expressions with date.yesterday / date.tomorrow
8d43fac Onlt include events generated on last step when docgening actions
d2406bc Try to evaluate migrated expressions and fix problems
5cc58ad Update docs
3794d5a Merge branch 'master' into funky_funcs
ceafdf8 Merge pull request #241 from nyaruka/rand
6629c2d Don't include function name in errors generated inside functions but have the caller prepend it
d971e4c Merge branch 'master' into rand
198dd3b Merge pull request #239 from nyaruka/word_slice_fix
a472a71 Make rand number generation overridable and deterministic in tests
27896ed Add more function wrappers
e314e8b Add rand_between function
ad7deb4 Fix docstring
3380695 word_slice should be zero-based
6d2e6e5 Merge pull request #236 from nyaruka/to_json
62c54c6 Add tests for to_json() calls on different xvalues
8de8fa5 Remove no longer needed method
5075530 Implement ToXJSON on all XValue types
2b4e780 Merge pull request #231 from nyaruka/better_docs
1e0cbe1 Merge branch 'master' into better_docs
ea94c41 Merge pull request #232 from nyaruka/json_fix
71ab58d Rename ToJSON -> ToXJSON, ToString -> ToXString, ToBool -> ToXBool
1d5cd8d Update flow test files
462dd2a Merge branch 'json_fix' into better_docs
3bbeffc XValues should be JSONable via json.Marshal
652e5b7 Fix documentation typos
4bfd3c8 Make run result created on use environment.Now()
7217227 Webhook date headers should be constant
d671c8d Let Now() be overriden by environment subclasses
6aff8af Invoke pandoc from docgen instead requiring user to pipe
a3a1276 Consolidate dostring parsing for events, actions, functions etc
51f58b1 Strip type name prefixes from docstrings
c3e9e06 Move documentation for all remaining context items into code
26d2a1b Allow documented items of the same type to be read from multiple directories
1888ae8 WIP
766ce1c Move docs for contacts and groups into the code
69233ac Enforce that all functions and tests must have examples and fix testing of these
3a5a367 Ensure any error during docgen stops generation
5d0a5f7 Merge pull request #228 from nyaruka/static_types
0da4f70 Rename RequireMarshalToXString to MustMarshalToXString
6fc3621 Add comparison functions to primitive types to avoid repeating these
254bf50 Tweaks
83dbccc run.results and contact.fields should render as JSON objects
b5f8ef1 Rename XTime > XDate and move types into their own go files
d6eed2e Get flow tests working
342c9ac Make nils convert to zero numbers and zero times like they used to
06da757 Port legacy package
ee852b1 Contact fields should use X types
31588a7 Convert all router tests
13cdc97 Don't stringify errors
f2de51d Fix test (/flows/ package now fully ported)
8812dea Add ErrorPassThru function wrapper
d45272e Switching flows package to use new static types (WIP again)
4f3b268 Switching flows package to use new static types (WIP)
6995e4a EvaluateTemplateAsString should return a regular golang string
0d1884b Use function wrappers to check for bad parameters
1d6c38d Rename types.CompareXValues to Compare and make it nil safe
8dd8f17 Rewrite excellent visitor to use new static types
ea872c1 Port all function tests
d8b968f More function tests ported
daa87ff Move refactored functions into new functions package and add some more tests
12db851 Add NewXErrorf factory function
17eccbf Refactor functions (WIP)
5828520 Add NewXNumberFromInt64 util function
e19dbb7 Add CompareXValues
7d50ecb Add ToXTime and ToInteger
5ab513f Add ToXNumber and make ToXBool work properly for types with length
87f83ff Move Reduce() to XValue and drop XObject which is no longer needed
16036be Remove type codes for new X types
bef3006 Add JSON XValue types
5656343 Use x instead of v as receiver variable for X types
3d8d832 Remove XReducible interface which can become a method on XObject
7f2ebba Merge branch 'master' into static_types
e9181da Merge pull request #227 from nyaruka/locations
083371c All types should convertable to string/json/bool
3aa6c06 Add new static type hierarchy for excellent
676da4e Remove no longer used ToStringArray
60d9ed1 Move IsNil back into utils
280cd7e Merge utils/text.go and utils/tokenizer.go
a7ed75f Move ResolveVariable into excellent and move scanner stuff into scanner.go
80cedc9 Move array.go and resolvers.go to excellent/types/
ce1a477 Move json.go from utils/ to excellent/types/
823c6b5 Move conversions from utils to excellent/types
4221237 Don't use conversions in contactql
c3143bf Move locations from utils to flows and break dependency between contactql and locations
c9c4a4a Merge branch 'master' into locations
f1e9c98 Merge pull request #226 from nyaruka/flow_tests
30fc21a Rename has_error -> is_error
e980915 WIP
ce9d6ff Move location searching functionality into RunEnvironment
5550508 Move flows/tests to flows/routers/tests
ffa4926 Move runEnvironment into its own file
ab56b72 Rework docgen to use same example session for functions, tests, events and actions
638a6fd Move flow tests from excellent package to flows/tests
374d396 Merge pull request #224 from nyaruka/reorganize
cb1cd86 Update variable names
c1c5bd0 Move Snakeify from resolvers (which needs to move to excellent) to utils/text.go
8ec9a7f Remove unused functions in conversions.go
6b18eef Move webhook stuff into flows package
bfd0cce Merge pull request #223 from nyaruka/length
b59c4f5 Merge branch 'master' into length
443e9fa Merge pull request #216 from nyaruka/results_fix
3eb0b53 Remove cruft
fe7b267 Tweak examples and function tests
5dd00bb Add array() excellent function
c904b90 Update docs
af14780 Merge string_length and array_length
22a35a9 Make map-like objects have length
0df2a67 Run results should throw error when trying to resolve non-existent result
0bdf45b Merge branch 'master' into results_fix
c31165b Merge pull request #214 from nyaruka/var_refactor_3
a6a1196 Enforce that ResolveVariable returns a valid type
594bfcc WIP
5b3c652 Merge pull request #213 from nyaruka/field-name
b72a079 Remove maps as types that conversions accept
4311a32 Merge branch 'master' into field-name
bd1657f Remove all conversions with int32/int64/float32/float64 types as these should never actually occur in expressions
d036dd4 change to on contactfield
f569f69 Merge pull request #211 from nyaruka/var_refactor_2
0bbb1fa Add extra test
f4b8889 Ensure that JSON fragments are resolved into atom types
a3d4172 Merge branch 'master' into var_refactor_2
7b87f40 Merge pull request #212 from nyaruka/numeric-comp
b59a7cc Merge pull request #207 from nyaruka/iso-dates
3e30740 Merge pull request #209 from nyaruka/rounder
037d958 strict decimal comparison, add string_cmp
e06d7a2 Merge pull request #210 from nyaruka/err-tests
fb5cec6 Remove unused functions
48be061 Fix test problem due to duplicated UUID
8a9974b more tests for has_error, remove unreachable code
776c48d Make Array an atom type and use it for contact.groups, contact.urns and msg.attachments
143715b make round places argument optional, round to nearest, allow negative places
7541d44 Rename interfaces for clarity
a85f12e Fix comments
301556a Locations are not an atom type
81b589d Remove conversions between golang slice types
a286c63 Use Array type for slices on context items
031eae4 Add Array type
e7f581d Add VariableIndexer interface for complex objects that can be indexed into
033bb94 anchor regexes to word boundaries
d673376 stricter iso parsing
a1de986 Merge pull request #206 from nyaruka/variables
59b1f89 force iso to have two digits for day/month
5c53b31 look for iso dates by default
03a2263 Fix comment
af86508 Merge pull request #203 from nyaruka/remove-int
fa04bde Replace all String() with Atomize() on variable resolvers
b5d2860 Add VariableAtomizer interface
4423151 Merge pull request #205 from nyaruka/date-formats
9314c55 document milli/micro/nano, comment on fractional seconds in parse_date
a0359d0 add test for micros
4a3c04b fix tests
fefb991 change date/time formats to new approved format
570524e remove int in expressions, map to round_down for legacy
5fb8610 Merge branch 'master' into variables
5e6775d Merge pull request #202 from nyaruka/fields2.0
82dcba0 Remove Default()
efc6991 More tests
5edbf19 Fix formatting
76ea53c Remove unused function and use conversions.To* for parsing date and decimal field values
f92b50a Merge branch 'master' into fields2.0
0d1500c Merge pull request #201 from nyaruka/...

Read more

v0.8.0

16 Apr 22:43
Compare
Choose a tag to compare

Changelog

c6fa6ea Remove print in test
112e152 Merge branch 'master' into test_server_fix
f86603f Merge pull request #248 from nyaruka/str_equality
32adcb2 Rename to_json(...) -> json(...) and from_json(...) to parse_json(...)
aaba6c3 Create test server on different ports for different tests to avoid bind err
735daa5 Add more tests for equality checks on bools and dates
ef2ec87 Add couple more test cases for numerical equality checks
357080b Make = and != be string equality, and add NUMBER function to allow users to create normalized decimals
13c38f4 Merge pull request #246 from nyaruka/run_summary_tweak
102081c Merge pull request #247 from nyaruka/xtype_stringers
bbd55b6 Fix error message in types.Compare
11a091e Implement Equals on XNumber and XString
9b55c24 X types should implement String() so we can improve test output
c0fd611 Re-run docgen
c8d06f5 Use a flow reference on marshaled runs
899de2c Use a flow reference on marshaled runSummaries
5955626 Move runSummary into the runs package
28c5dc1 Merge pull request #244 from nyaruka/test_exp__migrations
8ef868d Merge branch 'master' into test_exp__migrations
a6437d7 Merge pull request #242 from nyaruka/funky_funcs
0ffc83e Check function exists in docgen
8eb81fd Final param to word_slice should be optional
1171860 Add support optional arg to round_up/round_down
b2887bf Add support for optional args to format_num
06563f8 Merge branch 'funky_funcs' into test_exp__migrations
b25e2e4 Use `` strings for expression migration tests so quotes don't have to be escaped
8091e05 Migrate expressions with date.yesterday / date.tomorrow
8d43fac Onlt include events generated on last step when docgening actions
d2406bc Try to evaluate migrated expressions and fix problems
5cc58ad Update docs
3794d5a Merge branch 'master' into funky_funcs
ceafdf8 Merge pull request #241 from nyaruka/rand
6629c2d Don't include function name in errors generated inside functions but have the caller prepend it
d971e4c Merge branch 'master' into rand
198dd3b Merge pull request #239 from nyaruka/word_slice_fix
a472a71 Make rand number generation overridable and deterministic in tests
27896ed Add more function wrappers
e314e8b Add rand_between function
ad7deb4 Fix docstring
3380695 word_slice should be zero-based
6d2e6e5 Merge pull request #236 from nyaruka/to_json
62c54c6 Add tests for to_json() calls on different xvalues
8de8fa5 Remove no longer needed method
5075530 Implement ToXJSON on all XValue types
2b4e780 Merge pull request #231 from nyaruka/better_docs
1e0cbe1 Merge branch 'master' into better_docs
ea94c41 Merge pull request #232 from nyaruka/json_fix
71ab58d Rename ToJSON -> ToXJSON, ToString -> ToXString, ToBool -> ToXBool
1d5cd8d Update flow test files
462dd2a Merge branch 'json_fix' into better_docs
3bbeffc XValues should be JSONable via json.Marshal
652e5b7 Fix documentation typos
4bfd3c8 Make run result created on use environment.Now()
7217227 Webhook date headers should be constant
d671c8d Let Now() be overriden by environment subclasses
6aff8af Invoke pandoc from docgen instead requiring user to pipe
a3a1276 Consolidate dostring parsing for events, actions, functions etc
51f58b1 Strip type name prefixes from docstrings
c3e9e06 Move documentation for all remaining context items into code
26d2a1b Allow documented items of the same type to be read from multiple directories
1888ae8 WIP
766ce1c Move docs for contacts and groups into the code
69233ac Enforce that all functions and tests must have examples and fix testing of these
3a5a367 Ensure any error during docgen stops generation
5d0a5f7 Merge pull request #228 from nyaruka/static_types
0da4f70 Rename RequireMarshalToXString to MustMarshalToXString
6fc3621 Add comparison functions to primitive types to avoid repeating these
254bf50 Tweaks
83dbccc run.results and contact.fields should render as JSON objects
b5f8ef1 Rename XTime > XDate and move types into their own go files
d6eed2e Get flow tests working
342c9ac Make nils convert to zero numbers and zero times like they used to
06da757 Port legacy package
ee852b1 Contact fields should use X types
31588a7 Convert all router tests
13cdc97 Don't stringify errors
f2de51d Fix test (/flows/ package now fully ported)
8812dea Add ErrorPassThru function wrapper
d45272e Switching flows package to use new static types (WIP again)
4f3b268 Switching flows package to use new static types (WIP)
6995e4a EvaluateTemplateAsString should return a regular golang string
0d1884b Use function wrappers to check for bad parameters
1d6c38d Rename types.CompareXValues to Compare and make it nil safe
8dd8f17 Rewrite excellent visitor to use new static types
ea872c1 Port all function tests
d8b968f More function tests ported
daa87ff Move refactored functions into new functions package and add some more tests
12db851 Add NewXErrorf factory function
17eccbf Refactor functions (WIP)
5828520 Add NewXNumberFromInt64 util function
e19dbb7 Add CompareXValues
7d50ecb Add ToXTime and ToInteger
5ab513f Add ToXNumber and make ToXBool work properly for types with length
87f83ff Move Reduce() to XValue and drop XObject which is no longer needed
16036be Remove type codes for new X types
bef3006 Add JSON XValue types
5656343 Use x instead of v as receiver variable for X types
3d8d832 Remove XReducible interface which can become a method on XObject
7f2ebba Merge branch 'master' into static_types
e9181da Merge pull request #227 from nyaruka/locations
083371c All types should convertable to string/json/bool
3aa6c06 Add new static type hierarchy for excellent
676da4e Remove no longer used ToStringArray
60d9ed1 Move IsNil back into utils
280cd7e Merge utils/text.go and utils/tokenizer.go
a7ed75f Move ResolveVariable into excellent and move scanner stuff into scanner.go
80cedc9 Move array.go and resolvers.go to excellent/types/
ce1a477 Move json.go from utils/ to excellent/types/
823c6b5 Move conversions from utils to excellent/types
4221237 Don't use conversions in contactql
c3143bf Move locations from utils to flows and break dependency between contactql and locations
c9c4a4a Merge branch 'master' into locations
f1e9c98 Merge pull request #226 from nyaruka/flow_tests
30fc21a Rename has_error -> is_error
e980915 WIP
ce9d6ff Move location searching functionality into RunEnvironment
5550508 Move flows/tests to flows/routers/tests
ffa4926 Move runEnvironment into its own file
ab56b72 Rework docgen to use same example session for functions, tests, events and actions
638a6fd Move flow tests from excellent package to flows/tests
374d396 Merge pull request #224 from nyaruka/reorganize
cb1cd86 Update variable names
c1c5bd0 Move Snakeify from resolvers (which needs to move to excellent) to utils/text.go
8ec9a7f Remove unused functions in conversions.go
6b18eef Move webhook stuff into flows package
bfd0cce Merge pull request #223 from nyaruka/length
b59c4f5 Merge branch 'master' into length
443e9fa Merge pull request #216 from nyaruka/results_fix
3eb0b53 Remove cruft
fe7b267 Tweak examples and function tests
5dd00bb Add array() excellent function
c904b90 Update docs
af14780 Merge string_length and array_length
22a35a9 Make map-like objects have length
0df2a67 Run results should throw error when trying to resolve non-existent result
0bdf45b Merge branch 'master' into results_fix
c31165b Merge pull request #214 from nyaruka/var_refactor_3
a6a1196 Enforce that ResolveVariable returns a valid type
594bfcc WIP
5b3c652 Merge pull request #213 from nyaruka/field-name
b72a079 Remove maps as types that conversions accept
4311a32 Merge branch 'master' into field-name
bd1657f Remove all conversions with int32/int64/float32/float64 types as these should never actually occur in expressions
d036dd4 change to on contactfield
f569f69 Merge pull request #211 from nyaruka/var_refactor_2
0bbb1fa Add extra test
f4b8889 Ensure that JSON fragments are resolved into atom types
a3d4172 Merge branch 'master' into var_refactor_2
7b87f40 Merge pull request #212 from nyaruka/numeric-comp
b59a7cc Merge pull request #207 from nyaruka/iso-dates
3e30740 Merge pull request #209 from nyaruka/rounder
037d958 strict decimal comparison, add string_cmp
e06d7a2 Merge pull request #210 from nyaruka/err-tests
fb5cec6 Remove unused functions
48be061 Fix test problem due to duplicated UUID
8a9974b more tests for has_error, remove unreachable code
776c48d Make Array an atom type and use it for contact.groups, contact.urns and msg.attachments
143715b make round places argument optional, round to nearest, allow negative places
7541d44 Rename interfaces for clarity
a85f12e Fix comments
301556a Locations are not an atom type
81b589d Remove conversions between golang slice types
a286c63 Use Array type for slices on context items
031eae4 Add Array type
e7f581d Add VariableIndexer interface for complex objects that can be indexed into
033bb94 anchor regexes to word boundaries
d673376 stricter iso parsing
a1de986 Merge pull request #206 from nyaruka/variables
59b1f89 force iso to have two digits for day/month
5c53b31 look for iso dates by default
03a2263 Fix comment
af86508 Merge pull request #203 from nyaruka/remove-int
fa04bde Replace all String() with Atomize() on variable resolvers
b5d2860 Add VariableAtomizer interface
4423151 Merge pull request #205 from nyaruka/date-formats
9314c55 document milli/micro/nano, comment on fractional seconds in parse_date
a0359d0 add test for micros
4a3c04b fix tests
fefb991 change date/time formats to new approved format
570524e remove int in expressions, map to round_down for legacy
5fb8610 Merge branch 'master' into variables
5e6775d Merge pull request #202 from nyaruka/fields2.0
82dcba0 Remove Default()
efc6991 More tests
5edbf19 Fix formatting
76ea53c Remove unused function and use conversions.To* for parsing date and decimal field values
f92b50a Merge branch 'master' into fields2.0
0d1500c Merge pull request #201 from nyaruka/errors
417c7cc Match new contact field format in rapidpro (WIP)
aec3af9 Fix typo and add test cases
f5701e6 Remove unu...

Read more

v0.7.0

21 Mar 15:27
8a08421
Compare
Choose a tag to compare

Changelog

8a08421 Merge pull request #198 from nyaruka/splash
af390ef Update main.go
c0d6b01 Merge pull request #197 from nyaruka/events
0abe5e2 Add splash logo
1686f74 Add events.EventsToEnvelopes
39f29c0 Restructure event output so that events aren't wrapped in log entries or nested under path steps
e24e85e Update README.md
245f459 Merge pull request #189 from nyaruka/update_docs
69537b9 Move docs to docs/index.html
37fbaf2 Updates from PR feedback
ec272a4 Update flow spec docs
352180c Revert rename of result.input to .operand


Automated with GoReleaser
Built with go version go1.10 darwin/amd64