Skip to content

Latest commit

 

History

History
619 lines (504 loc) · 57.5 KB

CHANGELOG.md

File metadata and controls

619 lines (504 loc) · 57.5 KB

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by auto-changelog.

  • comment out pgdata volume for docker-compose.yaml 98e8593
  • upgrade to elixir v1.17 85e49ff
  • update mix deps 20594db
  • node upgrade to v20 along with npm pkgs de62a4d

30 August 2024

30 August 2024

30 August 2024

  • a few things #224
  • Bump braces from 3.0.2 to 3.0.3 #234
  • Bump docker/login-action from 2.0.0 to 2.1.0 #198
  • Bump minimatch from 3.0.4 to 3.1.2 #204
  • Bump docker/build-push-action from 3.1.1 to 4.0.0 #215
  • Bump http-cache-semantics from 4.1.0 to 4.1.1 #217
  • Bump docker/setup-buildx-action from 2.0.0 to 2.4.1 #218
  • Bump cacheable-request from 10.2.3 to 10.2.7 #220
  • Bump actions/cache from 3.0.8 to 3.2.6 #222
  • Add readme note about Postgres type support #231
  • Release 1.0.1 4e5c928
  • fix tests on the latest refactor a08fead
  • make docker-compose test depends_on db healthcheck not start c9de130
  • add healthcheck to postgres service in docker compose 1adb776
  • small update to setup-database.sh CI script 7a44123
  • CI: replace docker compose "exec" to "run" 9d49c29
  • update docker-compose.yaml 364d8d1
  • update github action versions 19e55f7
  • use postgres default ENV variable names everywhere 6cd5569
  • when there's no changes to save, rely on ecto's update being a no-op 09c246f
  • fix typespec a1935bf
  • cleanup inspects 8e965cb
  • #100 & #97 and update deps & rename test helpers fe4b9da

20 December 2022

20 December 2022

20 December 2022

  • Bump actions/cache from 3.0.7 to 3.0.8 #194
  • Bump docker/setup-buildx-action from 1.7.0 to 2.0.0 #179
  • Bump docker/login-action from 1.14.1 to 2.0.0 #180
  • Bump docker/build-push-action from 2.10.0 to 3.1.1 #188
  • Bump actions/cache from 3.0.2 to 3.0.7 #190
  • Bump docker/build-push-action from 2.9.0 to 2.10.0 #172
  • Bump actions/cache from 2.1.7 to 3.0.2 #176
  • Bump docker/setup-buildx-action from 1.6.0 to 1.7.0 #177
  • Bump actions/checkout from 2.4.0 to 3 #169
  • Bump node-fetch from 2.6.1 to 2.6.7 #171
  • Bump docker/login-action from 1.12.0 to 1.14.1 #170
  • Bump docker/build-push-action from 2.7.0 to 2.9.0 #165
  • Bump handlebars from 4.7.6 to 4.7.7 #166
  • Bump docker/login-action from 1.10.0 to 1.12.0 #163
  • Bump actions/checkout from 2.3.5 to 2.4.0 #161
  • Bump actions/cache from 2.1.6 to 2.1.7 #162
  • Release 0.14.4 065280c
  • update npm pkgs for release 122ade7
  • upgrade npm dev packages c9d9642
  • Bump actions/checkout from 2.3.4 to 2.3.5 235d825

10 October 2021

  • avoid compile-time dependency with Application.get_env at macro #158
  • Bump docker/build-push-action from 2.6.1 to 2.7.0 #156
  • Bump docker/setup-buildx-action from 1.5.1 to 1.6.0 #157
  • Bump docker/login-action from 1.9.0 to 1.10.0 #149
  • Bump docker/build-push-action from 2.4.0 to 2.6.1 #151
  • Bump docker/setup-buildx-action from 1.3.0 to 1.5.1 #155
  • Release 0.14.3 8da7909
  • update dependencies & formatting cbc6e60
  • .env fix 643d4a8

30 May 2021

  • Bump docker/setup-buildx-action from 1 to 1.3.0 #142
  • Bump docker/login-action from 1 to 1.9.0 #143
  • Bump actions/cache from 2.1.5 to 2.1.6 #147
  • Bump actions/checkout from 2 to 2.3.4 #144
  • Bump docker/build-push-action from 2 to 2.4.0 #145
  • add insert_or_update/2 and insert_or_update!/2 #141
  • Release 0.14.2 b5ae44f
  • update npm deps 8374c53
  • add Christoph Schmatzler to contributors 64a1321
  • write npm test script with .env 17cb2b0
  • make options list always from predefined value d27007f
  • add Don Barlow to contributors 80c7a87

25 May 2021

25 May 2021

  • Use model_key for insert in strict mode and add initial_version_key #146
  • Bump actions/cache from v2.1.4 to v2.1.5 #138
  • Release 0.14.0 a17cafe
  • add initial_version_key 0465900
  • use model_key for insert in strict mode 2e08df2

24 April 2021

  • (chore): add support for using PaperTrail.Multi directly #140
  • Release 0.13.0 c7980bd
  • add Francisco Correia to credits 2eb8d7e

20 April 2021

26 March 2021

26 March 2021

  • fix: typespecs #135
  • Bump actions/cache from v2 to v2.1.4 #130
  • Release 0.12.2 4a39e05
  • update release-it 149fa89
  • format lib/paper_trail/version_queries.ex f9b881c

30 January 2021

  • fix for setting embed to nil #129
  • Add ELixir Format Checker #126
  • Release 0.12.1 2b409f1
  • upgrade @j-ulrich/release-it-regex-bumper 719b375
  • containerize $ mix format fd9463d

18 December 2020

  • Support Ecto Embed #112
  • Refactor Duplicated Code #124
  • Enable capture_log to make test output readable #123
  • Run Formatter #122
  • Fix Dialyzer Specs #120
  • Release 0.12.0 5ab6bf1
  • add .dockerignore 58ab072

8 December 2020

7 December 2020

6 December 2020

  • github docker registry support #119
  • initial github-actions test #118
  • Allow to configure Originator Field Options #115
  • Misc doc changes #117
  • Bump ecto_sql from 3.4.5 to 3.5.3 #116
  • Bump postgrex from 0.15.6 to 0.15.7 #113
  • Dump fields using Ecto when serializing changes #83
  • Bump postgrex from 0.15.3 to 0.15.6 #107
  • Make Version schema's timestamps type configurable #108
  • add support for ecto options in insert and insert! functions #102
  • Require ex_doc dependency only for ":docs". #101
  • Support :returning option in update #95
  • Update installation version in README.md #90
  • Release 0.11.1 0962491
  • release-it added 3c7666c
  • v0.11.0 release 957a4bd
  • CI fix & last contributors added to README.md e73107c
  • v0.10.1 release elixir 1.11 support & rm warning f0981b9
  • v0.10.0 release PaperTrail.Serializer & deps up 4787177
  • mix.lock update after deps upgrade 97a875c
  • add last contributors to README 675d502
  • v0.9.0 flexible %PaperTrail.Version[:inserted_at] 5108680
  • version_test tests now has utc_datetime fixtures 551b6f6
  • v0.8.8 added docs d2bb0cb
  • v0.8.8 release PaperTrail.insert :ecto_options 48a1639
  • base_test.exs test_helpers fixed 51d2e2f
  • renamed test/paper_trail/base_tests.exs to test/paper_trail/base_test.exs 291b267
  • tests fixed f3958fc

11 June 2024

  • Support serialising list of embeds #17
  • Require Elixir 1.15 c2c1e4d
  • Refactor tests and add changelog c941ad1
  • Update libs and fix serialization of list of embeds 5409e15

12 January 2023

  • Skip serialisation for nil values #16

12 January 2023

  • Do not serialize array of UUID #15
  • Pass repo options to Ecto functions #14
  • Pass repo_options to Ecto functions 0cdc4e6

22 April 2021

  • Store non string binaries as list of integer #12

15 February 2021

  • Do not create version when there are no changes #11

1 December 2020

  • Fix bug when casting has many association #10

28 October 2020

  • Support casting association list #9

24 September 2020

  • Support casting associations #8

24 September 2020

  • Support serializing embeddeds #7

17 August 2020

  • Add returning option to update_all #6

1 June 2020

  • Ignore binary ecto types when serializing changes #5
  • Support update all #4
  • Add return operation option #3
  • Add support for multiple repos #2
  • Dump fields using Ecto when serializing changes #1
  • Support string ids in VersionQueries module b5179d0
  • Create result spec type in PaperTrail module 89d02fd
  • Run mix format 96c7df6
  • Standardize options and support model_key and version_key options for update and delete operations d67e5dc
  • Read return_operation from application env in runtime 865b14a
  • Support setting return_operation option globally 3f6f896
  • Return operation passed in options in PaperTrail.Multi.commit/2 cdac625
  • Refactor PaperTrail type specs and add return_operation to options 88cfd5c
  • Install dialyzer and fix specs fd8a640
  • Pass options to Multi.commit/2 b1bf047
  • Dump ecto fields when serializing changes 1c97a58
  • Fix base tests not being run because of typo b058dee
  • Create serializer module and reuse it across the application 0670a46
  • Fix warning when running tests 0976691
  • Change logger level to warn in test environment a86a2b8
  • Add .tool-versions to .gitignore 5d8366b

1 October 2020

  • Bump postgrex from 0.15.3 to 0.15.6 #107
  • Make Version schema's timestamps type configurable #108
  • add support for ecto options in insert and insert! functions #102
  • Require ex_doc dependency only for ":docs". #101
  • Support :returning option in update #95
  • Update installation version in README.md #90
  • v0.9.0 flexible %PaperTrail.Version[:inserted_at] ac87558
  • version_test tests now has utc_datetime fixtures 551b6f6
  • v0.8.8 added docs d2bb0cb
  • v0.8.8 release PaperTrail.insert :ecto_options 48a1639
  • base_test.exs test_helpers fixed 51d2e2f
  • renamed test/paper_trail/base_tests.exs to test/paper_trail/base_test.exs 291b267
  • tests fixed f3958fc

13 May 2020

  • Support update all #4
  • Add return operation option #3
  • Add support for multiple repos #2
  • Support string ids in VersionQueries module b5179d0
  • Create result spec type in PaperTrail module 89d02fd
  • Run mix format 96c7df6
  • Standardize options and support model_key and version_key options for update and delete operations d67e5dc
  • Read return_operation from application env in runtime 865b14a
  • Support setting return_operation option globally 3f6f896
  • Return operation passed in options in PaperTrail.Multi.commit/2 cdac625
  • Refactor PaperTrail type specs and add return_operation to options 88cfd5c
  • Install dialyzer and fix specs fd8a640
  • Pass options to Multi.commit/2 b1bf047

1 May 2020

  • Dump fields using Ecto when serializing changes #1
  • Bump ecto_sql from 3.4.2 to 3.4.3 #81
  • Bump ecto from 3.4.1 to 3.4.2 #80
  • Bump ecto_sql from 3.4.1 to 3.4.2 #78
  • Bump ecto from 3.4.0 to 3.4.1 #79
  • Allow named operations[model_key and version_key] on Ecto.Multi #75
  • Bump ecto from 3.3.0 to 3.3.3 #68
  • Make it compatible with mariadb #71
  • Require postgrex and jason only for dev and test #70
  • Dump ecto fields when serializing changes 1c97a58
  • Fix base tests not being run because of typo b058dee
  • Create serializer module and reuse it across the application 0670a46
  • Fix warning when running tests 0976691
  • Change logger level to warn in test environment a86a2b8
  • Add .tool-versions to .gitignore 5d8366b
  • v0.8.7 :model_key & :version_key for PaperTrail.insert and pkg upgrades 5d8a6f6
  • bugfix for :model_key and :version_key feature: 058a84f
  • further runtime optimization for CI 98522f0
  • backend docker service renamed to paper_trail 92616f0
  • single step CI optimization 1215660
  • highly optimized elixir container builds 0717b9c
  • trial without postgres client a0710a7
  • CI is finally fixed b38f59b
  • new test folder restructre for CI 8984ac1
  • seperating UUID tests from the test trial 05c9560
  • repo configurations on tests are now loaded lazily 0fa068f
  • CI test fix 8b8f5e2
  • initial docker-compose based CI 1bc34d1
  • mix format run 7c40472
  • basic CI setup added 53c2d66
  • v0.8.6 postgrex dependency fix 42b2606
  • v0.8.5 dependencies made optional bb6bab9
  • Added PaperTrail.Multi to readme along with docs update 5563a3c

16 December 2019

  • Ecto Multi Support Proposition #62
  • v0.8.4 release PaperTrail.Multi for multi manipulation and ecto upgrades 200a1e1
  • v0.8.3 PaperTrail.delete accepts changeset 7b37739

10 September 2019

  • Support delete with changeset #59
  • v0.8.3 PaperTrail.delete accepts changeset 8199229
  • Changelog update d732341
  • v0.8.2 docs update 9b490ca

29 June 2019

  • Remove repo module attribute from version_queries #55
  • v0.8.2 release 060b781

v0.8.1

2 November 2018

  • Ecto 3.0-rc.1 support #51
  • Update Readme.md to the most recent version of paper_trail: 0.8 #47
  • get model id simply, and type check #42
  • Code refactor for tracking methods #37
  • fixed for non-regular primary key #40
  • warning: clauses for the same def should be grouped together #35
  • Add multi tenancy capabilities with ecto meta prefix #25
  • Add custom types for item_id and originator_id #20
  • Bang operations: PaperTrail.insert!, PaperTrail.update!, PaperTrail.delete! #13
  • Custom originator params #12
  • fix test warnings #11
  • strict_mode #9
  • setter_id foreign_key to strict versions #10
  • Support Ecto 2.1, by using utc_datetime as default #5
  • Adding index #2
  • Configurable repo module #1
  • v0.8.1 release + docs update bde413c
  • v0.8.0 release 6ae2231
  • Updated README.md 4cc2cc0
  • 0.8.0 release 113ff97
  • STR to STRING_TEST 9cc9a02
  • test with env e1867b1
  • a missing migration added with updated docs 14ee50e
  • 0.7.9 release b89a480
  • fixed for non-regular primary key with test 2ced4a2
  • 0.7.8 release elixir formatter ea407dc
  • dried up condition on changeset_data c6c1e7d
  • Update README.md c2b09c0
  • wrong build display removed d7fe6dd
  • Fix elixir warning 63c0127
  • 0.7.7 release 0e978bf
  • longer line made more readable 7b7537a
  • fixed not running tests d80ac23
  • Refactor to use not create variables in the version schema module 6279d19
  • Replace use of module attribute to reference repo, originator, and repo_client, was causing problem not getting the correct config value 55e6666
  • Documentation update 549fd9d
  • v0.7.6 release = multi-tenancy support b95c1d9
  • Add some additional assertions in tests 1359026
  • Propagate options to repo actions in delete functions 64231d7
  • Add final refactor to example app test files ead9cc6
  • Remove changeset_helper.exs and query_helper.exs from example/test/support 0604631
  • Add dreamingechoes to credits section in README.md c50eef8
  • Add multi tenancy tests in version_queries_test file 5f51b7e
  • Add some changes to the previous code added in paper_trail_version_test file 7414a66
  • Add multi tenancy tests in paper_trail_version_test file b914cfd
  • Require new support helper in lib test_helper file cf638d6
  • Add changes in tests to use new definition of Version functions with new params 8a42220
  • Add new functions for multi tenancy in lib/version.ex a1ffd44
  • Add new count functions for multi tenancy in test support models 8a2dfb5
  • Add tests for multi tenant in bang_functions_strict_mode_test 95b3312
  • Add tests for multi tenant in bang_functions_simple_mode_test d01fedf
  • Add new multi_tenant_person_test file 96ecccd
  • Add new multi_tenant_company_test file 4975d2b
  • Add refactor in example person test in order to use helpers 77b669c
  • Add refactor in example company test in order to use helpers 9bd355f
  • Require new support helpers in example test_helper file 2c4aa4d
  • Add new ChangesetHelper module into example test support folder c62150e
  • Add new QueryHelper module into example test support folder f2519db
  • Add new MultiTenantHelper module into lib test support folder a50177a
  • Add new MultiTenantHelper module into example test support folder 696a6c3
  • Add some multi tenancy documentation on README.md 4ef58a0
  • Change param names in defdelegates for better readability 83a0d7a
  • Remove result type from PaperTrail.VersionQueries and specifies the value on the spec ad52cb4
  • Add new definitions for all the functions in PaperTrail.VersionQueries e71b3d4
  • Add new definition for version_query function to merge options into the Ecto query 59f34c4
  • Add defdelegate in PaperTrail module to PaperTrail.VersionQueries d4d8e40
  • Add patter matching case for nil prefix on add_prefix function 61737dc
  • Add default value for the new :prefix option on the functions definitions c27bbc8
  • Add new add_prefix function in paper_trail module e9f28cb
  • change of a fix 968a0b0
  • code_evals to fix the ci aa80590
  • run mix test in trace mode to fix CI 5fd9ed6
  • last ci fix 61956d7
  • another change for tests 67b56c4
  • another test for CI 6b76c91
  • small fix for CI 83a3c08
  • circle fix with new docs d3ceb52
  • credits and version update 0bfcdbf
  • Test papertail versions using UUID columns ae834f9
  • Fixed belongs_to field type e22cba9
  • Added custom types for item_id and originator_id 8efa0f7
  • documentation fix da69fc5
  • 0.7.4 release Version.first() && Version.last() eb51f4f
  • example tests are fixed 9852dc3
  • 0.7.3 release c0cdd38
  • small bugfix for strict inserts with no changeset! e91d982
  • small README fixes 850a252
  • 0.7.2 release 9be8e9a
  • 0.7.2 release b5e1e16
  • README updated d40508a
  • bang functions completely tested on strict mode cc855d7
  • bang function tests for simple mode is complete 0e75a7d
  • better structure for tests cf30124
  • initial hashbang designs 9b01c35
  • initial design 88387b9
  • 0.7.0 release 21fdd16
  • tests updated for originator params feature 7e243a0
  • logic is complete detailed tests are missing 9d9ba81
  • small changes c825c1b
  • credits README fix 2c08bce
  • 0.6.3 release and README credits. fba3c64
  • small counter test fix 4f77c9f
  • v0.6.2 release small adjustments 5607376
  • 0.6.1 release small mix build bugfix 066f287
  • 0.6.0 release 7f56090
  • small documentation edits 22d283b
  • documentation changes 00eae33
  • setter renamed to originator 0129c68
  • major documentation change 8e424cf
  • move comment below d2284a2
  • ongoing documentation c7230f7
  • some updates 2fb204b
  • setter_id logic complete with tests 340d2fe
  • setter foreign_key initial design 762f7d5
  • documentation update 303ab1f
  • test and documentation update 8a851b4
  • sourced_by changed to set_by, paper trail errors now match Ecto.Repo 1b2cb7b
  • simple paper trail tests done for stict_mode 711404d
  • tests are now more readable 263ebe9
  • strict_mode tests added 750a305
  • coming soon strict mode b821fd8
  • strict mode sketch written, tests are adjusted to changeless misses strict mode 7aff1db
  • ex_doc upgrade 5cd097c
  • 0.5.3 release 627f051
  • better dependency versioning 0a18c05
  • small readme adjustments fb32b33
  • build server fix 259eb4f
  • badges added to README 5124f78
  • 0.5.2 release updated dependencies c2c466c
  • 0.5.0 release f4be348
  • slight changes to README b7d71b8
  • version bump f6497f0
  • Update installation steps b0e22ed
  • Prevent memory leak by using String.to_existing_atom c00678b
  • Configurable Repo module ce91e32
  • migration added for examples on test d3bde7b
  • small remove b66c52a
  • travis removed for circleci f3050f4
  • travis elixir version up 77e1f4c
  • otp version downgrade for travis 99e5ca3
  • travis CI added de258a8
  • small fixes to README fe9ac0d
  • small documentation changes 1af92b9
  • upgrade to 1.6 44e18ad
  • DOCUMENTATION UPDATE b9d3ab4
  • better dependency versioning 1feba56
  • doc and version upgrade 1bc99da
  • small doc update 24b2e66
  • small doc update b354254
  • small doc update 46a8032
  • documentation update cb56f40
  • PaperTrail.get_current\1 added dc6eb6d
  • version bump 324efe5
  • documentation updated for the library ef33f2c
  • PaperTrail.VersionQueries module with first good tests 68a60ee
  • paper trail version queries test setup 8d02e47
  • some compiler warnings removed 29de7ca
  • examples tests are ported to the actual library directory 64e8c7e
  • removed unused code thanks to the compiler b4246e2
  • initial tests on actual paper_trail directory similar to the ones on examples 05ddb6c
  • small ect odeprecation refactoring 9e2b340
  • paper trail alpha version complete with example tests c605bf5
  • person tests continues cdd6f87
  • PaperTrail.insert passes now fully with model relationships, it is also tested 5218fac
  • small fix 5033788
  • smarter insert tracking now support models which has belongs to b3c2a24
  • person test added 6875067
  • model refactors bf290b5
  • awesome create update and destroy test cases finished for company modal with paper_trail 42b5853
  • awesome update test case added bcd30f7
  • version bump 2973269
  • originator field removed from the paper_trail library 9b7ba24
  • first very good test fadb54a
  • final configuration ready for tests f2f5d59
  • test environment configuration 1fbccdd
  • making library work with any Elixir project ddef880
  • example folder added 95a0ec7
  • relationship added for example 17c7a51
  • migration files and example app created 9fcdff4
  • documentation start b3110d0
  • test preparation 471c929
  • some logic added f725ba6
  • mix task added: mix paper_trail.install 73eb8b4
  • init 00f95dc