Skip to content

RegisterSubClass and smaler changes#368

Merged
phillwiggins merged 10 commits into
parse-community:release/1.0.27from
fischerscode:registerSubclass
Apr 29, 2020
Merged

RegisterSubClass and smaler changes#368
phillwiggins merged 10 commits into
parse-community:release/1.0.27from
fischerscode:registerSubclass

Conversation

@fischerscode

Copy link
Copy Markdown
Contributor

As described in #350 (comment), I have now worked with this RegisterSubClass feature for a while.
While testing, I haven't encountered a single bug.
I think, this feature is ready for merging.

For more details about RegisterSubClass, have a lock into the new README.

This PR also contains a Fix for a Bug, where CoreStore would not work when using the sembast implementation in an macos app.

And a fix for #364 / #256.

I have created one PR for this three changes. If this is a problem, I can create separated ones as well.

@phillwiggins

Copy link
Copy Markdown
Member

Wow. I'm excited for this feature! I think this could answer a few of my problems in my own projects.

Just to confirn, is this a breaking change?

@fischerscode

Copy link
Copy Markdown
Contributor Author

@phillwiggins
Everything should work as before. Nothing should be broken.

@phillwiggins phillwiggins merged commit f107ff5 into parse-community:release/1.0.27 Apr 29, 2020
@ChineOnw

ChineOnw commented May 2, 2020

Copy link
Copy Markdown

When will this appear in pub.dev repository, since the newest version there is 1.0.26 ?

@fischerscode

fischerscode commented May 2, 2020

Copy link
Copy Markdown
Contributor Author

@ChineOnw
There is, as far as I know, no plan, when 1.0.27 will be released to pub.dev.
@phillwiggins Might be able to give you a rough idea, when this will happen.

You can use 1.0.27 now by putting this in your pubspec.yaml.

  parse_server_sdk:
    git:
      url: git://github.com/parse-community/Parse-SDK-Flutter.git
      ref: release/1.0.27

phillwiggins added a commit that referenced this pull request Aug 28, 2020
* Release 1.0.27 - Create base branch

* Fix for #347 (include in LiveList) (#348)

* LiveList: reload included objects

First implementation

* Key was wrong on order change

* include sub-includes

* reuse loaded pointers

* Deleted stuff

* LiveList autoupdate included sub-objects (#349)

* LiveList: reload included objects

First implementation

* Key was wrong on order change

* include sub-includes

* reuse loaded pointers

* Deleted stuff

* Adding listening on included objects to LiveList

* Updated readme for ParseLiveList

* Update parse_live_list.dart

* LiveList: sync subObjects after reconnect (#352)

* Sync subObjects after reconnect

* Update README.md

* Update README.md (#353)

* ISSUE-351: Replaced isTypeOfException with Exception (#355)

Great work! Thank you

* RegisterSubClass and smaler changes (#368)

* added subclass handler

* integraded subclass handler

* added constructor for QueryBuilder using registered SubClasses

* subclass handler optimizations

* Convenience changes

* Convenience change

* sembast CoreStore on macos

* Fix: ParseUser updated on server but not locally

This should be a fix for:
#364
and
#256

* Update README.md

* Update README.md

* Update README.md (#367)

* Save installationId when new installation created. Send installationId when User login (#375)

* ParseLiveElement (#376)

* First implementation for ParseLiveElement

* ParseLiveElement further implementation

* Update parse_live_list.dart

* ParseLiveElement working

* News methods for ParseQuery -  whereMatchesKeyInQuery and whereDoesNotMatchKeyInQuery (#379)

* Add method whereMatchesKeyInQuery

Add method whereMatchesKeyInQuery

* Update parse_query.dart

* Fix whereMatchesKeyInQuery / whereDoesNotMatchKeyInQuery

* Update README.md

* Update README.md

* Update README.md

* Add google login helper (#387)

- Update README to show how to get google login attributes for parse

* Update parse_response_builder.dart (#390)

* [web] Check web before Platform.isX (#392)

Platform.isX is unsupported in web

* Make web compatible calls for locale and skip PackageInfo (#395)

* Make web compatible calls for locale and skip PackageInfo

* Also get country code for web locale

* Add description of early web support

* Added ParseFile check to _canBeSerialized() (#396)

* Update README.md (#397)

Fix Parse Server parameter name

* ParseLiveList: first implementation of lazyLoading (#407)

Setting lazyLoading=false should disable lazyLoading.

* Update parse_live_list.dart (#406)

In theory this should not make any difference. In practise sometimes an error gets thrown:
The following NoSuchMethodError was thrown while finalizing the widget tree:
The method 'dispose' was called on null.
Receiver: null
Tried calling: dispose()

* File Support for web (#409)

* created files and started implementation

* add different filetypes to sdk

* Update README.md

* add an other file example to README (#410)

* added file example to README

* Update README.md

* Web file upload: set content type to "text/plain" incase neighter name nor url is set (#411)

This breaks the extension at the uploaded file, but otherwise the upload would fail with a server error.

* LiveQuery reconnecting intervals (#414)

* parseFileConstructor was missing at Parse.initialize

* add liveListRetryIntervals to Parse.initialize

* replace kIsWeb with its definition (#415)

Using less libaries is always good.

* release/1.0.27 update dependencies

* Release/1.0.27 (#427)

* forgetLocalSession before login / signUP / loginAnonymous #426

* forgetLocalSession before login / signUP / loginAnonymous #426

* Release 1.0.27 - Pre-release process
- Update dependencies

* Release 1.0.27 - Pre-release process
- Static analysis fixes

Co-authored-by: Maximilian Fischer <45403027+maaeps@users.noreply.github.com>
Co-authored-by: Michal Baran <baranmichal25@gmail.com>
Co-authored-by: Maximilian Fischer <github@maaeps.de>
Co-authored-by: Phani Rithvij <phanirithvij2000@gmail.com>
Co-authored-by: Danaru <danaru@tuta.io>
Co-authored-by: Rodrigo de Souza Marques <rodrigosmarques@gmail.com>
Co-authored-by: vreamer <55081983+vreamer@users.noreply.github.com>
Co-authored-by: Dmytro Karpovych <ZAYEC77@gmail.com>
Co-authored-by: Nils Strelow <1096841+nstrelow@users.noreply.github.com>
Co-authored-by: hyperrecursive <matsko@hyprec.com>
fischerscode added a commit to fischerscode/Parse-SDK-Flutter that referenced this pull request Sep 5, 2020
* added subclass handler

* integraded subclass handler

* added constructor for QueryBuilder using registered SubClasses

* subclass handler optimizations

* Convenience changes

* Convenience change

* sembast CoreStore on macos

* Fix: ParseUser updated on server but not locally

This should be a fix for:
parse-community#364
and
parse-community#256

* Update README.md

* Update README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants